OpenAny
Get API keyAPI Key
APICrypto & DeFi

coingecko logo
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
USE THIS API

CoinGecko Crypto Treasury Holdings API

Prepare your request, then continue with your agent.

Selected price

$0 / call

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
CoinGecko Crypto Treasury Holdings API

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

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the selected implementation and pricing, then adapt the request below to your target.
  3. Check the HTTP response and business result before reading optional fields.
bash
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

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
Public company or government entity.
Coin ID. e.g. `bitcoin`, `ethereum`, `solana`, `binancecoin`
Optional parameters (3)
Total results per page. Default value: 250 Valid values: 1...250
Page through results. Default value: 1
Sort order for results. Default: `total_holdings_usd_desc`

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
CoinGecko — Crypto Treasury Holdings by Coin ID · GET · View API reference$0 / call0
—successP50—
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · coingecko-extraUSD / call
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.

calls

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
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
entityURL path parameterspathstringYes

Public company or government entity.

enum: "companies", "governments"

coin_idURL path parameterspathstringYes

Coin ID. e.g. `bitcoin`, `ethereum`, `solana`, `binancecoin`

per_pageURL query parametersqueryintegerNo

Total results per page. Default value: 250 Valid values: 1...250

pageURL query parametersqueryintegerNo

Page through results. Default value: 1

orderURL query parametersquerystringNo

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

Inferred from examples
  • companiesobject[]
    • countrystring
    • namestring
    • percentage_of_total_supplynumber
    • symbolstring
    • total_current_value_usdnumber
    • total_entry_value_usdnumber
    • total_holdingsnumber
  • market_cap_dominancenumber
  • total_holdingsnumber
  • total_value_usdnumber

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect 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.

  1. 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 / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. 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 · cURL
    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'
  3. 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
    }

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.

Use CoinGecko Crypto Treasury Holdings API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.