GET /public_treasury/{entity_id}
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/coingecko/public_treasury/{entity_id}Cache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeDetailed crypto treasury holdings, valuation and mNAV metrics for one tracked entity.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
entity_id | path | str | required | Entity id (from /entities/list), e.g. strategy. default: strategyexample: strategy |
Response
type: object
data key: holdings
pagination: none
sample: {
"name": "str",
"id": "str",
"type": "str",
"symbol": "str",
"country": "str",
"figi": "str",
"website_url": "str",
"twitter_screen_name": "str",
"total_treasury_value_usd": "float",
"unrealized_pnl": "float",
"m_nav": "float",
"total_asset_value_per_share_usd": "float",
"holdings": "array[1]"
}
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/coingecko/public_treasury/strategy"