# 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/market/apis/coingecko/coingecko-crypto-treasury-holdings-by-coin-id/?offering=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
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
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
}
```

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

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

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