GET/cached/tokens/chart/{chainName}/{address}/{protocol}/price

Claude ↗ChatGPT ↗
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 free

Historical 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

nameintypedescription
chainNamepathstrrequiredEVM 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
addresspathstrrequiredToken contract address.
example: 0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82
protocolpathstrrequiredProtocol slug: v2, v3, stable, infinityCl, or infinityBin.
example: v3
periodquerystroptionalLookback window: 1H, 1D, 1W, 1M, or 1Y.
default: 1W
example: 1W

Response

type: array
pagination: none
sample: {
  "bucket": "str",
  "open": "str",
  "close": "str",
  "high": "str",
  "low": "str"
}