GET/cached/protocol/{protocol}/{chainName}/stats

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

Protocol-level TVL, cumulative volume, 24h/48h/30d fees, and transaction totals for one protocol and EVM 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/v3/bsc/stats"

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

Response

type: object
pagination: none
sample: {
  "tvlUSD": "str",
  "totalVolumeUSD": "str",
  "totalProtocolFeeUSD": "str",
  "totalProtocolFeeUSD24h": "str",
  "totalProtocolFeeUSD48h": "str",
  "totalProtocolFeeUSD30d": "str",
  "totalTxCount": "int",
  "totalFeeUSD": "str"
}