GET /v2/chart/{adapterType}/chain/{chain}

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

One chain's history for an adapter ([[unixTs, value]…]).

Parameters

nameintypedescription
adapterTypepathstr
dexs | fees | options | derivatives | aggregators | bridge-aggregators
requiredChart adapter (DefiLlama's volume/fee/TVL metric family). Every enum member returns the same shape.
example: dexs
chainpathstrrequiredChain name or hub alias (Ethereum, eth, 137, …) — mapped to DefiLlama's capitalized chain name
example: Ethereum

Response

type: array
pagination: none
sample: {
  "[0]": "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/v2/chart/dexs/chain/Ethereum"