Skip to main content

Get Sub Deposit Records (on-chain)

Query subaccount's deposit records by main UID's API key.

tip

endTime - startTime should be less than 30 days. Queries for the last 30 days worth of records by default.

HTTP Request

GET /v5/asset/deposit/query-sub-member-record

Request Parameters

ParameterRequiredTypeComments
idfalsestringInternal ID: Can be used to uniquely identify and filter the deposit. When combined with other parameters, this field takes the highest priority
txIDfalsestringTransaction ID: Please note that data generated before Jan 1, 2024 cannot be queried using txID
subMemberIdtruestringSub UID
coinfalsestringCoin, uppercase only
startTimefalseintegerThe start timestamp (ms) Note: the query logic is actually effective based on second level
endTimefalseintegerThe end timestamp (ms) Note: the query logic is actually effective based on second level
limitfalseintegerLimit for data size per page. [1, 50]. Default: 50
cursorfalsestringCursor. Use the nextPageCursor token from the response to retrieve the next page of the result set

Response Parameters

ParameterTypeComments
rowsarrayObject
> idstringUnique ID
> coinstringCoin
> chainstringChain
> amountstringAmount
> txIDstringTransaction ID
> statusintegerDeposit status
> toAddressstringDeposit target address
> tagstringTag of deposit target address
> depositFeestringDeposit fee
> successAtstringLast updated time
> confirmationsstringNumber of confirmation blocks
> txIndexstringTransaction sequence number
> blockHashstringHash number on the chain
> batchReleaseLimitstringThe deposit limit for this coin in this chain. "-1" means no limit
> depositTypestringThe deposit type. 0: normal deposit, 10: the deposit reaches daily deposit limit, 20: abnormal deposit
> fromAddressstringFrom address of deposit, only shown when the deposit comes from on-chain and from address is unique, otherwise gives ""
> taxStatusstringThis field is used for tax purposes by Bybit EU (Austria) users
  • 0: No reporting required
  • 1: Reporting pending
  • 2: Reporting completed
  • > taxDepositRecordsIdstringThis field is used for tax purposes by Bybit EU (Austria) users
    nextPageCursorstringRefer to the cursor request parameter

    Request Example

    GET /v5/asset/deposit/query-sub-member-record?coin=USDT&limit=1&subMemberId=592334 HTTP/1.1
    Host: api-testnet.bybit.com
    X-BAPI-SIGN: XXXXX
    X-BAPI-API-KEY: xxxxxxxxxxxxxxxxxx
    X-BAPI-TIMESTAMP: 1672192441294
    X-BAPI-RECV-WINDOW: 5000

    Response Example

    {
    "retCode": 0,
    "retMsg": "success",
    "result": {
    "rows": [],
    "nextPageCursor": ""
    },
    "retExtInfo": {},
    "time": 1672192441742
    }