GET /lite/charts/{name}

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/defillama/lite/charts/{name}Cache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

One chain's lightweight per-series charts.

Parameters

nameintypedescription
namepathstrrequiredChain name or hub alias (Ethereum, eth, 137, …) — mapped to DefiLlama's capitalized chain name
example: Ethereum

Response

type: object
data key: tvl
pagination: none
sample: {
  "tvl": "array[1989]",
  "staking": "array[1781]",
  "pool2": "array[1527]",
  "borrowed": "array[1712]",
  "doublecounted": "array[1930]",
  "liquidstaking": "array[1821]",
  "dcAndLsOverlap": "array[1805]",
  "vesting": "array[1276]",
  "OwnTokens": "array[?]"
}

Safe request

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/defillama/lite/charts/Ethereum"