Request parameters
| Name | Type | Required | Description |
|---|---|---|---|
| symbol query | string | Optional | Trading pair, e.g. BTCUSDT |
| startTime query | string | Optional | Query start time (only data from the last 90 days can be returned. When accessing a managed sub-account, startTime cannot be earlier than the binding start time.) |
| endTime query | string | Optional | Query end time (the range between trigTime and endTime cannot exceed 90 days) |
| idLessThan query | string | Optional | Last orderId of the previous page, for pagination |
| limit query | string | Optional | Number of records, default 100, max 100 |
| orderId query | string | Optional | Order ID |
Response fields
| Field | Type | Description |
|---|---|---|
| userId | string | Account ID |
| symbol | string | Trading pair |
| orderId | string | Order ID |
| clientOid | string | Client order ID |
| price | string | Order price |
| size | string | Order size (base coin when orderType = limit; quote coin when orderType = market) |
| orderType | string | Order type (see enumeration values: Order type) |
| side | string | Trade side (see enumeration values: Trade side) |
| status | string | Order status (see enumeration values: order status) |
| priceAvg | string | Fill price |
| baseVolume | string | Filled quantity |
| quoteVolume | string | Total filled value |
| feeDetail | string | Fee details |
| cTime | string | Creation time (Unix timestamp in milliseconds) |
| uTime | string | Update time (Unix timestamp in milliseconds) |
Response example
{ "code": "00000", "msg": "success", "requestTime": 1764678133854, "data": [ { "userId": "1047900687810", "symbol": "BTCUSDT", "orderId": "1379717885420699648", "clientOid": "osl-global-eth-usdtXMRX3ea35dac901112", "price": "0", "size": "10000.0000000000000000", "orderType": "market", "side": "buy", "status": "filled", "priceAvg": "115112.4727078081292952", "baseVolume": "0.0868710000000000", "quoteVolume": "9999.9356166000000000", "feeDetail": "{\"BTC\":{\"deduction\":false,\"feeCoinCode\":\"BTC\",\"totalDeductionFee\":0,\"totalFee\":-0.000121619400,\"totalTaxFee\":-0.00018243}}", "cTime": "1764676298480", "uTime": "1764676298556" } ]}