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 freeCurrent TVL of one protocol as a bare number.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
name | path | str | required | Protocol 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"