GET /yields/chart/{pool}

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

APY/TVL history of one yield pool (pool id from /yields/pools).

Parameters

nameintypedescription
poolpathstrrequiredYield pool id from /yields/pools — uuid or `address-chain` form (e.g. 747c1d2a-c668-4682-b9f9-296708a3dd90)
example: 747c1d2a-c668-4682-b9f9-296708a3dd90

Response

type: object
data key: data
pagination: none
sample: {
  "status": "str",
  "data": "array[1545]"
}

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/yields/chart/747c1d2a-c668-4682-b9f9-296708a3dd90"