Skip to main content

Get bills details

Description

Retrieve the account’s bills.

HTTP Request

GET /v3/account/bills

Request Parameters

参数是否必填类型描述
sTimeStringStarting time of the history, Unix timestamp format in milliseconds. The default is the last 90 days
eTimeStringEnding time of the history, Unix timestamp format in milliseconds. The default is the last 90 days
fromStringIt is ID for the query starts at 0 by default.
limitStringPagination size defaults to 10, with a maximum limit of 100
directStringEnumerate: PREV, NEXT, The default is NEXT
typeStringFEEPNLMANUAL_MARGINTRANSFERTRIAL_INCOMECOUPONLIQ_PNLADL_PNLFUNDING_FEE

Response Parameters

参数类型描述
idString流水id
actTypeStringAccount Types, TRADINGTRIAL
symbolStringA trading pair, consisting of two currencies: base currency and quote currency
mgnModeStringMargin mode CROSSISOLATED
posSideStringHedge mode,LONG or SHORT. One way mode BOTH
ccyStringCurrency
szStringsize
cTimeStringOrder creation time with a UTC timestamp (MS)
typeStringFEEPNLMANUAL_MARGINTRANSFERTRIAL_INCOMECOUPONLIQ_PNLADL_PNLFUNDING_FEE

Response Example


{
"code": 200,
"msg": "",
"data": [
{
"id": "361206789003640832",
"actType": "TRADING",
"type": "TRANSFER",
"ccy": "USDT",
"cTime": "1727084809358",
"sz": "2",
"symbol": "",
"mgnMode": "",
"posSide": ""
},
{
"id": "361194777519423489",
"actType": "TRADING",
"type": "FEE",
"ccy": "USDT",
"cTime": "1727081945506",
"sz": "-0.0002",
"symbol": "COMBOTEST_USDT_PERP",
"mgnMode": "ISOLATED",
"posSide": "BOTH"
},
{
"id": "361194707487129601",
"actType": "TRADING",
"type": "PNL",
"ccy": "USDT",
"cTime": "1727081928905",
"sz": "-0.0052",
"symbol": "COMBOTEST_USDT_PERP",
"mgnMode": "CROSS",
"posSide": "BOTH"
}
]
}