GET/cached/protocol/chart/{protocol}/{chainName}/volume

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

Historical protocol trading volume time series in USD for one 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/protocol/chart/v3/bsc/volume?groupBy=1D"

Parameters

nameintypedescription
protocolpathstrrequiredProtocol slug: v2, v3, stable, infinityCl, or infinityBin.
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
groupByquerystroptionalTime bucket grouping (e.g. 1D).
default: 1D
example: 1D

Response

type: array
pagination: none
sample: {
  "bucket": "str",
  "volumeUSD": "str"
}