Query User Trades Fills
Returns the authenticated user's trade history.
Time range constraints:
startTime+endTime: max 7 daysstartTimeonly: 7 days after startendTimeonly: 7 days before end- Neither: 7 days before current time
Request Parametersβ
| Name | Type | Required | Description |
|---|---|---|---|
| symbol | String | No | Market symbol. Optional β if omitted, returns trades across all symbols. |
| startTime | Long | No | Starting time in milliseconds |
| endTime | Long | No | Ending time in milliseconds |
| count | Integer | No | Number of records to return |
| clOrderID | String | No | Filter by custom order ID |
| orderID | String | No | Filter by order ID |
| isMatchSymbol | Boolean | No | If true, exact match on symbol only |
Response Contentβ
| Name | Type | Description |
|---|---|---|
| symbol | String | Market symbol |
| side | String | BUY or SELL |
| price | Double | Fill price |
| size | Double | Fill size |
| serialId | Long | Serial ID |
| timestamp | Long | Fill timestamp |
| orderId | String | Order ID |
| clOrderId | String | Custom order ID |
| feeAmount | Double | Fee charged |
| feeCurrency | String | Fee currency |
example
GET
https://api.zmo.com/spot/api/v3.3/user/trade_historyResponse
[]