Skip to main content

Get Sub-accounts Deposit and Withdrawal Records

Rate limit:5 req/sec/UID

Description

Only applicable for ND broker main-account.

It`s able to get ND sub-accounts deposit and withdrawal records within 90 days

HTTP Request

  • GET /api/v2/broker/all-sub-deposit-withdrawal
Request Example
curl "https://api.bitget.com/api/v2/broker/all-sub-deposit-withdrawal?startTime=1700561435000&endTime=1703153435933" \
-H "ACCESS-KEY:your apiKey" \
-H "ACCESS-SIGN:*" \
-H "ACCESS-PASSPHRASE:*" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:zh-CN" \
-H "Content-Type: application/json"

Request Parameters

ParameterTypeRequiredDescription
startTimeStringNoStart timestamp
Milliseconds format of timestamp Unix, e.g. 1597026383085
If both start time and end time are empty, the default query time range will be yesterday from 00:00 to 23:59 (UTC+0)
Start time and end time must either both be provided or both be empty
An error will be reported if the time range exceeds 7 days
endTimeStringNoEnd timestamp
Milliseconds format of timestamp Unix, e.g. 1597026383085
If both start time and end time are empty, the default query time range will be yesterday from 00:00 to 23:59 (UTC+0)
Start time and end time must either both be provided or both be empty
An error will be reported if the time range exceeds 7 days
limitStringNoNumber of data
Default: 100, maximum: 100
100 entries will be returned by default when limit is over 100
idLessThanStringNoSeparate page content, default value is 1
typeStringNoRecords type
all: Both of deposit and withdrawal records(default)
deposit: Deposit records
withdrawl: Withdrawal records
Response Example
{
"code": "00000",
"msg": "success",
"requestTime": 1689833233282,
"data": {
"list": [
{
"uid": "XXXXX",
"txId": "XXXXXXX",
"type": "deposit",
"subType": "onchain",
"coin": "USDT",
"amount": "10",
"status": "success",
"ts": "123123"
}],
"endId": "12345"
}
}

Response Parameters

ParameterTypeDescription
uidStringSub-account User ID
txIdStringDeposit or withdrawal txId
coinStringCoin name
typeStringDeposit or withdrawal type
deposit: Deposit records
withdrawl: Withdrawal records
subTypeStringDeposit or withdrawal sub-type
onchain: Deposit on chain or Normal withdrawal
internal: Internal transfer
fast: Fast deposit or withdrawal
amountStringDeposit or withdrawal amount
statusStringStatus
pending: Pending preliminary examination
fail: Failed
success: Success
tsStringDeposit or withdrawal update time, Unix ms
endIdStringUsed for paginating

How was your Reading Experience with us?