GET /treasury/{protocol}
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/defillama/treasury/{protocol}Cache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeDetailed treasury holdings, token breakdown, and historical value for a single protocol.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
protocol | path | str | required | Protocol slug example: uniswap |
Response
type: object
data key: governanceID
pagination: none
sample: {
"id": "str",
"name": "str",
"url": "str",
"description": "str",
"logo": "str",
"gecko_id": "str",
"cmcId": "str",
"chains": "array[1]",
"twitter": "str",
"treasury": "str",
"governanceID": "array[3]",
"github": "array[1]",
"symbol": "str",
"address": "str",
"module": "str",
"category": "str",
"tvlCodePath": "str",
"chainTvls": "object",
"tvl": "array[0]",
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/treasury/uniswap"