GET /v2/chart/{adapterType}/protocol/{p}
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/defillama/v2/chart/{adapterType}/protocol/{p}Cache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeOne protocol's volume/fee/etc. history for an adapter ([[unixTs, value]…]).
Parameters
| name | in | type | description | |
|---|---|---|---|---|
adapterType | path | strdexs | fees | options | derivatives | aggregators | bridge-aggregators | required | Chart adapter (DefiLlama's volume/fee/TVL metric family). Every enum member returns the same shape. example: dexs |
p | path | str | required | Protocol slug for DEX volume summaries (e.g. uniswap, curve-dex) example: uniswap |
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/protocol/uniswap"