Get Fills
HTTP request Get Fills
- POST /api/v2/trade/fills
Weight(IP): 5, Weight(UID): 5
Request parameters
| Parameter | Parameter type | Required? | Description | 
|---|---|---|---|
| symbol | String | Yes | Trading pair. For details, view: /products | 
| orderId | Long | No | Order ID | 
| after | Long | No | Start timestamp (in milliseconds) | 
| before | Long | No | End timestamp (in milliseconds) | 
| pageIndex | Integer | No | Page number, starting from 0 (Default: 0) | 
| pageSize | Integer | No | Page size, must be greater than 0 and less than or equal to 100 (Default: 10) | 
Request example
curl -X POST "https://api-spot.weex.com/api/v2/trade/fills" \
   -H "ACCESS-KEY:*******" \
   -H "ACCESS-SIGN:*******" \
   -H "ACCESS-PASSPHRASE:*****" \
   -H "ACCESS-TIMESTAMP:1659076670000" \
   -H "locale:zh-CN" \
   -H "Content-Type: application/json" \
   -d '{"symbol": "WXTUSDT_SPBL"}'
Response parameters
| Field Name | Type | Field Description | 
|---|---|---|
| accountId | String | Account ID | 
| symbol | String | Trading pair | 
| baseCoin | String | Base currency | 
| quoteCoin | String | Quote currency | 
| orderId | String | Order ID | 
| fillId | String | Trade ID | 
| orderType | String | Order type | 
| side | String | Order side | 
| fillPrice | String | Execution price | 
| fillQuantity | String | Executed quantity | 
| fillTotalAmount | String | Total filled amount | 
| fees | String | Fee | 
| cTime | String | Creation time | 
Response example
{
  "code": "00000",
  "msg": "success",
  "requestTime": 1743750228305,
  "data": {
    "fillsOrderResultList": [{
      "accountId": "590105411156181178",
      "symbol": "WXTUSDT_SPBL",
      "baseCoin": "WXT",
      "quoteCoin": "USDT",
      "orderId": "602929507946463674",
      "fillId": "602929507971629498",
      "orderType": "",
      "side": "buy",
      "fillPrice": "",
      "fillQuantity": "10",
      "fillTotalAmount": "0.10476",
      "fees": "0.01",
      "cTime": "1743749596589"
    }],
    "nextPage": false,
    "totals": 0
  }
}