cURL
curl --request GET \ --url https://api.tickdb.ai/v1/market/trades \ --header 'X-API-Key: <api-key>'
{ "code": 0, "message": "success", "data": [ { "id": "12345678", "price": "43150.00", "quantity": "0.025", "side": "buy", "timestamp": 1703123456789 } ] }
Get latest trade prints for a symbol.
/v1/market/trades
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/trades?symbol=700.HK&limit=5"
{ "code": 0, "message": "success", "data": { "symbol": "700.HK", "trades": [ { "id": "0", "price": "625.500", "quantity": "200", "side": "sell", "timestamp": 1768274130 }, { "id": "0", "price": "625.500", "quantity": "100", "side": "sell", "timestamp": 1768274133 }, { "id": "0", "price": "625.250", "quantity": "100", "side": "buy", "timestamp": 1768274137 }, { "id": "0", "price": "625.500", "quantity": "100", "side": "sell", "timestamp": 1768274138 }, { "id": "0", "price": "625.500", "quantity": "300", "side": "sell", "timestamp": 1768274140 } ] } }
Trading symbol
"BTCUSDT"
Number of trades (default 50, max 200)
1 <= x <= 200
100
Successful response
0
"success"
Show child attributes