{"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},"integrations":{"ga4":{"measurementId":"G-JY6RVTQ2W8"}},"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":""},"chroma":{"collectionId":"c1d1b865-07a5-4c71-ad6c-f13752b6e745","liveDeploymentHistoryId":"6ae1c8e69297755be19f2636","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae1c8e69297755be19f2636"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae1c8e69297755be19f2636","clientVersion":"0.0.4005","searchFilterCounts":[{"language":"default","tag":"CoinGecko API","count":111},{"language":"default","tag":"Pro API Reference","count":105},{"language":"default","tag":"Demo API Reference","count":68},{"language":"default","tag":"Onchain API","count":58},{"language":"default","tag":"Overview","count":21},{"language":"default","tag":"Search \u0026 ID Map","count":16},{"language":"default","tag":"Coin Charts","count":15},{"language":"default","tag":"AI Integration","count":13},{"language":"default","tag":"Coins","count":13},{"language":"default","tag":"Pools","count":13}]},"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":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","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":"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":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"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":"editor-nav-generations","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":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","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":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","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:0 0!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\"],\n [data-current-path=\"/examples\"]) #sidebar{display:none!important}html:is([data-current-path=\"/changelog\"],\n [data-current-path=\"/examples\"]) #content-area{margin-left:0!important;margin-right:0!important}@media (min-width:1024px){html:is([data-current-path=\"/changelog\"],\n [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,.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,.4)!important}html[data-current-path=\"/changelog\"] [data-component-part=update-content] hr{margin-top:2rem;margin-bottom:4rem}"}],"page":{"pagePath":"demo/reference/onchain-charts-overview","slug":"/demo/reference/onchain-charts-overview","pageMetadata":{"title":"Onchain Charts","description":"OHLCV candlestick charts for DEX pools and tokens, from second to day timeframes.","mode":"wide","hideFooterPagination":true,"href":"/demo/reference/onchain-charts-overview"},"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: \"OHLCV candlestick charts for DEX pools and tokens, from second to day timeframes.\"\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 OverviewFooter=({api=`pro`})=>{const{Card,CardGroup}=_provideComponents()||{};if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);const isDemo=api===`demo`;return _jsxs(_Fragment,{children:[_jsx(`hr`,{}),_jsxs(CardGroup,{cols:2,children:[_jsxs(Card,{title:`Full endpoint list`,icon:`map`,href:isDemo?`/demo/reference/endpoint-overview`:`/reference/endpoint-overview`,horizontal:true,arrow:`true`,children:[`Browse every endpoint in `,isDemo?`Demo`:`Pro`,` API.`]}),_jsx(Card,{title:`Build with AI`,icon:`robot`,href:`/ai-integration`,horizontal:true,arrow:`true`,children:`Connect AI agents and integration.`})]})]})};function _createMdxContent(props){const _components={a:`a`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Table,_MdxComponentBoundary}=_components;if(!Table)_missingMdxReference(`Table`,true);if(!_MdxComponentBoundary)_missingMdxReference(`_MdxComponentBoundary`,true);return _jsxs(_Fragment,{children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Endpoint`}),_jsx(_components.th,{children:`Description`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsxs(_components.a,{href:`/demo/reference/pool-ohlcv-contract-address`,children:[`/onchain/networks/{network}/pools`,_jsx(`br`,{}),`/{pool_address}/ohlcv/{timeframe}`]})}),_jsx(_components.td,{children:`Pool OHLCV chart by pool address`})]})})]}),`\n`,_jsx(_MdxComponentBoundary,{name:`OverviewFooter`,children:_jsx(OverviewFooter,{api:`demo`})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{OverviewFooter,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":{"title":"Onchain Charts","description":"OHLCV candlestick charts for DEX pools and tokens, from second to day timeframes.","mode":"wide","hideFooterPagination":true,"href":"/demo/reference/onchain-charts-overview"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[150,808,")=>null;function _cr"]]},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/coingecko/ad7eef8e10594eee/cookie-consent.js","/_mintlify/custom/coingecko/0c2aa799958a4d27/inkeep.js"],"subdomain":"coingecko","siteName":"CoinGecko API","title":"Onchain Charts - CoinGecko API","contextualStarterQuestions":[{"_id":"6a93269a7acea9ab71504df5","deploymentId":"6a2fd114dad4590845608f80","questionText":"How do I query by pool address?","status":"active","generatedBy":"contextual","path":"demo/reference/onchain-charts-overview","createdAt":"2026-08-29T18:36:10.045Z","updatedAt":"2026-08-29T18:36:10.045Z","__v":0},{"_id":"6a93269a7acea9ab71504df4","deploymentId":"6a2fd114dad4590845608f80","questionText":"What timeframes are supported?","status":"active","generatedBy":"contextual","path":"demo/reference/onchain-charts-overview","createdAt":"2026-08-29T18:36:10.045Z","updatedAt":"2026-08-29T18:36:10.045Z","__v":0},{"_id":"6a93269a7acea9ab71504df3","deploymentId":"6a2fd114dad4590845608f80","questionText":"How do I get pool OHLCV data?","status":"active","generatedBy":"contextual","path":"demo/reference/onchain-charts-overview","createdAt":"2026-08-29T18:36:10.045Z","updatedAt":"2026-08-29T18:36:10.045Z","__v":0}],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-29T18:35:38.279Z","originalFileLocation":"demo/reference/onchain-charts-overview.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=\"OHLCV candlestick charts for DEX pools and tokens, from second to day timeframes.\">\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=\"Onchain Charts - CoinGecko API\">\u003cmeta data-mint-head property=\"og:description\" content=\"OHLCV candlestick charts for DEX pools and tokens, from second to day timeframes.\">\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/onchain-charts-overview\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://coingecko.mintlify.app/_mintlify/api/og/v2?division=Documentation\u0026amp;title=Onchain+Charts\u0026amp;description=OHLCV+candlestick+charts+for+DEX+pools+and+tokens%2C+from+second+to+day+timeframes.\u0026amp;theme=7d94e83892c91e1c01ec597e\u0026amp;signature=48dc9f74c130d5db206087fd912512a8c29437e7f9aa94d027e673ff8974a974\">\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=\"Onchain Charts - CoinGecko API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"OHLCV candlestick charts for DEX pools and tokens, from second to day timeframes.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://coingecko.mintlify.app/_mintlify/api/og/v2?division=Documentation\u0026amp;title=Onchain+Charts\u0026amp;description=OHLCV+candlestick+charts+for+DEX+pools+and+tokens%2C+from+second+to+day+timeframes.\u0026amp;theme=7d94e83892c91e1c01ec597e\u0026amp;signature=48dc9f74c130d5db206087fd912512a8c29437e7f9aa94d027e673ff8974a974\">\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/onchain-charts-overview\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/demo/reference/onchain-charts-overview.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/onchain-charts-overview#webpage\",\"url\":\"https://docs.coingecko.com/demo/reference/onchain-charts-overview\",\"name\":\"Onchain Charts\",\"description\":\"OHLCV candlestick charts for DEX pools and tokens, from second to day timeframes.\",\"dateModified\":\"2026-08-29T18:35:38.279Z\",\"isPartOf\":{\"@id\":\"https://docs.coingecko.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.coingecko.com/demo/reference/onchain-charts-overview#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.coingecko.com/demo/reference/onchain-charts-overview#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Onchain API\",\"item\":\"https://docs.coingecko.com/demo/reference/onchain-simple-price\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Onchain Charts\",\"item\":\"https://docs.coingecko.com/demo/reference/onchain-charts-overview\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.coingecko.com/demo/reference/onchain-charts-overview#article\",\"headline\":\"Onchain Charts\",\"name\":\"Onchain Charts\",\"description\":\"OHLCV candlestick charts for DEX pools and tokens, from second to day timeframes.\",\"url\":\"https://docs.coingecko.com/demo/reference/onchain-charts-overview\",\"mainEntityOfPage\":{\"@id\":\"https://docs.coingecko.com/demo/reference/onchain-charts-overview#webpage\"},\"dateModified\":\"2026-08-29T18:35:38.279Z\",\"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\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","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","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","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/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","description":"To query 100 most recently updated tokens info of a specific network or across all networks on GeckoTerminal","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","description":"To get the OHLCV chart (Open, High, Low, Close, Volume) of a pool based on the provided pool address on a network","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"}]}]},"title":"Onchain Charts - CoinGecko API","buildId":"dpl_48qhjNLiu9iJQQSZJz9Fa2ihBbPH","deploymentId":"dpl_48qhjNLiu9iJQQSZJz9Fa2ihBbPH","dynamics":[],"chunks":[]}