Get Trades
Retrieve the account trade history within a time range, with pagination.
Endpoint
GET /v1/trades
Mainnet: GET https://api.orderly.org/v1/trades
Testnet: GET https://testnet-api.orderly.org/v1/trades
Rate limit: 10 requests per second. Returns the account's trade history for the requested range, limited to the latest 500 entries. This signed GET request has no body.
Authentication headers
orderly-timestamp — signed-request timestamp in milliseconds.
orderly-account-id — PangoPerps account ID.
orderly-key — public API key.
orderly-signature — request signature.
Query parameters
symbol
string
Restrict history to a market.
start_t
number
Start time, as a 13-digit millisecond timestamp.
end_t
number
End time, as a 13-digit millisecond timestamp.
page
number
Page to return; starts at 1.
size
number
Results per page; maximum 500.
Example request
Successful response
HTTP 200 returns metadata and rows for individual executions. A trade row can include the trade ID, market, fee and fee asset, side, order ID, execution price and quantity, execution time, maker flag, realized PnL, match ID, margin token/change/mode, and custom order-tag fee and fee-rate fields.
Last updated