Crypto Treasury Holdings by Coin ID

Changed on

To query public companies' and governments' cryptocurrency holdings by coin ID

get/{entity}/public_treasury/{coin_id}

Request

  • Base URL
    https://pro-api.coingecko.com/api/v3
  • Auth
    • API key in header x-cg-pro-api-key
    • or API key in query parameter x_cg_pro_api_key

Path parameters

entity'companies' | 'governments' required

Public company or government entity.

coin_idstring required

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

Query parameters

per_pageinteger

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

pageinteger

Page through results. Default value: 1

order'total_holdings_usd_desc' | 'total_holdings_usd_asc'

Sort order for results. Default: total_holdings_usd_desc

Response

Public companies or governments crypto treasury holdings data

OR

Changes

    • breaking

      added subschema #1: CompanyTreasury subschema #2: GovernmentTreasury to the response body oneOf list for the response status

    • info

      removed subschema #1 subschema #2 from the response body oneOf list for the response status

    • breaking

      for the query request parameter order, default value total_holdings_usd_desc was removed

    • breaking

      for the query request parameter page, default value 1 was removed

    • breaking

      for the query request parameter per_page, default value 250 was removed

    • breaking

      added subschema #1 subschema #2 to the response body oneOf list for the response status

    • info

      api tag Public Treasury removed

    • info

      removed from the response body oneOf list for the response status