# CoinGecko — Crypto Treasury Holdings by Coin ID

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.

Documentation: https://openany.si/coingecko/coingecko-crypto-treasury-holdings-by-coin-id/28a38c8a-0515-45dc-b923-49ad98b014e2/
API ID: 28a38c8a-0515-45dc-b923-49ad98b014e2
Provider: coingecko-extra
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/coingecko-extra/api/v3/{entity}/public_treasury/{coin_id}
Page update time: 2026-12-03T02:49:12.623Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0 / call
The published contract currently has no usage charge. Authentication and service limits still apply.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:49:11.864Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## 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.

## 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 |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "CoinGecko — Crypto Treasury Holdings by Coin ID request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {
        "entity": {
          "type": "string",
          "description": "Public company or government entity.",
          "enum": [
            "companies",
            "governments"
          ]
        },
        "coin_id": {
          "type": "string",
          "description": "Coin ID. \ne.g. `bitcoin`, `ethereum`, `solana`, `binancecoin`"
        }
      },
      "required": [
        "entity",
        "coin_id"
      ]
    },
    "query": {
      "type": "object",
      "properties": {
        "per_page": {
          "type": "integer",
          "description": "Total results per page. \nDefault value: 250 \nValid values: 1...250"
        },
        "page": {
          "type": "integer",
          "description": "Page through results. \nDefault value: 1"
        },
        "order": {
          "type": "string",
          "description": "Sort order for results. \nDefault: `total_holdings_usd_desc`",
          "enum": [
            "total_holdings_usd_desc",
            "total_holdings_usd_asc"
          ]
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "companies": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "country": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "percentage_of_total_supply": {
            "type": "number"
          },
          "symbol": {
            "type": "string"
          },
          "total_current_value_usd": {
            "type": "number"
          },
          "total_entry_value_usd": {
            "type": "number"
          },
          "total_holdings": {
            "type": "number"
          }
        }
      }
    },
    "market_cap_dominance": {
      "type": "number"
    },
    "total_holdings": {
      "type": "number"
    },
    "total_value_usd": {
      "type": "number"
    }
  }
}
```

## Request example
Scenario: Official example · Official response / contract 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'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "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
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Which entity categories are accepted?
The path entity accepts companies or governments. The response scope follows that selected category; the documented company fields should not be assumed for a government response.

### What pagination options are available?
Use page and per_page. The input description specifies 1–250 results per page, with defaults of page=1 and per_page=250.

### How do I change the sort direction?
Use total_holdings_usd_desc or total_holdings_usd_asc in order. The default is descending reported holdings value.

### Are total_holdings and total_value_usd interchangeable?
No. total_holdings is a coin quantity, while total_value_usd is a USD valuation. Entry values and current values also describe different measures.

### Which API key should I use?
Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

### Where can I check the current request price?
Check the pricing area for the selected implementation. Follow its billing unit and any request-dependent rules before sending the request.

## Available implementations
- coingecko-extra: https://openany.si/coingecko/coingecko-crypto-treasury-holdings-by-coin-id/28a38c8a-0515-45dc-b923-49ad98b014e2/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
