cURL
curl --request GET \ --url https://api.orderly.org/v1/order/{order_id}/trades \ --header 'orderly-account-id: <orderly-account-id>' \ --header 'orderly-key: <orderly-key>' \ --header 'orderly-signature: <orderly-signature>' \ --header 'orderly-timestamp: <orderly-timestamp>'
{ "success": true, "data": { "rows": [ { "id": 2, "symbol": "PERP_BTC_USDC", "fee": 0.0001, "fee_asset": "USDC", "side": "BUY", "order_id": 1, "executed_price": 123, "executed_quantity": 0.05, "executed_timestamp": 1567382401000, "is_maker": 1, "realized_pnl": 0, "match_id": "" } ] }, "timestamp": 1702989203989 }
Limit: 10 requests per 1 second
GET /v1/order/{order_id}/trades
Get specific trades of an order by order_id.
order_id
OK
true
Show child attributes
2
"PERP_BTC_USDC"
0.0001
fee. use Base as unit when BUY, use Quote as unit when SELL
"USDC"
"BUY"
1
123
0.05
1567382401000
0
""
1702989203989