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,
"timestamp": 1702989203989,
"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": ""
}
]
}
}
Limit: 10 requests per 1 second
GET /v1/order/{order_id}/trades
Get specific trades of an order by order_id
.
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,
"timestamp": 1702989203989,
"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": ""
}
]
}
}
OK
The response is of type object
.