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 freeHistorical USD prices for a batch of tokens on one chain
Parameters
| name | in | type | description | |
|---|---|---|---|---|
chain_id | query | str | required | DeBank chain id (eth, bsc, arb, …) example: eth |
token_ids | query | str | required | Comma-separated token ids (≤100 per call) example: 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2 |
time_at | query | int | required | Unix 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"