CoinGecko — Crypto Treasury Holdings by Coin ID
Retrieve crypto Treasury Holdings by Coin ID with the CoinGecko API. Supply an entity and a coin ID. Sample fields include symbols. Request fields include page number (page). Use it for on-chain or crypto market research. The GET request schema also lists coin_id, per_page. Use the results for a crypto market dashboard, asset research, or comparison with a separate price feed.
- Selected price
- $0 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
CoinGecko — Crypto Treasury Holdings by Coin ID
Prepare your request, then continue with your agent.
Selected price
$0 / call
- Provider
- Pricing
On this page
Playground
Run sends a real API request. Charges follow the published API contract.
Response structure
companiesobject[]countrystringnamestringpercentage_of_total_supplynumbersymbolstringtotal_current_value_usdnumbertotal_entry_value_usdnumbertotal_holdingsnumber
market_cap_dominancenumbertotal_holdingsnumbertotal_value_usdnumber
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
companies?: Array<{
country?: string;
name?: string;
percentage_of_total_supply?: number;
symbol?: string;
total_current_value_usd?: number;
total_entry_value_usd?: number;
total_holdings?: number;
}>;
market_cap_dominance?: number;
total_holdings?: number;
total_value_usd?: number;
};Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
coingecko-extraCurrent CoinGecko — Crypto Treasury Holdings by Coin ID · GET · View API reference | $0 / call | — | —successP50— |
- Unit price
- $0
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 3. Price update time: not supplied.
Total $0
API
- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/coingecko-extra/api/v3/{entity}/public_treasury/{coin_id}- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api.openany.si/v1/agent-apis/coingecko-extra/api/v3/companies/public_treasury/bitcoin' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
entity | URL path parameterspath | string | Yes | Public company or government entity. enum: "companies", "governments" |
coin_id | URL path parameterspath | string | Yes | Coin ID. e.g. `bitcoin`, `ethereum`, `solana`, `binancecoin` |
per_page | URL query parametersquery | integer | No | Total results per page. Default value: 250 Valid values: 1...250 |
page | URL query parametersquery | integer | No | Page through results. Default value: 1 |
order | URL query parametersquery | string | No | Sort order for results.
Default: `total_holdings_usd_desc` enum: "total_holdings_usd_desc", "total_holdings_usd_asc" |
Required markers inside a nested object or variant apply when that object or variant is used.
Sample response
Sample response · Documented HTTP 200 Example from the provider's documentation. Field values in your results will differ.
{
"companies": [
{
"country": "US",
"name": "Strategy",
"percentage_of_total_supply": 4.018,
"symbol": "MSTR.US",
"total_current_value_usd": 64484706340.107254,
"total_entry_value_usd": 63870055699.0,
"total_holdings": 843738.0
},
{
"country": "US",
"name": "XXI",
"percentage_of_total_supply": 0.207,
"symbol": "XXI.US",
"total_current_value_usd": 3325662126.967645,
"total_entry_value_usd": 0.0,
"total_holdings": 43514.0
}
],
"market_cap_dominance": 6.06,
"total_holdings": 1272129.0267804659,
"total_value_usd": 97225044888.65527
}Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# CoinGecko — Crypto Treasury Holdings by Coin ID
Retrieve crypto Treasury Holdings by Coin ID with the CoinGecko API. Supply an entity and a coin ID. Sample fields include symbols. Request fields include page number (page). Use it for on-chain or crypto market research. The GET request schema also lists coin_id, per_page. Use the results for a crypto market dashboard, asset research, or comparison with a separate price feed.
## Available implementations
coingecko-extra · CoinGecko — Crypto Treasury Holdings by Coin ID: https://openany.si/markets/apis/capabilities/coingecko-crypto-treasury-holdings-by-coin-id?offering=28a38c8a-0515-45dc-b923-49ad98b014e2 · $0 / call
## Selected API contract
Documentation: https://openany.si/apis/28a38c8a-0515-45dc-b923-49ad98b014e2
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/coingecko-extra/api/v3/{entity}/public_treasury/{coin_id}
Price: $0 / call
Provider: coingecko-extra
Contract revision: 3
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```bash
curl \
'https://api.openany.si/v1/agent-apis/coingecko-extra/api/v3/companies/public_treasury/bitcoin' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'
```
## API contract
```json
{
"resource_type": "api",
"name": "CoinGecko — Crypto Treasury Holdings by Coin ID",
"endpoint": "https://api.openany.si/v1/agent-apis/coingecko-extra/api/v3/{entity}/public_treasury/{coin_id}",
"method": "GET",
"content_type": "none",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "Public company or government entity.",
"enum_values": [
"companies",
"governments"
],
"location": "path",
"name": "entity",
"nullable": false,
"required": true,
"type": "string"
},
{
"description": "Coin ID. \ne.g. `bitcoin`, `ethereum`, `solana`, `binancecoin`",
"location": "path",
"name": "coin_id",
"nullable": false,
"required": true,
"type": "string"
},
{
"description": "Total results per page. \nDefault value: 250 \nValid values: 1...250",
"location": "query",
"name": "per_page",
"nullable": false,
"required": false,
"type": "integer"
},
{
"description": "Page through results. \nDefault value: 1",
"location": "query",
"name": "page",
"nullable": false,
"required": false,
"type": "integer"
},
{
"description": "Sort order for results. \nDefault: `total_holdings_usd_desc`",
"enum_values": [
"total_holdings_usd_desc",
"total_holdings_usd_asc"
],
"location": "query",
"name": "order",
"nullable": false,
"required": false,
"type": "string"
}
],
"billing": {
"currency": "USD",
"mode": "fixed",
"priceMicroUsd": "0",
"rounding": null,
"unit": "call",
"unitQuantity": null
},
"examples": [
{
"http_status": 200,
"name": "Official example · Official response / contract request",
"request": {
"body": null,
"headers": {},
"path": {
"coin_id": "bitcoin",
"entity": "companies"
},
"query": {}
},
"response_body": {
"companies": [
{
"country": "US",
"name": "Strategy",
"percentage_of_total_supply": 4.018,
"symbol": "MSTR.US",
"total_current_value_usd": 64484706340.107254,
"total_entry_value_usd": 63870055699.0,
"total_holdings": 843738.0
},
{
"country": "US",
"name": "XXI",
"percentage_of_total_supply": 0.207,
"symbol": "XXI.US",
"total_current_value_usd": 3325662126.967645,
"total_entry_value_usd": 0.0,
"total_holdings": 43514.0
}
],
"market_cap_dominance": 6.06,
"total_holdings": 1272129.0267804659,
"total_value_usd": 97225044888.65527
}
}
]
}
```Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Official example · Official response / contract request
Example from the provider's documentation. Field values in your results will differ.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 5
Review these request fields before running. Keep the published provider and request method unchanged.
entity- Public company or government entity.
coin_id- Coin ID. e.g. `bitcoin`, `ethereum`, `solana`, `binancecoin`
per_page- Total results per page. Default value: 250 Valid values: 1...250
page- Page through results. Default value: 1
order- Sort order for results. Default: `total_holdings_usd_desc`
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/coingecko-extra/api/v3/companies/public_treasury/bitcoin' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Sample response · Documented HTTP 200
Sample response{ "companies": [ { "country": "US", "name": "Strategy", "percentage_of_total_supply": 4.018, "symbol": "MSTR.US", "total_current_value_usd": 64484706340.107254, "total_entry_value_usd": 63870055699.0, "total_holdings": 843738.0 }, { "country": "US", "name": "XXI", "percentage_of_total_supply": 0.207, "symbol": "XXI.US", "total_current_value_usd": 3325662126.967645, "total_entry_value_usd": 0.0, "total_holdings": 43514.0 } ], "market_cap_dominance": 6.06, "total_holdings": 1272129.0267804659, "total_value_usd": 97225044888.65527 }