v1
latestOpenAPI 3.0.32026-07-1482226.1 KBAccount Data
/account/trades
Retrieves the user's trade history.
get/api/v1/account/trades
Query parameters
symbolstring
Market address to filter trades by. If not specified, returns trades for all markets.
startTimeAtMillisinteger
Start time in milliseconds. Defaults to 7 days ago if not specified.
endTimeAtMillisinteger
End time in milliseconds. Defaults to now if not specified. Must be greater than start time and must be less than 7 days apart.
limitinteger
Default 500; max 1000.
tradeType'ORDER' | 'LIQUIDATION' | 'DELEVERAGE' | 'UNSPECIFIED'
Type of trade.
Type of trade. By default returns all. UNSPECIFIED returns all.
pageinteger
The page number to retrieve in a paginated response.
Response
Successful response with trade details.
Example response
[
{
"clientOrderId": "25851813",
"priceE9": "7819010000000",
"quantityE9": "20000000000",
"quoteQuantityE9": "150000000000000",
"realizedPnlE9": "-9000000000",
"tradingFeeE9": "-780000000",
"tradingFeeAsset": "USDC, BLUE",
"gasFeeE9": "1234",
"gasFeeAsset": "USDC",
"executedAtMillis": 1569514978020
}
]