GET /portfolio/all_token_list

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/debank/portfolio/all_token_listCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

Token balances across all (or selected) chains in one call

Parameters

nameintypedescription
user_idquerystrrequiredUser address
example: 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045
chain_idsquerystroptionalComma-separated DeBank chain ids; omit for all chains
example: eth,bsc

Response

type: object
data key: tokens
pagination: none
sample: {
  "tokens": "array[1334]"
}

Safe request

Reads the credential from API_HUB_KEY; it never appears in the URL.

curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/debank/portfolio/all_token_list?user_id=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045&chain_ids=eth%2Cbsc"