{"data":{"billing":{"currency":"USD","mode":"fixed","priceMicroUsd":"0","rounding":null,"unit":"call","unitQuantity":null},"capabilityId":"7623aaa7-ba05-401f-969a-6073f55c7a00","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":"historical-charts","description":"Get historical token charts via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by CoinGecko, pass parameters such as days, vs_currency, and retrieve structured data including prices, market caps, and total volumes for token charts, and series comparisons, ready for production pipelines and AI agent automation using a single OpenAny API key.","descriptionTranslations":{"ar":"استرجع سلاسل سوق الرمز التاريخية عبر OpenAny REST بمعرف منصة أصل CoinGecko وعنوان العقد، مع عملة العرض وأيام الرجوع وخيارات الفترة أو دقة السعر المدعومة. استخدم النتائج المنظمة لبناء صفحات أبحاث الأصول أو لوحات المقارنة، مع الاحتفاظ بالمعرفات والوحدات وأوقات المشاهدة عند دمج البيانات، وراجع أمثلة الطلبات والخيارات المدعومة وتسعير التنفيذ المحدد في صفحة التفاصيل.","ja":"OpenAny REST に CoinGecko の資産プラットフォーム ID とコントラクトアドレスを渡し、表示通貨、遡及日数、対応する間隔や価格精度で履歴系列を取得できます。 構造化された結果を資産調査ページや比較画面に利用できます。データを結合する際は識別子、単位、観測時刻を保持し、詳細ページのリクエスト例、対応オプション、選択した実装の料金を確認してください。","zh":"通过 OpenAny REST 提供 CoinGecko 资产平台 ID 与合约地址，指定目标货币及回溯天数，获取代币历史市场序列，并可设置支持的间隔或价格精度。 可使用结构化结果构建资产研究页面或对比看板，合并数据时保留标识符、单位及观测时间；详情页提供请求示例、支持的选项及所选实现的价格。"},"effectContentHtml":"","executionMode":"sync","id":"898a44a2-60d6-4981-b5b1-8bb7aa904bae","includedContentHtml":"","inputs":[{"description":"Asset platform ID. \n*refers to [`/asset_platforms`](/reference/asset-platforms-list).","location":"path","name":"id","nullable":false,"required":true,"type":"string"},{"description":"The contract address of token.","location":"path","name":"contract_address","nullable":false,"required":true,"type":"string"},{"description":"Target currency of market data. \n*refers to [`/simple/supported_vs_currencies`](/reference/simple-supported-currencies).","location":"query","name":"vs_currency","nullable":false,"required":true,"type":"string"},{"description":"Data up to number of days ago. \nYou may use any integer or `max` for number of days.","location":"query","name":"days","nullable":false,"required":true,"type":"string"},{"description":"Data interval, leave empty for auto granularity.","enum_values":["daily","hourly"],"location":"query","name":"interval","nullable":false,"required":false,"type":"string"},{"description":"Decimal place for currency price value.","enum_values":["full","0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18"],"location":"query","name":"precision","nullable":false,"required":false,"type":"string"}],"logoUrl":"https://docs.coingecko.com/mintlify-assets/_mintlify/favicons/coingecko/cEsEN1BHYMTujBc-/_generated/favicon/android-chrome-192x192.png","method":"GET","name":"CoinGecko — Coin Historical Chart Data by Token Address","nameTranslations":{"ar":"CoinGecko — بيانات الرسم البياني التاريخية للعملة حسب عنوان الرمز المميز","ja":"CoinGecko — トークンアドレス別のコイン履歴チャートデータ","zh":"CoinGecko — 按代币地址获取代币历史图表数据"},"overviewHtml":"\u003ch2\u003eCoinGecko Token Market Chart API\u003c/h2\u003e\n\u003cp\u003eIn this contract-address route, id is an asset-platform ID. Supply contract_address, vs_currency and days to retrieve separate price, market-cap and volume series. Optional interval accepts daily or hourly; omitted interval uses automatic granularity.\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: id, contract_address; query: vs_currency, days, interval, precision\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003ecoingecko · CoinGecko — Coin Historical Chart Data by Token Address\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\u003eToken charts\u003c/strong\u003e: Build a historical chart from a known platform and token address.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eSeries comparisons\u003c/strong\u003e: Keep currency units and millisecond timestamps with each returned value.\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\u003eprices[]\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003ePair of millisecond timestamp and reported token price\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003emarket_caps[]\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003ePair of millisecond timestamp and reported market capitalization\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003etotal_volumes[]\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003ePair of millisecond timestamp and reported 24-hour volume\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/coins/ethereum/contract/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48/market_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=1 \\\n  --data-urlencode vs_currency=usd\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/898a44a2-60d6-4981-b5b1-8bb7aa904bae\"\u003ePublished CoinGecko Token Market 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\u003eShould I pass the coin ID as id?\u003c/h3\u003e\n\u003cp\u003eNo. Use the asset-platform ID, such as ethereum, together with the token contract address.\u003c/p\u003e\n\u003ch3\u003eWhich days values can I use?\u003c/h3\u003e\n\u003cp\u003eThe input description accepts an integer lookback or max, represented as a string. It does not define a universal available-history guarantee.\u003c/p\u003e\n\u003ch3\u003eCan I control granularity?\u003c/h3\u003e\n\u003cp\u003einterval accepts daily or hourly; omit it for automatic granularity. precision is a separate price-decimal option.\u003c/p\u003e\n\u003ch3\u003eDoes the response return OHLC candles?\u003c/h3\u003e\n\u003cp\u003eNo. It returns separate timestamp-value series for prices, market caps and 24-hour volumes.\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-coin-ohlc-chart-by-id\"\u003eCoinGecko — Coin OHLC Chart by ID\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/coingecko/coingecko-coin-tickers-by-id\"\u003eCoinGecko — Coin Tickers by ID\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/coingecko/coingecko-coins-list\"\u003eCoinGecko — Coins List\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/coingecko/coingecko-coin-historical-chart-data-by-token-address?offering=898a44a2-60d6-4981-b5b1-8bb7aa904bae","providerId":"coingecko","publicPath":"/v1/agent-apis/coingecko/api/v3/coins/{id}/contract/{contract_address}/market_chart","requestContentType":"none","revision":4,"samples":[{"http_status":200,"name":"Official example · Official response / contract request","request":{"body":null,"headers":{},"path":{"contract_address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48","id":"ethereum"},"query":{"days":"1","vs_currency":"usd"}},"response_body":{"market_caps":[[1779619498604,76419636272.78033],[1779619877081,76424065983.84229]],"prices":[[1779619498604,0.9997624087636037],[1779619877081,0.9997817655336941]],"total_volumes":[[1779619498604,9374311493.936354],[1779619877081,9390008044.485624]]}}],"seoDescription":"Get historical token charts via REST or MCP powered by CoinGecko. Pay per call, no subscription. Structured JSON output with one OpenAny API key.","updatedAt":"2026-12-03T02:49:12.517Z","usageInstructionsHtml":""}}