cURL
curl --request GET \ --url https://api.tickdb.ai/v1/market/depth \ --header 'X-API-Key: <api-key>'
{ "code": 0, "message": "success", "data": { "symbol": "BTCUSDT", "timestamp": 1703123456789, "bids": [ [ "43100.00", "1.25" ] ], "asks": [ [ "43101.00", "0.85" ] ] } }
Get real-time order book bids and asks.
/v1/market/depth
BTCUSDT
ETHUSDT
ADAUSDT
AAPL.US
TSLA.US
MSFT.US
700.HK
9988.HK
3690.HK
curl -H "X-API-Key: YOUR_API_KEY" \ "https://api.tickdb.ai/v1/market/depth?symbol=700.HK&limit=10"
{ "code": 0, "message": "success", "data": { "symbol": "700.HK", "timestamp": 1768274016162, "bids": [ [ "626", "19700" ], [ "625.5", "40800" ], [ "625", "58200" ], [ "624.5", "23600" ], [ "624", "31300" ], [ "623.5", "37500" ], [ "623", "47200" ], [ "622.5", "17000" ], [ "622", "12700" ], [ "621.5", "5600" ] ], "asks": [ [ "626.5", "36100" ], [ "627", "50700" ], [ "627.5", "49100" ], [ "628", "54000" ], [ "628.5", "37500" ], [ "629", "37100" ], [ "629.5", "43600" ], [ "630", "78900" ], [ "630.5", "53500" ], [ "631", "37700" ] ] } }
Trading symbol
"BTCUSDT"
Depth levels (default 10, max 50)
1 <= x <= 50
20
Successful response
0
"success"
Show child attributes