GET/cached/tokens/chart/{chainName}/{address}/{protocol}/price
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/pancakeswap/cached/tokens/chart/{chainName}/{address}/{protocol}/priceCache cached 15s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeHistorical OHLC USD price candles for a single token on a protocol and chain.
Try this endpoint
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/pancakeswap/cached/tokens/chart/bsc/0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82/v3/price?period=1W"Parameters
| name | in | type | description | |
|---|---|---|---|---|
chainName | path | str | required | EVM network slug: bsc, ethereum, base, arbitrum, zksync, linea, opbnb, monad, or polygon-zkevm (common aliases such as eth, bnb, arb, or numeric chain IDs are accepted). example: bsc |
address | path | str | required | Token contract address. example: 0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82 |
protocol | path | str | required | Protocol slug: v2, v3, stable, infinityCl, or infinityBin. example: v3 |
period | query | str | optional | Lookback window: 1H, 1D, 1W, 1M, or 1Y. default: 1Wexample: 1W |
Response
type: array
pagination: none
sample: {
"bucket": "str",
"open": "str",
"close": "str",
"high": "str",
"low": "str"
}