GET/cached/pools/tvl-refs
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/pancakeswap/cached/pools/tvl-refsCache cached 10s, never served stale past that windowCost free · weight 0 · heavy rate classSource billing freeCompact cursor-paginated list of pool IDs and TVL USD reference values.
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/tvl-refs?chains=bsc&protocols=v3&orderBy=tvlUSD&pageSize=5"Parameters
| name | in | type | description | |
|---|---|---|---|---|
chains | query | str | optional | Chain slug filter. example: bsc |
protocols | query | str | optional | Protocol slug filter (v2, v3, stable, infinityCl, infinityBin). example: v3 |
orderBy | query | str | optional | Sort field (default tvlUSD). default: tvlUSDexample: tvlUSD |
pageSize | query | int | optional | Number of pool TVL references per page. default: 100example: 5 |
Response
type: object
data key: rows
cursor key: endCursor
pagination: cursor
sample: {
"startCursor": "str",
"endCursor": "str",
"hasNextPage": "bool",
"hasPrevPage": "bool",
"rows": "list[5]"
}