Get Level2 Order Book

get/api/prime/trading/v1/accounts/{accountId}/products/{product}/level2

Gets a snapshot of the order book for product

Path Parameters

  • accountIdstringRequired
    The ID of the account
  • productstringRequired
    The name of the product

200 Response

time string <date-time>required
The timestamp when the order book snapshot was generated
Example: 2025-11-27T18:48:51.383577451Z
product string required
Product name
Example: BTC-USD
bids array[string] required
An array of bid price levels. Each level is an array in the format [price, size], ordered from highest price to lowest price. `price' is the bid price in the quote currency and 'size' is the quantity of the base asset at that price level.
asks array[string] required
An array of ask price levels. Each level is an array in the format [price, size], ordered from lowest price to highest price. `price' is the ask price in the quote currency and 'size' is the quantity of the base asset at that price level.

default Response

error string required
errorName string required
reqId string required