Tax Records
Tax Records
Get Unified Account Tax Records
Rate limit: 1/sec/UID
Data query range: 366 days
Access requirements: Please use the tax API Key to request. Creation Portal.
Request Parameters
bizTypeProduct type
SPOT Spot trading
MARGIN Margin trading
USDT-FUTURES USDT futures
COIN-FUTURES Coin-M futures
USDC-FUTURES USDC futures
OTHER Other
startTimeStart timestamp
A Unix timestamp in milliseconds e.g.,1597026383085
endTimeEnd timestamp
A Unix timestamp in milliseconds e.g.,1597026383185
The time range between startTime and endTime must not exceed 7 days
marginTypeMargin Type
isolated isolated margin
crossed cross margin
This field is effective when category=MARGIN.
If not specified, the default is crossed (cross margin).
coinCoin name If not specified, tax records for all coins will be returned.
limitLimit per page
Default: 500. Maximum: 500
cursorCursor ID
Used for pagination. Do not include it for the first query.
When querying the second page and subsequent data, use the id returned from the previous query. The interface will then return the data for the next page.
Get Unified Account Tax Records › Response Parameters
Successful response
codemsgrequestTimeidTax record id
coinCoin name
typeTax Type Refer to the Enumeration page for detailed types.
amountAmount
The unit is coin
feeFee
The unit is coin
balanceBalance
The unit is coin
tsThe timestamp that system generated the data A Unix millisecond timestamp.
