{"data":{"billing":{"currency":"USD","mode":"fixed","priceMicroUsd":"0","rounding":null,"unit":"call","unitQuantity":null},"capabilityId":"b2120622-03c5-42e1-a337-3593570cb9ff","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 chart data for a Unix range via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by CoinGecko, pass parameters such as from, to, vs_currency, and retrieve structured data including prices, market caps, and total volumes for bounded token charts, and data alignment, ready for production pipelines and AI agent automation.","descriptionTranslations":{"ar":"استرجع سلاسل أسعار الرمز وقيمته السوقية وحجمه التاريخية لفترة Unix عبر OpenAny REST، بتحديد الرمز بمعرف منصة أصل CoinGecko وعنوان العقد. استخدم النتائج المنظمة لبناء صفحات أبحاث الأصول أو لوحات المقارنة، مع الاحتفاظ بالمعرفات والوحدات وأوقات المشاهدة عند دمج البيانات، وراجع أمثلة الطلبات والخيارات المدعومة وتسعير التنفيذ المحدد في صفحة التفاصيل.","ja":"OpenAny REST で CoinGecko の資産プラットフォーム ID とコントラクトアドレスを指定し、Unix 時刻の期間に対応する価格、時価総額、出来高の履歴系列を取得できます。 構造化された結果を資産調査ページや比較画面に利用できます。データを結合する際は識別子、単位、観測時刻を保持し、詳細ページのリクエスト例、対応オプション、選択した実装の料金を確認してください。","zh":"通过 OpenAny REST 使用 CoinGecko 资产平台 ID 与合约地址标识代币，获取指定 Unix 时间区间内的历史价格、市值及成交量序列。 可使用结构化结果构建资产研究页面或对比看板，合并数据时保留标识符、单位及观测时间；详情页提供请求示例、支持的选项及所选实现的价格。"},"effectContentHtml":"","executionMode":"sync","id":"cfefe3f2-2a4b-4eee-818b-6da1ec09f1aa","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":"Starting date in UNIX timestamp.","location":"query","name":"from","nullable":false,"required":true,"type":"integer"},{"description":"Ending date in UNIX timestamp.","location":"query","name":"to","nullable":false,"required":true,"type":"integer"},{"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 within Time Range by Token Address","nameTranslations":{"ar":"CoinGecko — بيانات الرسم البياني التاريخية للعملة ضمن نطاق زمني حسب عنوان الرمز المميز","ja":"CoinGecko — トークンアドレスによる期間指定のコイン履歴チャートデータ","zh":"CoinGecko — 按代币地址获取时间范围内的币种历史图表数据"},"overviewHtml":"\u003ch2\u003eCoinGecko Token Chart Range API\u003c/h2\u003e\n\u003cp\u003eSupply asset-platform id, contract_address, vs_currency and integer from/to Unix timestamps in seconds. The response contains millisecond timestamp-value arrays. This selected token-range contract exposes precision but does not expose interval.\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, from, to, 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 within Time Range 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\u003eBounded token charts\u003c/strong\u003e: Request a selected historical window for a token contract.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eData alignment\u003c/strong\u003e: Compare returned observations using their timestamp and currency context.\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/range \\\n  -H \u0026#34;Authorization: Bearer ${OPENANY_API_KEY}\u0026#34; \\\n  -H \u0026#39;Content-Type: application/json\u0026#39; \\\n  --data-urlencode from=1792972800 \\\n  --data-urlencode to=1793059200 \\\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/cfefe3f2-2a4b-4eee-818b-6da1ec09f1aa\"\u003ePublished CoinGecko Token Chart Range 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\u003eHow are the request and response time units different?\u003c/h3\u003e\n\u003cp\u003efrom and to use integer Unix seconds. Returned chart timestamps use milliseconds.\u003c/p\u003e\n\u003ch3\u003eCan I set interval=daily here?\u003c/h3\u003e\n\u003cp\u003eThis selected contract does not expose interval. Do not copy that parameter from the token lookback or coin range endpoint.\u003c/p\u003e\n\u003ch3\u003eCan I replace the platform ID with an on-chain network ID?\u003c/h3\u003e\n\u003cp\u003eUse the asset-platform ID required by this route. An on-chain network ID such as eth belongs to a different namespace.\u003c/p\u003e\n\u003ch3\u003eDoes precision limit the requested period?\u003c/h3\u003e\n\u003cp\u003eNo. It controls price decimal formatting. from and to define the period; inspect returned timestamps before aligning series.\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-within-time-range-by-token-address?offering=cfefe3f2-2a4b-4eee-818b-6da1ec09f1aa","providerId":"coingecko","publicPath":"/v1/agent-apis/coingecko/api/v3/coins/{id}/contract/{contract_address}/market_chart/range","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":{"from":1792972800,"to":1793059200,"vs_currency":"usd"}},"response_body":{"market_caps":[[1735689600000,43945617394.42927],[1735776000000,43740787028.36501]],"prices":[[1735689600000,1.000540738607754],[1735776000000,0.9995995563541714]],"total_volumes":[[1735689600000,6544488766.849924],[1735776000000,5447401746.320422]]}}],"seoDescription":"Get historical token chart data for a Unix range via REST or MCP powered by CoinGecko. Pay per call, no subscription. Get prices and market caps in JSON.","updatedAt":"2026-12-03T02:49:13.456Z","usageInstructionsHtml":""}}