Markets
Get orderbook depth
Returns global orderbook depth for a market symbol. The gateway serves a hot cache first and falls back to a snapshot table when the cache is cold.
GET
Get orderbook depth
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Returns global orderbook depth for a market symbol. The gateway serves a hot cache first and falls back to a snapshot table when the cache is cold.
curl --request GET \
--url https://api.quantdesk.app/api/v2/markets/orderbook/{market}{
"success": true,
"source": "cache",
"data": {
"bids": [
{
"price": 168.4,
"size": 125.5
}
],
"asks": [
{
"price": 168.4,
"size": 125.5
}
]
}
}Market symbol, e.g. SOL-PERP.
"SOL-PERP"
curl --request GET \
--url https://api.quantdesk.app/api/v2/markets/orderbook/{market}{
"success": true,
"source": "cache",
"data": {
"bids": [
{
"price": 168.4,
"size": 125.5
}
],
"asks": [
{
"price": 168.4,
"size": 125.5
}
]
}
}