CoinGecko Crypto Treasury Holdings API
Get reported crypto treasury holdings by coin via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Coingecko-extra, configure supported query parameters and filters, and retrieve structured data including aggregate reported coin holdings and name for treasury research, and holdings comparisons, ready for production pipelines and AI agent automation.
- Selected price
- $0 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- 0Selected implementation · last 30 days
- Success rate · 30d
- —No requests in this period
CoinGecko Crypto Treasury Holdings API
Prepare your request, then continue with your agent.
Selected price
$0 / call
- Provider
- API
- Pricing
On this page
Overview
CoinGecko Crypto Treasury Holdings API
Set entity to companies or governments and provide coin_id in the path. Use page, per_page and order for result navigation. The company reference contains entity holdings and valuation fields alongside aggregate reported totals; keep asset quantities and USD values separate.
Quick Facts
| Fact | Value |
|---|---|
| Access | OpenAny REST |
| Authentication | OpenAny API key in the Authorization header |
| Core inputs | path: entity, coin_id; query: per_page, page, order |
| Selected implementation | coingecko-extra · CoinGecko — Crypto Treasury Holdings by Coin ID |
| Billing | See the pricing area for the selected implementation and request options |
What You Can Build
- Treasury research: Show reported holders for one coin and selected entity category.
- Holdings comparisons: Compare coin quantities and USD valuations without mixing the units.
Documented Response Fields
| Field | Meaning |
|---|---|
total_holdings |
Aggregate reported coin holdings |
total_value_usd |
Aggregate reported value in USD |
companies[].name |
Company name in a company-category response |
companies[].total_holdings |
Reported coin quantity held by the company |
companies[].total_current_value_usd |
Reported current holdings value in USD |
companies[].total_entry_value_usd |
Reported entry value in USD |
Quick Start
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the selected implementation and pricing, then adapt the request below to your target.
- Check the HTTP response and business result before reading optional fields.
curl --request GET --get \
https://api.openany.si/v1/agent-apis/coingecko-extra/api/v3/companies/public_treasury/bitcoin \
-H "Authorization: Bearer ${OPENANY_API_KEY}" \
-H 'Content-Type: application/json'
Request and Response Examples
The response is an official documentation reference that can include historical values and optional sections. The calling template is independent; set the documented inclusion flags as needed and match returned resource identifiers to your target.
Published CoinGecko Crypto Treasury Holdings API implementation contract.
Pricing and Billing
The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.
Frequently Asked Questions
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
coingecko-extraCurrent CoinGecko — Crypto Treasury Holdings by Coin ID · GET · View API reference | $0 / call | 0 | —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: 4. 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
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.
Response structure
companiesobject[]countrystringnamestringpercentage_of_total_supplynumbersymbolstringtotal_current_value_usdnumbertotal_entry_value_usdnumbertotal_holdingsnumber
market_cap_dominancenumbertotal_holdingsnumbertotal_value_usdnumber
Agent integration
Copy the resource contract without sharing an API key.
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 }