Skip to main content
Version: V3

Get Spot Account Bills (USER_DATA)

  • POST /api/v3/account/bills

Weight(IP): 5, Weight(UID): 5

Request parameters

ParameterTypeRequired?Description
coinIdIntegerNoFilter by asset ID.
bizTypeStringNoBusiness type filter (e.g. deposit, withdraw, trade_out).
afterLongNoReturn records created after this bill ID.
beforeLongNoReturn records created before this bill ID.
limitIntegerNoNumber 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:

FieldTypeDescription
billIdStringBill identifier.
coinIdIntegerAsset ID.
coinNameStringAsset symbol.
bizTypeStringBusiness type.
fillSizeStringFilled quantity (if applicable).
fillValueStringFilled value (if applicable).
deltaAmountStringAmount change.
afterAmountStringBalance after the change.
feesStringFees charged.
cTimeStringCreation 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"
}
]