Skip to Content
APIDeep AnalysisGet Account Transfer Amount Distribution

Get Account Transfer Amount Distribution

1. Overview & Typical Use

Returns a summarized analysis of fund inflows and outflows for a specified account, including transfer amounts (USD) and counts per associated address.

  • Typical use: fund flow analysis, associated account tracking, deposit/withdrawal channel statistics.
  • When not to use: to query a single transaction, use “Get Transaction Detail by Hash”; to query large transactions, use “Get Large Transactions”.

2. Endpoint & Authentication

GET /api/deep/account/transferAmount

For Base URL and authentication, see Common Network & Authentication.

This endpoint requires an API Key; calls without a Key return 401.

3. Request

ParameterTypeRequiredDefaultDescription
addressstringYesAccount address to query
directionintegerNo0Transfer direction: 0 all, 1 incoming, 2 outgoing
relatedTokenstringNoFilter by related token (Base58 address, or 0 for TRX, or TRC10 ID)
sortBystringNoamountInSort field: amountIn, amountOut, timesIn, timesOut
limitintegerNo100Number of results

4. Response

Top-level

FieldTypeRequiredDescriptionUnit/Precision
codeintegerRequiredStatus code; 0 means success
transfer_inobjectRequiredIncoming transfer summary
transfer_outobjectRequiredOutgoing transfer summary

transfer_in / transfer_out object

FieldTypeRequiredDescriptionUnit/Precision
totalintegerRequiredTotal number of associated addresses
amountTotalnumberRequiredTotal amountUSD
dataarrayRequiredAssociated address list
contractMapobjectOptionalAddress → whether it is a contract
contractInfoobjectOptionalContract label info

data[] element

FieldTypeRequiredDescriptionUnit/Precision
addressstringRequiredAssociated address
addressTagstringOptionalAddress label
amountInUsdnumberRequiredAmountUSD

5. Errors

For HTTP status codes, see Common Errors. Key points for this endpoint:

  • API Key Required: returns 401 if not provided.
  • address not provided: returns empty data without an error.
  • Empty result is not an error: no matches returns 200 + empty data as a normal response.
Last updated on: