---
title: "Get current orderbook in vertical format."
method: GET
path: "/orderBook/L2"
tags: ["OrderBook"]
---

# Get current orderbook in vertical format.

`GET /orderBook/L2`

## Query parameters

- `symbol` string, required
- `depth` integer

## Response `200`

Request was successful

- OrderBookL2[]
  - `symbol` string, required
  - `id` integer, required
  - `side` string, required
  - `size` integer
  - `price` number, double
  - `timestamp` string, date-time

## Other responses

- `400` — Parameter Error
- `401` — Unauthorized
- `403` — Access Denied
- `404` — Not Found

## Changes

- **2019-12-18** `fd2de3a82a03` — 1 info
  - added the non-success response with the status `403`
- **2018-05-30** `0c1c991454e3` — 1 info
  - removed the non-success response with the status `403`

[Change history](https://skmtc.dev/bitmex/apis/bitmex-api/changes/orderBook/L2/get.md)

---

[API](https://skmtc.dev/bitmex/apis/bitmex-api.md) · [All operations](https://skmtc.dev/bitmex/apis/bitmex-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/bitmex/bitmex-api/revisions/04c6a16ffd27/schema)
