Get Spot Account Bills (USER_DATA)
- POST
/api/v3/account/bills
Weight(IP): 5, Weight(UID): 5
Request parameters
| Parameter | Type | Required? | Description |
|---|---|---|---|
| coinId | Integer | No | Filter by asset ID. |
| bizType | String | No | Business type filter (e.g. deposit, withdraw, trade_out). |
| after | Long | No | Return records created after this bill ID. |
| before | Long | No | Return records created before this bill ID. |
| limit | Integer | No | Number of records to return (default 10, maximum 100). |
Request example
curl -X POST "https://api-spot.weex.com/api/v3/account/bills" \
-H "ACCESS-KEY:*******" \
-H "ACCESS-SIGN:*******" \
-H "ACCESS-PASSPHRASE:*****" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "Content-Type: application/json" \
-d '{
"bizType": "trade_out",
"limit": 50
}'
Response parameters
Each item in the response array contains:
| Field | Type | Description |
|---|---|---|
| billId | String | Bill identifier. |
| coinId | Integer | Asset ID. |
| coinName | String | Asset symbol. |
| bizType | String | Business type. |
| fillSize | String | Filled quantity (if applicable). |
| fillValue | String | Filled value (if applicable). |
| deltaAmount | String | Amount change. |
| afterAmount | String | Balance after the change. |
| fees | String | Fees charged. |
| cTime | String | Creation time (ms). |
Response example
[
{
"billId": "701234567890123456",
"coinId": 2,
"coinName": "USDT",
"bizType": "trade_out",
"fillSize": "0.005",
"fillValue": "0",
"deltaAmount": "-100.00000000",
"afterAmount": "900.00000000",
"fees": "0.10000000",
"cTime": "1764505800123"
}
]