Crypto Treasury Holdings Historical Chart Data by ID

Changed on

To query historical cryptocurrency holdings chart of public companies and governments by entity ID and coin ID

get/public_treasury/{entity_id}/{coin_id}/holding_chart

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_idstring required

Public company or government entity ID. *refers to /entities/list.

coin_idstring required

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

Query parameters

daysstring required

Data up to number of days ago. Valid values: 7, 14, 30, 90, 180, 365, 730, max

include_empty_intervalsboolean

Include empty intervals with no transaction data. Default: false

Response

Crypto treasury holdings historical chart data

Changes

    • breaking

      for the query request parameter include_empty_intervals, default value false was removed

    • info

      api tag Public Treasury removed

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      endpoint added