GET/site/earn/header-stats

Claude ↗ChatGPT ↗
Auth X-Hub-Key from API_HUB_KEYExecute GET /run/pancakeswap/site/earn/header-statsCache cached 60s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

Total TVL and 24h volume broken down by V2, V3, Infinity, and StableSwap groups.

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/site/earn/header-stats"

Parameters

No parameters documented.

Response

type: object
data key: groups
pagination: none
sample: {
  "totalTvlUSD": "float",
  "groups": "list[3]",
  "sourceCount": "int",
  "failedSourceCount": "int",
  "updatedAt": "int"
}