GET/cached/protocol/chart/{protocol}/{chainName}/tvl
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/pancakeswap/cached/protocol/chart/{protocol}/{chainName}/tvlCache cached 30s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeHistorical protocol TVL 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/tvl?groupBy=1D"Parameters
| name | in | type | description | |
|---|---|---|---|---|
protocol | path | str | required | Protocol slug: v2, v3, stable, infinityCl, or infinityBin. example: v3 |
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 |
groupBy | query | str | optional | Time bucket grouping (e.g. 1D). default: 1Dexample: 1D |
Response
type: array
pagination: none
sample: {
"bucket": "str",
"tvlUSD": "str"
}