{"data":{"billing":{"currency":"USD","mode":"fixed","priceMicroUsd":"0","rounding":null,"unit":"call","unitQuantity":null},"capabilityId":"9005e153-c250-4ed5-ac74-6da003bd270f","catalogType":"api","categories":["crypto-defi"],"dataPlatform":"coingecko","dataPlatformLogoUrl":"https://docs.coingecko.com/mintlify-assets/_mintlify/favicons/coingecko/cEsEN1BHYMTujBc-/_generated/favicon/android-chrome-192x192.png","dataPlatformTranslations":{"ar":"CoinGecko","ja":"CoinGecko","zh":"CoinGecko"},"dataProduct":"crypto-treasuries","description":"Get CoinGecko treasury holdings history by entity and coin via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by CoinGecko, pass parameters such as days, and retrieve structured data including holdings and holding value in usd for holdings history charts, and entity research, ready for production pipelines and AI agent automation.","descriptionTranslations":{"ar":"استرجع الحيازات التاريخية لخزينة العملات المشفرة عبر OpenAny REST بمعرف الجهة والعملة وفترة الرجوع، مع سلاسل منفصلة للكميات وقيمتها بالدولار لرسوم البحث. استخدم النتائج المنظمة لبناء صفحات أبحاث الأصول أو لوحات المقارنة، مع الاحتفاظ بالمعرفات والوحدات وأوقات المشاهدة عند دمج البيانات، وراجع أمثلة الطلبات والخيارات المدعومة وتسعير التنفيذ المحدد في صفحة التفاصيل.","ja":"OpenAny REST に主体 ID、コイン ID、遡及期間を指定し、暗号資産保有量の履歴を数量と USD 評価額の別系列で取得できます。 構造化された結果を資産調査ページや比較画面に利用できます。データを結合する際は識別子、単位、観測時刻を保持し、詳細ページのリクエスト例、対応オプション、選択した実装の料金を確認してください。","zh":"通过 OpenAny REST 指定主体 ID、币种 ID 与回溯周期，获取加密资产金库持仓历史，以独立的数量及美元价值序列构建研究图表。 可使用结构化结果构建资产研究页面或对比看板，合并数据时保留标识符、单位及观测时间；详情页提供请求示例、支持的选项及所选实现的价格。"},"effectContentHtml":"","executionMode":"sync","id":"a1610196-f66f-4335-81f9-25165bce5d2a","includedContentHtml":"","inputs":[{"description":"Public company or government entity ID. \n*refers to [`/entities/list`](/reference/entities-list).","location":"path","name":"entity_id","nullable":false,"required":true,"type":"string"},{"description":"Coin ID. \ne.g. `bitcoin`, `ethereum`, `solana`, `binancecoin`","location":"path","name":"coin_id","nullable":false,"required":true,"type":"string"},{"description":"Data up to number of days ago. \nValid values: `7`, `14`, `30`, `90`, `180`, `365`","location":"query","name":"days","nullable":false,"required":true,"type":"string"},{"description":"Include empty intervals with no transaction data. \nDefault: `false`","location":"query","name":"include_empty_intervals","nullable":false,"required":false,"type":"boolean"}],"logoUrl":"https://docs.coingecko.com/mintlify-assets/_mintlify/favicons/coingecko/cEsEN1BHYMTujBc-/_generated/favicon/android-chrome-192x192.png","method":"GET","name":"CoinGecko — Crypto Treasury Holdings Historical Chart Data by ID","nameTranslations":{"ar":"CoinGecko — بيانات الرسم البياني التاريخي لحيازات العملات المشفرة حسب المعرف","ja":"CoinGecko — ID 別暗号資産保有高履歴チャートデータ","zh":"CoinGecko — 按 ID 查询加密资产持仓历史图表数据"},"overviewHtml":"\u003ch2\u003eCoinGecko Treasury Holdings Chart API\u003c/h2\u003e\n\u003cp\u003eSupply entity_id, coin_id and days. holdings and holding_value_in_usd are separate timestamp-value arrays using Unix milliseconds. include_empty_intervals controls inclusion of intervals without transaction data and defaults to false.\u003c/p\u003e\n\u003ch2\u003eQuick Facts\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eFact\u003c/th\u003e\n\u003cth\u003eValue\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eAccess\u003c/td\u003e\n\u003ctd\u003eOpenAny REST\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAuthentication\u003c/td\u003e\n\u003ctd\u003eOpenAny API key in the Authorization header\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCore inputs\u003c/td\u003e\n\u003ctd\u003epath: entity_id, coin_id; query: days, include_empty_intervals\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003ecoingecko · CoinGecko — Crypto Treasury Holdings Historical Chart Data by ID\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eBilling\u003c/td\u003e\n\u003ctd\u003eSee the pricing area for the selected implementation and request options\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eWhat You Can Build\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cstrong\u003eHoldings history charts\u003c/strong\u003e: Plot quantity separately from USD valuation.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eEntity research\u003c/strong\u003e: Inspect a selected entity and coin over the documented lookback.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eDocumented Response Fields\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eField\u003c/th\u003e\n\u003cth\u003eMeaning\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eholdings[]\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003ePair of millisecond timestamp and reported coin quantity\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eholding_value_in_usd[]\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003ePair of millisecond timestamp and reported holding value in USD\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eQuick Start\u003c/h2\u003e\n\u003col\u003e\n\u003cli\u003eSet OPENANY_API_KEY to your OpenAny API key.\u003c/li\u003e\n\u003cli\u003eReview the selected implementation and pricing, then adapt the request below to your target.\u003c/li\u003e\n\u003cli\u003eCheck the HTTP response and business result before reading optional fields.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cpre\u003e\u003ccode class=\"language-bash\"\u003ecurl --request GET --get \\\n  https://api.openany.si/v1/agent-apis/coingecko/api/v3/public_treasury/strategy/bitcoin/holding_chart \\\n  -H \u0026#34;Authorization: Bearer ${OPENANY_API_KEY}\u0026#34; \\\n  -H \u0026#39;Content-Type: application/json\u0026#39; \\\n  --data-urlencode days=365\n\u003c/code\u003e\u003c/pre\u003e\n\u003ch2\u003eRequest and Response Examples\u003c/h2\u003e\n\u003cp\u003eThe response is an official documentation reference that may contain historical values or optional sections. The calling template is independent; match returned resource identifiers, timestamps and requested options before using the data.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://openany.si/api/v1/agent-apis/a1610196-f66f-4335-81f9-25165bce5d2a\"\u003ePublished CoinGecko Treasury Holdings Chart API implementation contract\u003c/a\u003e.\u003c/p\u003e\n\u003ch2\u003ePricing and Billing\u003c/h2\u003e\n\u003cp\u003eThe pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service\u0026#39;s public availability does not determine OpenAny billing.\u003c/p\u003e\n\u003ch2\u003eFrequently Asked Questions\u003c/h2\u003e\n\u003ch3\u003eWhich days values are documented?\u003c/h3\u003e\n\u003cp\u003eUse the strings 7, 14, 30, 90, 180 or 365. This selected contract does not document max or a custom from/to range.\u003c/p\u003e\n\u003ch3\u003eAre holdings and holding_value_in_usd interchangeable?\u003c/h3\u003e\n\u003cp\u003eNo. One is a coin quantity and the other a USD valuation. Keep both series’ timestamps and units.\u003c/p\u003e\n\u003ch3\u003eCan I request intervals without a transaction?\u003c/h3\u003e\n\u003cp\u003eSet include_empty_intervals=true. The default is false, so missing intervals should not be treated as a zero holding.\u003c/p\u003e\n\u003ch3\u003eCan one call return all coins held by an entity?\u003c/h3\u003e\n\u003cp\u003eThis chart route requires one coin_id. Use Entity Treasury Holdings for the entity’s reported holdings list.\u003c/p\u003e\n\u003ch3\u003eWhich API key should I use?\u003c/h3\u003e\n\u003cp\u003eUse your OpenAny API key as Bearer authentication on the documented OpenAny route.\u003c/p\u003e\n\u003ch3\u003eWhere can I check the current request price?\u003c/h3\u003e\n\u003cp\u003eCheck the pricing area for the selected implementation. Follow its billing unit and any request-dependent rules before sending the request.\u003c/p\u003e\n\u003ch2\u003eRelated APIs\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/coingecko/coingecko-nfts-list\"\u003eCoinGecko — NFTs List\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/coingecko/coingecko-token-price-by-token-addresses\"\u003eCoinGecko — Token Price by Token Addresses\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/coingecko/coingecko-specific-pool-data-by-pool-address\"\u003eCoinGecko — Specific Pool Data by Pool Address\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/coingecko/coingecko-crypto-treasury-holdings-historical-chart-data-by-id?offering=a1610196-f66f-4335-81f9-25165bce5d2a","providerId":"coingecko","publicPath":"/v1/agent-apis/coingecko/api/v3/public_treasury/{entity_id}/{coin_id}/holding_chart","requestContentType":"none","revision":4,"samples":[{"http_status":200,"name":"Official example · Official response / contract request","request":{"body":null,"headers":{},"path":{"coin_id":"bitcoin","entity_id":"strategy"},"query":{"days":"365"}},"response_body":{"holding_value_in_usd":[[1748736000000,60818730878.617355],[1749340800000,61506606585.45032]],"holdings":[[1748736000000,580955.0],[1749340800000,582000.0]]}}],"seoDescription":"Get CoinGecko treasury holdings history by entity via REST or MCP powered by CoinGecko. Pay per call, no subscription. Ideal for holdings history charts.","updatedAt":"2026-12-03T02:49:14.129Z","usageInstructionsHtml":""}}