GET/cached/pools/chart/{protocol}/{chainName}/{address}/rate

Claude ↗ChatGPT ↗
Auth X-Hub-Key from API_HUB_KEYExecute GET /run/pancakeswap/cached/pools/chart/{protocol}/{chainName}/{address}/rateCache cached 15s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

Per-pool OHLCV price/rate candles (bucket, open, high, low, close) for v3, infinityCl, and infinityBin pools across 1H, 1D, 1W, 1M, and 1Y windows.

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/pools/chart/v3/bsc/0x4f31fa980a675570939b737ebdde0471a4be40eb/rate?period=1D"

Parameters

nameintypedescription
protocolpathstrrequiredConcentrated or bin protocol slug: v3, infinityCl, or infinityBin (v2 is not supported on this route).
example: v3
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
addresspathstrrequiredPool contract address (v3) or 32-byte pool ID (infinityCl/infinityBin).
example: 0x4f31fa980a675570939b737ebdde0471a4be40eb
periodquerystroptionalLookback window / granularity: 1H (5m), 1D (1h), 1W (6h), 1M (1d), or 1Y (1w).
default: 1D
example: 1D

Response

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