Orderbook
Retrieve amount of liquidity at each price level for a provided ticker.
Rate limits
2400 requests/min or 40 requests/sec per IP address. (weight = 1)
See more details in API Rate limits
Request
GET [GATEWAY_V2_ENDPOINT]/orderbook?ticker_id={ticker_id}&depth={depth}
Request Parameters
ticker_id
string
Yes
Identifier of a ticker with delimiter to separate base/target.
depth
number
Yes
Number of price levels to retrieve.
Response
Response Fields
ticker_id
string
No
Identifier of a ticker with delimiter to separate base/target.
bids
decimal[]
No
An array containing 2 elements. The offer price (first element) and quantity for each bid order (second element).
asks
decimal[]
No
An array containing 2 elements. The ask price (first element) and quantity for each ask order (second element).
timestamp
integer
No
Unix timestamp in milliseconds for when the last updated time occurred.
Last updated