GET /token/history_price_dict

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

Historical USD prices for a batch of tokens on one chain

Parameters

nameintypedescription
chain_idquerystrrequiredDeBank chain id (eth, bsc, arb, …)
example: eth
token_idsquerystrrequiredComma-separated token ids (≤100 per call)
example: 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
time_atqueryintrequiredUnix ts of the day to price at
example: 1787702400

Response

type: object
pagination: none
sample: {
  "price_dict": "object"
}

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/token/history_price_dict?chain_id=eth&token_ids=0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2&time_at=1787702400"