GET /tvl/{name}

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

Current TVL of one protocol as a bare number.

Parameters

nameintypedescription
namepathstrrequiredProtocol slug (lowercase, as in DefiLlama URLs), e.g. aave, lido, curve-dex
example: aave

Response

type: scalar
pagination: none
sample: {
  "value": "float"
}

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/tvl/aave"