Include all the localized languages in response.
Default: true
Response
200 - application/json
Coin historical data
id
string
required
Coin ID
symbol
string
required
Coin symbol
name
string
required
Coin name
image
object
required
Coin image URLs
Hide child attributes
image.thumb
string
Thumbnail image URL
image.small
string
Small image URL
market_data
object
required
Market data at the given date
Hide child attributes
market_data.current_price
object
Current price keyed by currency
Hide child attributes
market_data.current_price.{key}
number
market_data.market_cap
object
Market capitalization keyed by currency
Hide child attributes
market_data.market_cap.{key}
number
market_data.total_volume
object
Total trading volume keyed by currency
Hide child attributes
market_data.total_volume.{key}
number
public_interest_stats
object
required
Public interest statistics
Hide child attributes
public_interest_stats.alexa_rank
number | null
Alexa rank
public_interest_stats.bing_matches
number | null
Bing search matches
localization
object
Localized coin names keyed by locale code
Hide child attributes
localization.{key}
string
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Coingecko API","description":"Coingecko API delivers real-time and historical cryptocurrency data — including prices, OHLCV, market cap, trading volume, NFT, and onchain DeFi data — for coins, tokens, pools, and exchanges via REST API, WebSocket, and Webhooks, with SDK and MCP server support for AI agents.","colors":{"primary":"#4BCC00"},"logo":{"light":"https://mintcdn.com/coingecko/i9l2MT4etZGYjSx8/assets/logos/light.png?fit=max\u0026auto=format\u0026n=i9l2MT4etZGYjSx8\u0026q=85\u0026s=1f65227bee805b1106ace22fb56fdad7","dark":"https://mintcdn.com/coingecko/i9l2MT4etZGYjSx8/assets/logos/dark.png?fit=max\u0026auto=format\u0026n=i9l2MT4etZGYjSx8\u0026q=85\u0026s=f5bfd88b8b98c4f45b6a1738bd7d8e44"},"favicon":"https://mintcdn.com/coingecko/i9l2MT4etZGYjSx8/assets/favicon.svg?fit=max\u0026auto=format\u0026n=i9l2MT4etZGYjSx8\u0026q=85\u0026s=dc80beb3d4dd50aa5194426cf30fbf25","api":{"asyncapi":"websocket/asyncapi.json","params":{"expanded":"all"},"optional":"expanded","playground":{"proxy":false},"examples":{"languages":["bash"]}},"navbar":{"links":[{"href":"https://www.coingecko.com/en/api/contact","label":"Contact Sales"},{"href":"https://status.coingecko.com","label":"Status"}],"primary":{"type":"button","label":"Get Free API Key","href":"https://www.coingecko.com/en/api/pricing"}},"footer":{"socials":{"github":"https://github.com/coingecko","x":"https://x.com/coingecko","linkedin":"https://www.linkedin.com/company/coingecko"}},"fonts":{"family":"Inter"},"styling":{"eyebrows":"breadcrumbs","latex":false},"banner":{"content":"[🔥 Biggest Black Friday API Sale – Up to 36% Off](https://www.coingecko.com/black-friday-2026?product=api\u0026utm_source=coingecko_api_docs\u0026utm_campaign=bfcm26\u0026utm_content=announcement_banner)","dismissible":true,"color":{"light":"#19412D","dark":"#19412D"}},"contextual":{"options":["copy","view","claude","chatgpt","download-spec"],"display":"header"},"navigation":{"global":{"anchors":[{"anchor":"Coingecko API","icon":"https://mintlify.s3.us-west-1.amazonaws.com/coingecko/assets/logos/anchor.png","href":"https://www.coingecko.com/en/api"},{"anchor":"Enterprise","icon":"briefcase","href":"https://www.coingecko.com/en/api/enterprise"},{"anchor":"Case Studies","icon":"book-open-cover","href":"https://www.coingecko.com/en/api/case-studies"},{"anchor":"Newsletter","icon":"envelope","href":"https://newsletter.coingecko.com/landing/api_updates_subscribe"},{"anchor":"Feedback","icon":"message","href":"https://tally.so/r/kdQKeZ"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"coingecko","hasAudioNarration":false,"actualSubdomain":"coingecko","customDomains":["docs.coingecko.com"],"gitSource":{"type":"github","owner":"coingecko","repo":"docs-coingecko-api-mintlify","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b06871c02c17a8ee78b2f87","clientVersion":"0.0.4324","searchFilterCounts":[{"language":"default","tag":"Coingecko API","count":142},{"language":"default","tag":"Pro API Reference","count":132},{"language":"default","tag":"Demo API Reference","count":89},{"language":"default","tag":"Onchain API","count":75},{"language":"default","tag":"Overview","count":25},{"language":"default","tag":"Search \u0026 ID Map","count":20},{"language":"default","tag":"Coin Charts","count":17},{"language":"default","tag":"Pools","count":16},{"language":"default","tag":"Coins","count":15},{"language":"default","tag":"RWA","count":14}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":true,"enableContextualStarterQuestions":true,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"support@coingecko.com"}},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[{"_id":"6a72b87a0250a5342d4d376d","deploymentId":"6a2fd114dad4590845608f80","questionText":"Using the API, how do I get the latest price of a coin?","status":"active","generatedBy":"manual","createdAt":"2026-08-05T04:13:46.694Z","updatedAt":"2026-08-05T04:13:46.694Z","__v":0},{"_id":"6a72b85f0250a5342d4d3667","deploymentId":"6a2fd114dad4590845608f80","questionText":"Write code to get the price and market cap of the top 10 coins","status":"active","generatedBy":"manual","createdAt":"2026-08-05T04:13:19.853Z","updatedAt":"2026-08-05T04:13:19.853Z","__v":0},{"_id":"6a72b8540250a5342d4d35e1","deploymentId":"6a2fd114dad4590845608f80","questionText":"How do I authenticate my API requests?","status":"active","generatedBy":"manual","createdAt":"2026-08-05T04:13:08.383Z","updatedAt":"2026-08-05T04:13:08.383Z","__v":0}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"#navigation-items img{background:transparent!important}#navigation-items .mr-4.rounded-md.p-1.shadow-sm:has(img[alt*=\"anchor-logo.png\"]){filter:brightness(1)!important}html:is([data-current-path=\"/changelog\"],[data-current-path=\"/examples\"]) #sidebar{display:none!important}html:is([data-current-path=\"/changelog\"],[data-current-path=\"/examples\"]) #content-area{margin-left:0!important;margin-right:0!important}@media (min-width: 1024px){html:is([data-current-path=\"/changelog\"],[data-current-path=\"/examples\"]) #content-area{padding-left:2rem!important}}html[data-current-path=\"/changelog\"] [data-component-part=\"update-content\"]{font-size:1rem}[data-component-part=\"prompt-action-copy-button\"]{background-color:#bbf7d0!important;color:#15803d!important}[data-component-part=\"prompt-action-copy-button\"] svg[aria-label=\"Check\"]{color:#15803d!important}[data-component-part=\"prompt-action-copy-button\"]:hover{background-color:#86efac!important}html.dark [data-component-part=\"prompt-action-copy-button\"]{background-color:rgba(22, 163, 74, 0.3)!important;color:#86efac!important}html.dark [data-component-part=\"prompt-action-copy-button\"] svg[aria-label=\"Check\"]{color:#86efac!important}html.dark [data-component-part=\"prompt-action-copy-button\"]:hover{background-color:rgba(22, 163, 74, 0.4)!important}html[data-current-path=\"/changelog\"] [data-component-part=\"update-content\"] hr{margin-top:2rem;margin-bottom:4rem}"}]}
{"page":{"pagePath":"demo/reference/coins-id-history","slug":"/demo/reference/coins-id-history","pageMetadata":{"openapi":"openapi-specs/demo-api.json get /coins/{id}/history","sidebarTitle":"Coin Historical Data by ID","title":"Coin Historical Data by ID","description":"To query the historical data (price, market cap, 24hrs volume, etc.) at a given date for a coin based on a particular coin ID","href":"/demo/reference/coins-id-history"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"To query the historical data (price, market cap, 24hrs volume, etc.) at a given date for a coin based on a particular coin ID\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];const CacheInfo=({publicRate,paidRate,rate})=>{const{Callout}=_provideComponents()||{};if(!Callout)_missingMdxReference(`Callout`,true);const fmt=v=>v===0?`Real-time (Cacheless)`:`Every ${v}`;if(rate!==undefined){return _jsxs(Callout,{icon:`clock-rotate-left`,color:`#2196F3`,iconType:`regular`,children:[_jsx(`strong`,{children:`Cache / Update Frequency:`}),_jsx(`br`,{}),fmt(rate)]})}if(publicRate!==undefined\u0026\u0026paidRate!==undefined){return _jsxs(Callout,{icon:`clock-rotate-left`,color:`#2196F3`,iconType:`regular`,children:[_jsx(`strong`,{children:`Cache / Update Frequency:`}),_jsxs(`ul`,{children:[_jsxs(`li`,{children:[fmt(paidRate),` (Paid API)`]}),_jsxs(`li`,{children:[fmt(publicRate),` (Demo / Keyless API)`]})]})]})}return null};function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading,Note,Warning,_MdxComponentBoundary}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Warning)_missingMdxReference(`Warning`,true);if(!_MdxComponentBoundary)_missingMdxReference(`_MdxComponentBoundary`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`4`,id:`notes`,children:`Notes`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Find a coin’s API ID on its `,_jsx(_components.a,{href:`https://www.coingecko.com`,children:`Coingecko`}),` page, via `,_jsx(_components.a,{href:`/demo/reference/coins-list`,children:`Coins List`}),`, or this `,_jsx(_components.a,{href:`https://docs.google.com/spreadsheets/d/1wTTuxXt8n9q7C4NDXqQpI3wpKu1_5bGVmP9Xz0XGSyU/edit?usp=sharing`,children:`Google Sheet`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Data returned is a snapshot at `,_jsx(_components.code,{children:`00:00:00 UTC`}),` for the given date.`]}),`\n`,_jsx(_components.li,{children:`Values may be revised for up to 2 days after the date as later data settles.`}),`\n`]}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`The last completed UTC day (00:00) is available after 00:50 UTC the next day.`})}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`As of 28 August 2026, the `,_jsx(_components.code,{children:`community_data`}),` and `,_jsx(_components.code,{children:`developer_data`}),` objects are no longer returned. See the `,_jsx(_components.a,{href:`/changelog#upcoming-change-notice-removal-of-community_data-and-developer_data`,children:`changelog`}),` for details.`]})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Historical data via the Demo API is restricted to the past 365 days. Subscribe to `,_jsx(_components.a,{href:`https://www.coingecko.com/en/api/pricing`,children:`Analyst plan \u0026 above`}),` for the full range.`]})}),`\n`,_jsx(_MdxComponentBoundary,{name:`CacheInfo`,children:_jsx(CacheInfo,{rate:`30 minutes`})}),`\n`,_jsx(Heading,{level:`4`,id:`sdk-examples`,children:`SDK Examples`}),`\n`,_jsxs(_components.p,{children:[`New to the SDK? Install and authenticate the `,_jsx(_components.code,{children:`client`}),` first:`,_jsx(`br`,{}),`\n`,_jsx(_components.a,{href:`/docs/sdk-typescript`,children:`TypeScript`}),` | `,_jsx(_components.a,{href:`/docs/sdk-python`,children:`Python`})]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`TypeScript`,numberOfLines:`5`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` response`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` client`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`coins`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`history`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`get`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'bitcoin'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` date:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '2025-12-30'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:`JSON`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`stringify`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`response`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`));`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python`,numberOfLines:`6`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`response `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` client.coins.history.get(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"bitcoin\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` date`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2025-12-30\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(response.model_dump_json(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`indent`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`))`})]}),`\n`]})})})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{CacheInfo,default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"openapi":"openapi-specs/demo-api.json get /coins/{id}/history","sidebarTitle":"Coin Historical Data by ID","title":"Coin Historical Data by ID","description":"To query the historical data (price, market cap, 24hrs volume, etc.) at a given date for a coin based on a particular coin ID","href":"/demo/reference/coins-id-history"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[145,880,")=>null;function _cr"]]},"mdxExtracts":{"tableOfContents":[{"title":"Notes","slug":"notes","depth":4,"children":[]},{"title":"SDK Examples","slug":"sdk-examples","depth":4,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/coingecko/71f4be2d0d69b5d4/cookie-consent.js","/_mintlify/custom/coingecko/9eb214f6be439bb9/inkeep.js"],"openApiReferenceData":{"operation":{"summary":"Coin Historical Data by ID","description":"To query the historical data (price, market cap, 24hrs volume, etc.) at a given date for a coin based on a particular coin ID","operationId":"coins-id-history","x-mint":{"href":"/reference/coins-id-history"},"parameters":["11489de2-6d6c-47c2-85ff-0d7cbc0d2885","2e9bdf46-7ce1-45fe-8dc3-4e30089d389c","5bbe2657-c39a-4a2d-aca5-0866fb6ac73d"],"responses":{"200":"05170c99-64ec-4150-bd60-73d68079f6d2"},"method":"get","type":"path","servers":["14e741b4-1606-423a-a0b4-ffb6039c13be"],"security":["4b8c9753-9356-4d93-bf76-8e7a0740343c","805e559d-d5bc-48ed-b297-9d82c21655bd"],"path":"/coins/{id}/history","baseUrlOptions":["https://api.coingecko.com/api/v3"],"title":"Coin Historical Data by ID","codeSamples":[],"requestExampleLanguages":["bash"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","disableProxy":true},"dependencies":{"parameters":{"11489de2-6d6c-47c2-85ff-0d7cbc0d2885":{"name":"id","in":"path","required":true,"description":"Coin ID. \n*refers to [`/coins/list`](/reference/coins-list).","schema":{"type":"string","default":"bitcoin","isRequired":true,"description":"Coin ID. \n*refers to [`/coins/list`](/reference/coins-list).","uniqueKey":"","typeLabel":"string"}},"2e9bdf46-7ce1-45fe-8dc3-4e30089d389c":{"name":"date","in":"query","required":true,"description":"The date of data snapshot. \nFormat: `dd-mm-yyyy`","schema":{"type":"string","default":"30-12-2025","isRequired":true,"description":"The date of data snapshot. \nFormat: `dd-mm-yyyy`","uniqueKey":"","typeLabel":"string"}},"5bbe2657-c39a-4a2d-aca5-0866fb6ac73d":{"name":"localization","in":"query","required":false,"description":"Include all the localized languages in response. \nDefault: true","schema":{"type":"boolean","isRequired":false,"description":"Include all the localized languages in response. \nDefault: true","uniqueKey":"","typeLabel":"boolean"}}},"responses":{"05170c99-64ec-4150-bd60-73d68079f6d2":{"description":"Coin historical data","content":{"application/json":{"schema":{"type":"object","required":["id","symbol","name","image","market_data","public_interest_stats"],"properties":{"id":{"type":"string","description":"Coin ID","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"symbol":{"type":"string","description":"Coin symbol","isRequired":true,"uniqueKey":"symbol","typeLabel":"string"},"name":{"type":"string","description":"Coin name","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"image":{"type":"object","description":"Coin image URLs","properties":{"thumb":{"type":"string","description":"Thumbnail image URL","uniqueKey":"image.thumb","typeLabel":"string"},"small":{"type":"string","description":"Small image URL","uniqueKey":"image.small","typeLabel":"string"}},"isRequired":true,"uniqueKey":"image","typeLabel":"object"},"market_data":{"type":"object","description":"Market data at the given date","properties":{"current_price":{"type":"object","description":"Current price keyed by currency","additionalProperties":{"type":"number","uniqueKey":"market_data.current_price.additionalProperties","typeLabel":"number"},"uniqueKey":"market_data.current_price","typeLabel":"object"},"market_cap":{"type":"object","description":"Market capitalization keyed by currency","additionalProperties":{"type":"number","uniqueKey":"market_data.market_cap.additionalProperties","typeLabel":"number"},"uniqueKey":"market_data.market_cap","typeLabel":"object"},"total_volume":{"type":"object","description":"Total trading volume keyed by currency","additionalProperties":{"type":"number","uniqueKey":"market_data.total_volume.additionalProperties","typeLabel":"number"},"uniqueKey":"market_data.total_volume","typeLabel":"object"}},"isRequired":true,"uniqueKey":"market_data","typeLabel":"object"},"public_interest_stats":{"type":"object","description":"Public interest statistics","properties":{"alexa_rank":{"oneOf":[{"type":"number","description":"Alexa rank","uniqueKey":"public_interest_stats.alexa_rank.oneOf.0","typeLabel":"number"},{"type":"null","description":"Alexa rank","uniqueKey":"public_interest_stats.alexa_rank.oneOf.1","typeLabel":"null"}],"uniqueKey":"public_interest_stats.alexa_rank","typeLabel":"number | null"},"bing_matches":{"oneOf":[{"type":"number","description":"Bing search matches","uniqueKey":"public_interest_stats.bing_matches.oneOf.0","typeLabel":"number"},{"type":"null","description":"Bing search matches","uniqueKey":"public_interest_stats.bing_matches.oneOf.1","typeLabel":"null"}],"uniqueKey":"public_interest_stats.bing_matches","typeLabel":"number | null"}},"isRequired":true,"uniqueKey":"public_interest_stats","typeLabel":"object"},"localization":{"type":"object","description":"Localized coin names keyed by locale code","additionalProperties":{"type":"string","uniqueKey":"localization.additionalProperties","typeLabel":"string"},"uniqueKey":"localization","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"id":"bitcoin","symbol":"btc","name":"Bitcoin","localization":{"en":"Bitcoin","zh":"比特币","zh-tw":"比特幣","de":"Bitcoin","fr":"Bitcoin","es":"Bitcoin","ja":"ビットコイン","id":"Bitcoin","ru":"Биткоин","ko":"비트코인","ar":"بيتكوين","th":"บิตคอยน์","vi":"Bitcoin","it":"Bitcoin","pl":"Bitcoin","tr":"Bitcoin","hu":"Bitcoin","nl":"Bitcoin","ro":"Bitcoin","sv":"Bitcoin","cs":"Bitcoin","da":"Bitcoin","el":"Bitcoin","hi":"Bitcoin","no":"Bitcoin","sk":"Bitcoin","uk":"Bitcoin","he":"Bitcoin","fi":"Bitcoin","bg":"Bitcoin","hr":"Bitcoin","lt":"Bitcoin","sl":"Bitcoin","pt":"Bitcoin"},"image":{"thumb":"https://coin-images.coingecko.com/coins/images/1/thumb/bitcoin.png?1696501400","small":"https://coin-images.coingecko.com/coins/images/1/small/bitcoin.png?1696501400"},"market_data":{"current_price":{"aed":155021.01870663263,"ars":34223222.03038811,"aud":61961.64079464181,"bch":162.9444394169128,"bdt":4640974.295329716,"bhd":15935.706731619232,"bmd":42208.202176186474,"bnb":135.24654224991627,"brl":204813.86598107114,"btc":1,"cad":55925.65684243621,"chf":35496.88698916195,"clp":37196103.56833302,"cny":298785.10989287664,"czk":944615.3438828368,"dkk":285068.92147269147,"dot":5160.299955562896,"eos":50098.037591566885,"eth":18.514283305187227,"eur":38240.20908960317,"gbp":33156.484386694596,"gel":113329.02284306048,"hkd":329606.38328597124,"huf":14657368.01641012,"idr":649885162.0865278,"ils":152105.57155771676,"inr":3513053.119048727,"jpy":5952559.440604322,"krw":54661344.54593342,"kwd":12984.298194449415,"lkr":13696906.151726862,"ltc":579.0962960970021,"mmk":88806742.41781776,"mxn":716452.3647481233,"myr":194052.20950501712,"ngn":37886364.22413555,"nok":429442.7101393702,"nzd":66802.583918633,"php":2338503.1911612307,"pkr":11792242.372501094,"pln":165880.09171330827,"rub":3767047.138041446,"sar":158357.45046405343,"sek":425811.11642413173,"sgd":55694.77797653248,"sol":416.5289478886034,"thb":1453127.860988517,"try":1243001.417432343,"twd":1295461.9075007213,"uah":1607901.3285893872,"usd":42208.202176186474,"vef":4226.30728390156,"vnd":1024346748.4635574,"xag":1773.9385614394023,"xau":20.435523165622502,"xdr":31508.676173736272,"xlm":327801.5907899002,"xrp":68792.39040895543,"yfi":5.23330767599715,"zar":772207.5004537676,"bits":999797.6500840397,"link":2828.6459350540995,"sats":99979765.00840396},"market_cap":{"aed":3039570628249.035,"ars":671030943774608.1,"aud":1214911274669.9553,"bch":3192400331.4673758,"bdt":90997783863352.8,"bhd":312458958958.8847,"bmd":827596236151.1959,"bnb":2647323702.8955383,"brl":4015882597651.6562,"btc":19586150,"cad":1096560874919.1543,"chf":696004296621.9747,"clp":729321641896660.1,"cny":5858421340316.535,"czk":18521521005440.16,"dkk":5589481529435.656,"dot":101067225072.82333,"eos":981764701266.0074,"eth":362734483.2978319,"eur":749793913990.623,"gbp":650114912923.6271,"gel":2222095894065.9663,"hkd":6462748663878.865,"huf":287393965552690.7,"idr":12742606563251504,"ils":2982406073429.352,"inr":68882098474316.74,"jpy":116714655790049.02,"krw":1071770904156178.4,"kwd":254589292146.01266,"lkr":268561734299139.16,"ltc":11369266145.87004,"mmk":1741275912749029.8,"mxn":14047821273508.254,"myr":3804873695705.123,"ngn":742855909912170.9,"nok":8420286869134.373,"nzd":1309829942186.6091,"php":45852141040124.65,"pkr":231216088345279.94,"pln":3252489622308.595,"rub":73862279654407,"sar":3104989627928.0786,"sek":8349080488975.917,"sgd":1092033923507.4076,"sol":8167080608.685882,"thb":28493545024184.4,"try":24372118250940.145,"twd":25400735957660.043,"uah":31526883852775.1,"usd":827596236151.1959,"vef":82867211125.81927,"vnd":20084852465487144,"xag":34782454615.8709,"xau":400688993.6949639,"xdr":617805555864.2843,"xlm":6420377180809.443,"xrp":1347730925908.2449,"yfi":102656498.40039586,"zar":15141038659633.365,"bits":19587615789973.43,"link":55342736984.57576,"sats":1958761578997342.8},"total_volume":{"aed":52093574029.40443,"ars":11500440167656.37,"aud":20821714040.129295,"bch":54756176.21574547,"bdt":1559562309933.2505,"bhd":5355066850.034618,"bmd":14183728910.169804,"bnb":45448519.30208316,"brl":68826062289.8161,"btc":335974.0074837291,"cad":18793369887.330444,"chf":11928445094.808254,"clp":12499453241945.738,"cny":100404347558.46667,"czk":317430434636.70953,"dkk":95795132093.1731,"dot":1734077546.3343449,"eos":16835045026.655567,"eth":6221576.893294353,"eur":12850316555.324738,"gbp":11141971510.468252,"gel":38083312123.805855,"hkd":110761590083.25078,"huf":4925491344396.748,"idr":218388713248196.1,"ils":51113861322.39222,"inr":1180533415747.48,"jpy":2000310012607.8845,"krw":18368507847565.402,"kwd":4363269605.991003,"lkr":4602735813129.19,"ltc":194600680.75008962,"mmk":29842795828917.508,"mxn":240758089534.80554,"myr":65209693664.5056,"ngn":12731409817077.545,"nok":144310789586.34262,"nzd":22448474276.294495,"php":785835302355.318,"pkr":3962688776849.6025,"pln":55742678701.03927,"rub":1265886075288.8472,"sar":53214755248.56654,"sek":143090421550.91183,"sgd":18715784890.19182,"sol":139971223.0203305,"thb":488312000734.88245,"try":417700689222.06055,"twd":435329617517.0529,"uah":540322387194.22906,"usd":14183728910.169804,"vef":1420216775.7753053,"vnd":344223535737756.94,"xag":596117871.9180025,"xau":6867194.189147832,"xdr":10588238733.815224,"xlm":110155103993.25989,"xrp":23117132839.969418,"yfi":1758611.2071300931,"zar":259494157157.33887,"bits":335974007483.7291,"link":950543853.0214615,"sats":33597400748372.91}},"public_interest_stats":{"alexa_rank":null,"bing_matches":null}},"examples":{"Example":{"title":"Example","value":{"id":"bitcoin","symbol":"btc","name":"Bitcoin","localization":{"en":"Bitcoin","zh":"比特币","zh-tw":"比特幣","de":"Bitcoin","fr":"Bitcoin","es":"Bitcoin","ja":"ビットコイン","id":"Bitcoin","ru":"Биткоин","ko":"비트코인","ar":"بيتكوين","th":"บิตคอยน์","vi":"Bitcoin","it":"Bitcoin","pl":"Bitcoin","tr":"Bitcoin","hu":"Bitcoin","nl":"Bitcoin","ro":"Bitcoin","sv":"Bitcoin","cs":"Bitcoin","da":"Bitcoin","el":"Bitcoin","hi":"Bitcoin","no":"Bitcoin","sk":"Bitcoin","uk":"Bitcoin","he":"Bitcoin","fi":"Bitcoin","bg":"Bitcoin","hr":"Bitcoin","lt":"Bitcoin","sl":"Bitcoin","pt":"Bitcoin"},"image":{"thumb":"https://coin-images.coingecko.com/coins/images/1/thumb/bitcoin.png?1696501400","small":"https://coin-images.coingecko.com/coins/images/1/small/bitcoin.png?1696501400"},"market_data":{"current_price":{"aed":155021.01870663263,"ars":34223222.03038811,"aud":61961.64079464181,"bch":162.9444394169128,"bdt":4640974.295329716,"bhd":15935.706731619232,"bmd":42208.202176186474,"bnb":135.24654224991627,"brl":204813.86598107114,"btc":1,"cad":55925.65684243621,"chf":35496.88698916195,"clp":37196103.56833302,"cny":298785.10989287664,"czk":944615.3438828368,"dkk":285068.92147269147,"dot":5160.299955562896,"eos":50098.037591566885,"eth":18.514283305187227,"eur":38240.20908960317,"gbp":33156.484386694596,"gel":113329.02284306048,"hkd":329606.38328597124,"huf":14657368.01641012,"idr":649885162.0865278,"ils":152105.57155771676,"inr":3513053.119048727,"jpy":5952559.440604322,"krw":54661344.54593342,"kwd":12984.298194449415,"lkr":13696906.151726862,"ltc":579.0962960970021,"mmk":88806742.41781776,"mxn":716452.3647481233,"myr":194052.20950501712,"ngn":37886364.22413555,"nok":429442.7101393702,"nzd":66802.583918633,"php":2338503.1911612307,"pkr":11792242.372501094,"pln":165880.09171330827,"rub":3767047.138041446,"sar":158357.45046405343,"sek":425811.11642413173,"sgd":55694.77797653248,"sol":416.5289478886034,"thb":1453127.860988517,"try":1243001.417432343,"twd":1295461.9075007213,"uah":1607901.3285893872,"usd":42208.202176186474,"vef":4226.30728390156,"vnd":1024346748.4635574,"xag":1773.9385614394023,"xau":20.435523165622502,"xdr":31508.676173736272,"xlm":327801.5907899002,"xrp":68792.39040895543,"yfi":5.23330767599715,"zar":772207.5004537676,"bits":999797.6500840397,"link":2828.6459350540995,"sats":99979765.00840396},"market_cap":{"aed":3039570628249.035,"ars":671030943774608.1,"aud":1214911274669.9553,"bch":3192400331.4673758,"bdt":90997783863352.8,"bhd":312458958958.8847,"bmd":827596236151.1959,"bnb":2647323702.8955383,"brl":4015882597651.6562,"btc":19586150,"cad":1096560874919.1543,"chf":696004296621.9747,"clp":729321641896660.1,"cny":5858421340316.535,"czk":18521521005440.16,"dkk":5589481529435.656,"dot":101067225072.82333,"eos":981764701266.0074,"eth":362734483.2978319,"eur":749793913990.623,"gbp":650114912923.6271,"gel":2222095894065.9663,"hkd":6462748663878.865,"huf":287393965552690.7,"idr":12742606563251504,"ils":2982406073429.352,"inr":68882098474316.74,"jpy":116714655790049.02,"krw":1071770904156178.4,"kwd":254589292146.01266,"lkr":268561734299139.16,"ltc":11369266145.87004,"mmk":1741275912749029.8,"mxn":14047821273508.254,"myr":3804873695705.123,"ngn":742855909912170.9,"nok":8420286869134.373,"nzd":1309829942186.6091,"php":45852141040124.65,"pkr":231216088345279.94,"pln":3252489622308.595,"rub":73862279654407,"sar":3104989627928.0786,"sek":8349080488975.917,"sgd":1092033923507.4076,"sol":8167080608.685882,"thb":28493545024184.4,"try":24372118250940.145,"twd":25400735957660.043,"uah":31526883852775.1,"usd":827596236151.1959,"vef":82867211125.81927,"vnd":20084852465487144,"xag":34782454615.8709,"xau":400688993.6949639,"xdr":617805555864.2843,"xlm":6420377180809.443,"xrp":1347730925908.2449,"yfi":102656498.40039586,"zar":15141038659633.365,"bits":19587615789973.43,"link":55342736984.57576,"sats":1958761578997342.8},"total_volume":{"aed":52093574029.40443,"ars":11500440167656.37,"aud":20821714040.129295,"bch":54756176.21574547,"bdt":1559562309933.2505,"bhd":5355066850.034618,"bmd":14183728910.169804,"bnb":45448519.30208316,"brl":68826062289.8161,"btc":335974.0074837291,"cad":18793369887.330444,"chf":11928445094.808254,"clp":12499453241945.738,"cny":100404347558.46667,"czk":317430434636.70953,"dkk":95795132093.1731,"dot":1734077546.3343449,"eos":16835045026.655567,"eth":6221576.893294353,"eur":12850316555.324738,"gbp":11141971510.468252,"gel":38083312123.805855,"hkd":110761590083.25078,"huf":4925491344396.748,"idr":218388713248196.1,"ils":51113861322.39222,"inr":1180533415747.48,"jpy":2000310012607.8845,"krw":18368507847565.402,"kwd":4363269605.991003,"lkr":4602735813129.19,"ltc":194600680.75008962,"mmk":29842795828917.508,"mxn":240758089534.80554,"myr":65209693664.5056,"ngn":12731409817077.545,"nok":144310789586.34262,"nzd":22448474276.294495,"php":785835302355.318,"pkr":3962688776849.6025,"pln":55742678701.03927,"rub":1265886075288.8472,"sar":53214755248.56654,"sek":143090421550.91183,"sgd":18715784890.19182,"sol":139971223.0203305,"thb":488312000734.88245,"try":417700689222.06055,"twd":435329617517.0529,"uah":540322387194.22906,"usd":14183728910.169804,"vef":1420216775.7753053,"vnd":344223535737756.94,"xag":596117871.9180025,"xau":6867194.189147832,"xdr":10588238733.815224,"xlm":110155103993.25989,"xrp":23117132839.969418,"yfi":1758611.2071300931,"zar":259494157157.33887,"bits":335974007483.7291,"link":950543853.0214615,"sats":33597400748372.91}},"public_interest_stats":{"alexa_rank":null,"bing_matches":null}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"4b8c9753-9356-4d93-bf76-8e7a0740343c":{"headerAuth":{"type":"apiKey","in":"header","name":"x-cg-demo-api-key","description":"Learn how to [set up your API key](https://docs.coingecko.com/docs/setting-up-your-api-key)","scopes":[],"schemeName":"headerAuth"}},"805e559d-d5bc-48ed-b297-9d82c21655bd":{"queryAuth":{"type":"apiKey","in":"query","name":"x_cg_demo_api_key","description":"Learn how to [set up your API key](https://docs.coingecko.com/docs/setting-up-your-api-key)","scopes":[],"schemeName":"queryAuth"}}},"servers":{"14e741b4-1606-423a-a0b4-ffb6039c13be":{"url":"https://api.coingecko.com/api/v3"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-cg-demo-api-key","description":"Learn how to [set up your API key](https://docs.coingecko.com/docs/setting-up-your-api-key)","scopes":[],"schemeName":"headerAuth"},"schema":{"title":"x-cg-demo-api-key","type":"string","description":"Learn how to [set up your API key](https://docs.coingecko.com/docs/setting-up-your-api-key)","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"headerAuth","name":"x-cg-demo-api-key"}],"title":"headerAuth"},{"schemes":[{"scheme":{"type":"apiKey","in":"query","name":"x_cg_demo_api_key","description":"Learn how to [set up your API key](https://docs.coingecko.com/docs/setting-up-your-api-key)","scopes":[],"schemeName":"queryAuth"},"schema":{"title":"x_cg_demo_api_key","type":"string","description":"Learn how to [set up your API key](https://docs.coingecko.com/docs/setting-up-your-api-key)","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"queryAuth","name":"x_cg_demo_api_key"}],"title":"queryAuth"}]},"originalFileLocation":"openapi-specs/demo-api.json"},"subdomain":"coingecko","siteName":"Coingecko API","title":"Coin Historical Data by ID - Coingecko API","contextualStarterQuestions":[{"_id":"6b03d5740ff6f7da64032010","deploymentId":"6a2fd114dad4590845608f80","questionText":"How do I find a coin's API ID?","status":"active","generatedBy":"contextual","path":"demo/reference/coins-id-history","createdAt":"2026-11-23T05:56:04.593Z","updatedAt":"2026-11-23T05:56:04.593Z","__v":0},{"_id":"6b03d5740ff6f7da64032012","deploymentId":"6a2fd114dad4590845608f80","questionText":"When is yesterday's data ready?","status":"active","generatedBy":"contextual","path":"demo/reference/coins-id-history","createdAt":"2026-11-23T05:56:04.593Z","updatedAt":"2026-11-23T05:56:04.593Z","__v":0},{"_id":"6b03d5740ff6f7da64032011","deploymentId":"6a2fd114dad4590845608f80","questionText":"What historical data range is available?","status":"active","generatedBy":"contextual","path":"demo/reference/coins-id-history","createdAt":"2026-11-23T05:56:04.593Z","updatedAt":"2026-11-23T05:56:04.593Z","__v":0}],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-23T05:55:50.212Z","originalFileLocation":"demo/reference/coins-id-history.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"To query the historical data (price, market cap, 24hrs volume, etc.) at a given date for a coin based on a particular coin ID\">\u003cmeta data-mint-head name=\"application-name\" content=\"Coingecko API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/coingecko/cEsEN1BHYMTujBc-/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/coingecko/cEsEN1BHYMTujBc-/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/coingecko/cEsEN1BHYMTujBc-/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/coingecko/cEsEN1BHYMTujBc-/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/coingecko/cEsEN1BHYMTujBc-/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/coingecko/cEsEN1BHYMTujBc-/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/coingecko/cEsEN1BHYMTujBc-/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/coingecko/cEsEN1BHYMTujBc-/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/coingecko/cEsEN1BHYMTujBc-/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Coin Historical Data by ID - Coingecko API\">\u003cmeta data-mint-head property=\"og:description\" content=\"To query the historical data (price, market cap, 24hrs volume, etc.) at a given date for a coin based on a particular coin ID\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Coingecko API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.coingecko.com/demo/reference/coins-id-history\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://coingecko.mintlify.site/_mintlify/api/og/v2?division=Coins\u0026amp;title=Coin+Historical+Data+by+ID\u0026amp;description=To+query+the+historical+data+%28price%2C+market+cap%2C+24hrs+volume%2C+etc.%29+at+a+given+date+for+a+coin+based+on+a+particular+coin+ID\u0026amp;theme=79ec375080bf0825d3b9e676\u0026amp;signature=9dbdd5bc1ece0894e12c1c2f2794b51d6e7d3af1223cc34109b2ba9ab7ddfb89\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Coin Historical Data by ID - Coingecko API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"To query the historical data (price, market cap, 24hrs volume, etc.) at a given date for a coin based on a particular coin ID\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://coingecko.mintlify.site/_mintlify/api/og/v2?division=Coins\u0026amp;title=Coin+Historical+Data+by+ID\u0026amp;description=To+query+the+historical+data+%28price%2C+market+cap%2C+24hrs+volume%2C+etc.%29+at+a+given+date+for+a+coin+based+on+a+particular+coin+ID\u0026amp;theme=79ec375080bf0825d3b9e676\u0026amp;signature=9dbdd5bc1ece0894e12c1c2f2794b51d6e7d3af1223cc34109b2ba9ab7ddfb89\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/coingecko/cEsEN1BHYMTujBc-/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Coingecko API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#4BCC00\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.coingecko.com/demo/reference/coins-id-history\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/demo/reference/coins-id-history.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.coingecko.com/#organization\",\"name\":\"Coingecko API\",\"url\":\"https://docs.coingecko.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/coingecko/i9l2MT4etZGYjSx8/assets/logos/light.png?fit=max\u0026auto=format\u0026n=i9l2MT4etZGYjSx8\u0026q=85\u0026s=1f65227bee805b1106ace22fb56fdad7\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.coingecko.com#website\",\"name\":\"Coingecko API\",\"url\":\"https://docs.coingecko.com\",\"publisher\":{\"@id\":\"https://docs.coingecko.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.coingecko.com/demo/reference/coins-id-history#webpage\",\"url\":\"https://docs.coingecko.com/demo/reference/coins-id-history\",\"name\":\"Coin Historical Data by ID\",\"description\":\"To query the historical data (price, market cap, 24hrs volume, etc.) at a given date for a coin based on a particular coin ID\",\"dateModified\":\"2026-11-23T05:55:50.212Z\",\"isPartOf\":{\"@id\":\"https://docs.coingecko.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.coingecko.com/demo/reference/coins-id-history#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.coingecko.com/demo/reference/coins-id-history#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Coingecko API\",\"item\":\"https://docs.coingecko.com/demo/reference/simple-price\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Coins\",\"item\":\"https://docs.coingecko.com/demo/reference/coins-overview\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Coin Historical Data by ID\",\"item\":\"https://docs.coingecko.com/demo/reference/coins-id-history\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.coingecko.com/demo/reference/coins-id-history#apireference\",\"headline\":\"Coin Historical Data by ID\",\"name\":\"Coin Historical Data by ID\",\"description\":\"To query the historical data (price, market cap, 24hrs volume, etc.) at a given date for a coin based on a particular coin ID\",\"url\":\"https://docs.coingecko.com/demo/reference/coins-id-history\",\"mainEntityOfPage\":{\"@id\":\"https://docs.coingecko.com/demo/reference/coins-id-history#webpage\"},\"dateModified\":\"2026-11-23T05:55:50.212Z\",\"publisher\":{\"@id\":\"https://docs.coingecko.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.coingecko.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Coingecko API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Coingecko API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/demo/reference/coins-id-history.md","siteName":"Coingecko API","nav":{"global":{"anchors":[{"anchor":"Coingecko API","icon":"https://mintlify.s3.us-west-1.amazonaws.com/coingecko/assets/logos/anchor.png","href":"https://www.coingecko.com/en/api"},{"anchor":"Enterprise","icon":"briefcase","href":"https://www.coingecko.com/en/api/enterprise"},{"anchor":"Case Studies","icon":"book-open-cover","href":"https://www.coingecko.com/en/api/case-studies"},{"anchor":"Newsletter","icon":"envelope","href":"https://newsletter.coingecko.com/landing/api_updates_subscribe"},{"anchor":"Feedback","icon":"message","href":"https://tally.so/r/kdQKeZ"}]},"tabs":[{"tab":"Overview","pages":[{"title":"Overview","href":""}]},{"tab":"AI Integration","pages":[{"title":"AI Integration","href":"/ai-integration"}]},{"tab":"Pro API Reference","pages":[{"title":"Pro API Reference","href":"/reference/endpoint-overview"}]},{"tab":"Demo API Reference","groups":[{"group":" ","pages":[{"title":"Endpoint Overview","icon":"map","href":"/demo/reference/endpoint-overview"},{"title":"Authentication (Demo API)","sidebarTitle":"Authentication","icon":"key","href":"/demo/reference/authentication"}]},{"group":"Coingecko API","pages":[{"group":"Price","root":{"title":"Price","mode":"wide","href":"/demo/reference/price-overview"},"pages":[{"openapi":"openapi-specs/demo-api.json get /simple/price","sidebarTitle":"Coin Price by IDs, Symbols, or Names","title":"Coin Price by IDs, Symbols, or Names","href":"/demo/reference/simple-price"},{"openapi":"openapi-specs/demo-api.json get /simple/token_price/{id}","sidebarTitle":"Coin Price by Token Addresses","title":"Coin Price by Token Addresses","href":"/demo/reference/simple-token-price"}]},{"group":"Search \u0026 ID Map","root":{"title":"Search \u0026 ID Map","mode":"wide","href":"/demo/reference/search-and-id-map-overview"},"pages":[{"openapi":"openapi-specs/demo-api.json get /search","sidebarTitle":"Search Queries","title":"Search Queries","href":"/demo/reference/search-data"},{"openapi":"openapi-specs/demo-api.json get /coins/list","sidebarTitle":"Coins List","title":"Coins List","href":"/demo/reference/coins-list"},{"openapi":"openapi-specs/demo-api.json get /asset_platforms","sidebarTitle":"Asset Platforms List","title":"Asset Platforms List","href":"/demo/reference/asset-platforms-list"},{"openapi":"openapi-specs/demo-api.json get /token_lists/{asset_platform_id}/all.json","sidebarTitle":"Token Lists by Asset Platform ID","title":"Token Lists by Asset Platform ID","href":"/demo/reference/token-lists"},{"openapi":"openapi-specs/demo-api.json get /simple/supported_vs_currencies","sidebarTitle":"Currencies List","title":"Currencies List","href":"/demo/reference/simple-supported-currencies"}]},{"group":"Coins","root":{"title":"Coins","mode":"wide","href":"/demo/reference/coins-overview"},"pages":[{"openapi":"openapi-specs/demo-api.json get /coins/markets","sidebarTitle":"Coins List with Market Data","title":"Coins List with Market Data","href":"/demo/reference/coins-markets"},{"openapi":"openapi-specs/demo-api.json get /coins/{id}","sidebarTitle":"Coin Data by ID","title":"Coin Data by ID","href":"/demo/reference/coins-id"},{"openapi":"openapi-specs/demo-api.json get /coins/{id}/contract/{contract_address}","sidebarTitle":"Coin Data by Token Address","title":"Coin Data by Token Address","href":"/demo/reference/coins-contract-address"},{"openapi":"openapi-specs/demo-api.json get /coins/{id}/tickers","sidebarTitle":"Coin Tickers by ID","title":"Coin Tickers by ID","description":"To query the coin tickers on both centralized exchange (CEX) and decentralized exchange (DEX) based on a particular coin ID","href":"/demo/reference/coins-id-tickers"},{"openapi":"openapi-specs/demo-api.json get /coins/{id}/history","sidebarTitle":"Coin Historical Data by ID","title":"Coin Historical Data by ID","href":"/demo/reference/coins-id-history"}]},{"group":"Coin Charts","root":{"title":"Coin Charts","description":"Historical price, market cap, volume, OHLC and supply charts for any coin, by coin ID or token contract address.","mode":"wide","href":"/demo/reference/coin-charts-overview"},"pages":[{"openapi":"openapi-specs/demo-api.json get /coins/{id}/market_chart","sidebarTitle":"Coin Historical Chart Data by ID","title":"Coin Historical Chart Data by ID","href":"/demo/reference/coins-id-market-chart"},{"openapi":"openapi-specs/demo-api.json get /coins/{id}/market_chart/range","sidebarTitle":"Coin Historical Chart Data within Time Range by ID","title":"Coin Historical Chart Data within Time Range by ID","href":"/demo/reference/coins-id-market-chart-range"},{"openapi":"openapi-specs/demo-api.json get /coins/{id}/contract/{contract_address}/market_chart","sidebarTitle":"Coin Historical Chart Data by Token Address","title":"Coin Historical Chart Data by Token Address","href":"/demo/reference/contract-address-market-chart"},{"openapi":"openapi-specs/demo-api.json get /coins/{id}/contract/{contract_address}/market_chart/range","sidebarTitle":"Coin Historical Chart Data within Time Range by Token Address","title":"Coin Historical Chart Data within Time Range by Token Address","href":"/demo/reference/contract-address-market-chart-range"},{"openapi":"openapi-specs/demo-api.json get /coins/{id}/ohlc","sidebarTitle":"Coin OHLC Chart by ID","title":"Coin OHLC Chart by ID","href":"/demo/reference/coins-id-ohlc"}]},{"group":"Categories","root":{"title":"Categories","mode":"wide","href":"/demo/reference/categories-overview"},"pages":[{"openapi":"openapi-specs/demo-api.json get /coins/categories/list","sidebarTitle":"Coins Categories List (ID Map)","title":"Coins Categories List","href":"/demo/reference/coins-categories-list"},{"openapi":"openapi-specs/demo-api.json get /coins/categories","sidebarTitle":"Coins Categories List with Market Data","title":"Coins Categories List with Market Data","href":"/demo/reference/coins-categories"}]},{"group":"RWA","root":{"title":"Real World Assets (RWA)","mode":"wide","href":"/demo/reference/rwa-overview"},"tag":"Hot","pages":[{"openapi":"openapi-specs/demo-api.json get /rwas/list","sidebarTitle":"RWA List","title":"RWA List","href":"/demo/reference/rwas-list"},{"openapi":"openapi-specs/demo-api.json get /rwas/markets","sidebarTitle":"RWA List with Market Data","title":"RWA List with Market Data","href":"/demo/reference/rwas-markets"},{"openapi":"openapi-specs/demo-api.json get /rwas/{id}","sidebarTitle":"RWA Data by ID","title":"RWA Data by ID","href":"/demo/reference/rwas-id"},{"openapi":"openapi-specs/demo-api.json get /rwas/issuers/list","sidebarTitle":"RWA Issuers List","title":"RWA Issuers List","href":"/demo/reference/rwas-issuers-list"},{"openapi":"openapi-specs/demo-api.json get /rwas/issuers/{id}","sidebarTitle":"RWA Issuer Data by ID","title":"RWA Issuer Data by ID","href":"/demo/reference/rwas-issuers-id"}]},{"group":"Exchanges","root":{"title":"Exchanges","mode":"wide","href":"/demo/reference/exchanges-overview"},"pages":[{"openapi":"openapi-specs/demo-api.json get /exchanges/list","sidebarTitle":"Exchanges List (ID Map)","title":"Exchanges List","href":"/demo/reference/exchanges-list"},{"openapi":"openapi-specs/demo-api.json get /exchanges","sidebarTitle":"Exchanges List with Data","title":"Exchanges List with Data","href":"/demo/reference/exchanges"},{"openapi":"openapi-specs/demo-api.json get /exchanges/{id}","sidebarTitle":"Exchange Data by ID","title":"Exchange Data by ID","href":"/demo/reference/exchanges-id"},{"openapi":"openapi-specs/demo-api.json get /exchanges/{id}/tickers","sidebarTitle":"Exchange Tickers by ID","title":"Exchange Tickers by ID","href":"/demo/reference/exchanges-id-tickers"},{"openapi":"openapi-specs/demo-api.json get /exchanges/{id}/volume_chart","sidebarTitle":"Exchange Volume Chart by ID","title":"Exchange Volume Chart by ID","href":"/demo/reference/exchanges-id-volume-chart"}]},{"group":"Derivatives","root":{"title":"Derivatives","mode":"wide","href":"/demo/reference/derivatives-overview"},"pages":[{"openapi":"openapi-specs/demo-api.json get /derivatives/exchanges/list","sidebarTitle":"Derivatives Exchanges List (ID Map)","title":"Derivatives Exchanges List","href":"/demo/reference/derivatives-exchanges-list"},{"openapi":"openapi-specs/demo-api.json get /derivatives","sidebarTitle":"Derivatives Tickers List","title":"Derivatives Tickers List","href":"/demo/reference/derivatives-tickers"},{"openapi":"openapi-specs/demo-api.json get /derivatives/underlyings/list","sidebarTitle":"Derivatives Underlying Assets List (ID Map)","title":"Derivatives Underlying Assets List","href":"/demo/reference/derivatives-underlyings-list"},{"openapi":"openapi-specs/demo-api.json get /derivatives/exchanges","sidebarTitle":"Derivatives Exchanges List with Data","title":"Derivatives Exchanges List with Data","href":"/demo/reference/derivatives-exchanges"},{"openapi":"openapi-specs/demo-api.json get /derivatives/exchanges/{id}","sidebarTitle":"Derivatives Exchange Data by ID","title":"Derivatives Exchange Data by ID","href":"/demo/reference/derivatives-exchanges-id"}]},{"group":"Public Treasury","root":{"title":"Public Treasury","mode":"wide","href":"/demo/reference/public-treasury-overview"},"pages":[{"openapi":"openapi-specs/demo-api.json get /entities/list","sidebarTitle":"Entities List (ID Map)","title":"Entities List","href":"/demo/reference/entities-list"},{"openapi":"openapi-specs/demo-api.json get /{entity}/public_treasury/{coin_id}","sidebarTitle":"Crypto Treasury Holdings by Coin ID","title":"Crypto Treasury Holdings by Coin ID","href":"/demo/reference/companies-public-treasury"},{"openapi":"openapi-specs/demo-api.json get /public_treasury/{entity_id}","sidebarTitle":"Crypto Treasury Holdings by Entity ID","title":"Crypto Treasury Holdings by Entity ID","href":"/demo/reference/public-treasury-entity"},{"openapi":"openapi-specs/demo-api.json get /public_treasury/{entity_id}/{coin_id}/holding_chart","sidebarTitle":"Crypto Treasury Holdings Historical Chart Data by ID","title":"Crypto Treasury Holdings Historical Chart Data by ID","href":"/demo/reference/public-treasury-entity-chart"},{"openapi":"openapi-specs/demo-api.json get /public_treasury/{entity_id}/transaction_history","sidebarTitle":"Crypto Treasury Transaction History by Entity ID","title":"Crypto Treasury Transaction History by Entity ID","href":"/demo/reference/public-treasury-transaction-history"}]},{"group":"NFTs","root":{"title":"NFTs","mode":"wide","href":"/demo/reference/nfts-overview"},"pages":[{"openapi":"openapi-specs/demo-api.json get /nfts/list","sidebarTitle":"NFTs List (ID Map)","title":"NFTs List","href":"/demo/reference/nfts-list"},{"openapi":"openapi-specs/demo-api.json get /nfts/{id}","sidebarTitle":"NFTs Collection Data by ID","title":"NFTs Collection Data by ID","href":"/demo/reference/nfts-id"},{"openapi":"openapi-specs/demo-api.json get /nfts/{asset_platform_id}/contract/{contract_address}","sidebarTitle":"NFTs Collection Data by Contract Address","title":"NFTs Collection Data by Contract Address","href":"/demo/reference/nfts-contract-address"}]},{"group":"Trending","root":{"title":"Trending","mode":"wide","href":"/demo/reference/trending-overview"},"pages":[{"openapi":"openapi-specs/demo-api.json get /search/trending","sidebarTitle":"Trending Search List","title":"Trending Search List","href":"/demo/reference/trending-search"}]},{"group":"Global","root":{"title":"Global","mode":"wide","href":"/demo/reference/global-overview"},"pages":[{"openapi":"openapi-specs/demo-api.json get /global","sidebarTitle":"Crypto Global Market Data","title":"Crypto Global Market Data","href":"/demo/reference/crypto-global"},{"openapi":"openapi-specs/demo-api.json get /global/decentralized_finance_defi","sidebarTitle":"Global DeFi Market Data","title":"Global DeFi Market Data","href":"/demo/reference/global-defi"}]},{"group":"Utility","root":{"title":"Utility","mode":"wide","href":"/demo/reference/utility-overview"},"pages":[{"openapi":"openapi-specs/demo-api.json get /exchange_rates","sidebarTitle":"BTC-to-Currency Exchange Rates","title":"BTC-to-Currency Exchange Rates","href":"/demo/reference/exchange-rates"},{"openapi":"openapi-specs/demo-api.json get /ping","sidebarTitle":"API Server Status","title":"API Server Status","href":"/demo/reference/ping-server"}]}]},{"group":"Onchain API","pages":[{"group":"Price","root":{"title":"Onchain Price","mode":"wide","href":"/demo/reference/onchain-price-overview"},"pages":[{"openapi":"openapi-specs/demo-api.json get /onchain/simple/networks/{network}/token_price/{addresses}","sidebarTitle":"Token Price by Token Addresses","title":"Token Price by Token Addresses","href":"/demo/reference/onchain-simple-price"}]},{"group":"Search \u0026 ID Map","root":{"title":"Onchain Search \u0026 ID Map","mode":"wide","href":"/demo/reference/onchain-search-and-id-map-overview"},"pages":[{"openapi":"openapi-specs/demo-api.json get /onchain/search/pools","sidebarTitle":"Search Pools \u0026 Tokens","title":"Search Pools \u0026 Tokens","href":"/demo/reference/search-pools"},{"openapi":"openapi-specs/demo-api.json get /onchain/networks","sidebarTitle":"Networks List","title":"Networks List","href":"/demo/reference/networks-list"},{"openapi":"openapi-specs/demo-api.json get /onchain/networks/{network}/dexes","sidebarTitle":"DEXs List by Network","title":"DEXs List by Network","href":"/demo/reference/dexes-list"}]},{"group":"Pools","root":{"title":"Onchain Pools","mode":"wide","href":"/demo/reference/onchain-pools-overview"},"pages":[{"openapi":"openapi-specs/demo-api.json get /onchain/networks/{network}/pools/{address}","sidebarTitle":"Specific Pool Data by Pool Address","title":"Specific Pool Data by Pool Address","href":"/demo/reference/pool-address"},{"openapi":"openapi-specs/demo-api.json get /onchain/networks/{network}/pools/multi/{addresses}","sidebarTitle":"Multiple Pools Data by Pool Addresses","title":"Multiple Pools Data by Pool Addresses","href":"/demo/reference/pools-addresses"},{"openapi":"openapi-specs/demo-api.json get /onchain/networks/{network}/pools/{pool_address}/info","sidebarTitle":"Pool Tokens Info by Pool Address","title":"Pool Tokens Info by Pool Address","href":"/demo/reference/pool-token-info-contract-address"},{"openapi":"openapi-specs/demo-api.json get /onchain/networks/{network}/pools","sidebarTitle":"Top Pools by Network","title":"Top Pools by Network","href":"/demo/reference/top-pools-network"},{"openapi":"openapi-specs/demo-api.json get /onchain/networks/{network}/dexes/{dex}/pools","sidebarTitle":"Top Pools by DEX","title":"Top Pools by DEX","href":"/demo/reference/top-pools-dex"},{"openapi":"openapi-specs/demo-api.json get /onchain/networks/{network}/tokens/{token_address}/pools","sidebarTitle":"Top Pools by Token Address","title":"Top Pools by Token Address","href":"/demo/reference/top-pools-contract-address"}]},{"group":"New \u0026 Trending Pools","root":{"title":"Onchain New \u0026 Trending Pools","mode":"wide","href":"/demo/reference/onchain-new-and-trending-pools-overview"},"pages":[{"openapi":"openapi-specs/demo-api.json get /onchain/networks/new_pools","sidebarTitle":"New Pools List","title":"New Pools List","href":"/demo/reference/latest-pools-list"},{"openapi":"openapi-specs/demo-api.json get /onchain/networks/{network}/new_pools","sidebarTitle":"New Pools by Network","title":"New Pools by Network","href":"/demo/reference/latest-pools-network"},{"openapi":"openapi-specs/demo-api.json get /onchain/networks/trending_pools","sidebarTitle":"Trending Pools List","title":"Trending Pools List","href":"/demo/reference/trending-pools-list"},{"openapi":"openapi-specs/demo-api.json get /onchain/networks/{network}/trending_pools","sidebarTitle":"Trending Pools by Network","title":"Trending Pools by Network","href":"/demo/reference/trending-pools-network"}]},{"group":"Tokens","root":{"title":"Onchain Tokens","mode":"wide","href":"/demo/reference/onchain-tokens-overview"},"pages":[{"openapi":"openapi-specs/demo-api.json get /onchain/networks/{network}/tokens/{address}","sidebarTitle":"Token Data by Token Address","title":"Token Data by Token Address","href":"/demo/reference/token-data-contract-address"},{"openapi":"openapi-specs/demo-api.json get /onchain/networks/{network}/tokens/multi/{addresses}","sidebarTitle":"Tokens Data by Token Addresses","title":"Tokens Data by Token Addresses","href":"/demo/reference/tokens-data-contract-addresses"},{"openapi":"openapi-specs/demo-api.json get /onchain/networks/{network}/tokens/{address}/info","sidebarTitle":"Token Info by Token Address","title":"Token Info by Token Address","href":"/demo/reference/token-info-contract-address"},{"openapi":"openapi-specs/demo-api.json get /onchain/tokens/info_recently_updated","sidebarTitle":"Most Recently Updated Tokens List","title":"Most Recently Updated Tokens List","href":"/demo/reference/tokens-info-recent-updated"}]},{"group":"Charts","root":{"title":"Onchain Charts","mode":"wide","href":"/demo/reference/onchain-charts-overview"},"pages":[{"openapi":"openapi-specs/demo-api.json get /onchain/networks/{network}/pools/{pool_address}/ohlcv/{timeframe}","sidebarTitle":"Pool OHLCV Chart by Pool Address","title":"Pool OHLCV Chart by Pool Address","href":"/demo/reference/pool-ohlcv-contract-address"}]},{"group":"Trades","root":{"title":"Onchain Trades","mode":"wide","href":"/demo/reference/onchain-trades-overview"},"tag":"Hot","pages":[{"openapi":"openapi-specs/demo-api.json get /onchain/networks/{network}/pools/{pool_address}/trades","sidebarTitle":"Trades by Pool Address","title":"Trades by Pool Address","href":"/demo/reference/pool-trades-contract-address"}]}]}]},{"tab":"WebSocket","pages":[{"title":"WebSocket","href":"/websocket"}]},{"tab":"Webhooks","pages":[{"title":"Webhooks","href":"/webhooks"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"Coin Historical Data by ID - Coingecko API","deploymentId":"dpl_72MSwyBnA59N55RmMByBKiJ6RWpG","buildId":"dpl_72MSwyBnA59N55RmMByBKiJ6RWpG","dynamics":["10e4515597","c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["BannerMarkdown-CN27QidC.js","dist-CpT8yZOW.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js","OpenApiReferenceProvider-CbGMcFGR.js","snippetPresets-Bmv5mKa2.js","utils-CIXWNXpX.js","style-to-object-BY3JEAdk.js","utils-Ao5f3MLv.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-CnDl3Tzk.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DCKK_-ms.js","_Uint8Array-AD2KodMR.js","isObject-FP1Yky1u.js","ApiExamples-WuhTLGpi.js","usePlaygroundInputsStore-TEEPsnq4.js","shallow-CPMaphSa.js","isEqual-DPVEsfEY.js","CodeSnippets-4KiTz0PS.js","CodeSnippet-Cy8aP2_X.js","use-playground-group-access-DM2iaKsK.js","Page-Ch7YiUoh.js","api-description-markdown-CN0nQq69.js","DynamicMarkdown-fZBmrd-V.js","SectionHeading-CwLwzaE9.js","MethodPill-De3Dnqxv.js","getPastedJson-obk3J_hD.js","Check2Icon-BbG90KLF.js","axios-CsQoIw0U.js","Markdown-CaQvVc8r.js","AssistantPageLink-C8wUIKD2.js"]}