GET/cached/pools/tvl-refs

Claude ↗ChatGPT ↗
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 free

Compact 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

nameintypedescription
chainsquerystroptionalChain slug filter.
example: bsc
protocolsquerystroptionalProtocol slug filter (v2, v3, stable, infinityCl, infinityBin).
example: v3
orderByquerystroptionalSort field (default tvlUSD).
default: tvlUSD
example: tvlUSD
pageSizequeryintoptionalNumber of pool TVL references per page.
default: 100
example: 5

Response

type: object
data key: rows
cursor key: endCursor
pagination: cursor
sample: {
  "startCursor": "str",
  "endCursor": "str",
  "hasNextPage": "bool",
  "hasPrevPage": "bool",
  "rows": "list[5]"
}