GET /v2/chart/{adapterType}

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

Aggregate full-history chart for one metric 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

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"