Prices are returned in USD. Addresses not found in GeckoTerminal will be ignored.
Supports up to 30 contract addresses per request. Analyst plan or above supports up to 100.
Unverified token market cap returns null. Use mcap_fdv_fallback=true to return FDV value (as seen on GeckoTerminal) when market cap data is unavailable.
GeckoTerminal’s routing selects the best pool for pricing based on liquidity and activity. For full control, use Specific Pool Data with a specific pool address.
Set include_inactive_source=true to expand the search to recently active pools (up to 1 year) if no top pool is found.
{"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":"dbde5526-27b8-45d6-bbe2-03a349bb7471","liveDeploymentHistoryId":"6ae97e21bd9169b37160e11a","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae97e21bd9169b37160e11a"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae97e21bd9169b37160e11a","clientVersion":"0.0.4074","searchFilterCounts":[{"language":"default","tag":"CoinGecko API","count":112},{"language":"default","tag":"Pro API Reference","count":106},{"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":"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":"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":"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":"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":"assistant-v5","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":"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":"turbopuffer-dual-write","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},{"name":"approve-review-flow","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":"comment-mode","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/onchain-simple-price","slug":"/demo/reference/onchain-simple-price","pageMetadata":{"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","description":"To get token price based on the provided token contract address on a network","href":"/demo/reference/onchain-simple-price"},"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 get token price based on the provided token contract address on a network\"\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`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading,_MdxComponentBoundary}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!_MdxComponentBoundary)_missingMdxReference(`_MdxComponentBoundary`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`4`,id:`notes`,children:`Notes`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Prices are returned in USD. Addresses not found in GeckoTerminal will be ignored.`}),`\n`,_jsxs(_components.li,{children:[`Supports up to `,_jsx(_components.strong,{children:`30 contract addresses`}),` per request. `,_jsx(_components.a,{href:`https://www.coingecko.com/en/api/pricing`,children:`Analyst plan or above`}),` supports up to 100.`]}),`\n`,_jsxs(_components.li,{children:[`Unverified token market cap returns `,_jsx(_components.code,{children:`null`}),`. Use `,_jsx(_components.code,{children:`mcap_fdv_fallback=true`}),` to return FDV value (as seen on `,_jsx(_components.a,{href:`https://www.geckoterminal.com/`,children:`GeckoTerminal`}),`) when market cap data is unavailable.`]}),`\n`,_jsxs(_components.li,{children:[`GeckoTerminal’s routing selects the best pool for pricing based on liquidity and activity. For full control, use `,_jsx(_components.a,{href:`/demo/reference/pool-address`,children:`Specific Pool Data`}),` with a specific pool address.`]}),`\n`,_jsxs(_components.li,{children:[`Set `,_jsx(_components.code,{children:`include_inactive_source=true`}),` to expand the search to recently active pools (up to 1 year) if no top pool is found.`]}),`\n`]}),`\n`,_jsx(_MdxComponentBoundary,{name:`CacheInfo`,children:_jsx(CacheInfo,{paidRate:0,publicRate:`60 seconds`})}),`\n`,_jsx(Heading,{level:`4`,id:`sdk-examples`,children:`SDK Examples`}),`\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:`onchain`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`simple`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`networks`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`tokenPrice`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`getAddresses`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2'`}),_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:` network:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'eth'`}),_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.onchain.simple.networks.token_price.get_addresses(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2\"`}),_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:` network`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"eth\"`}),_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 /onchain/simple/networks/{network}/token_price/{addresses}","sidebarTitle":"Token Price by Token Addresses","title":"Token Price by Token Addresses","description":"To get token price based on the provided token contract address on a network","href":"/demo/reference/onchain-simple-price"}}},"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/ad7eef8e10594eee/cookie-consent.js","/_mintlify/custom/coingecko/0c2aa799958a4d27/inkeep.js"],"openApiReferenceData":{"operation":{"summary":"Token Price by Token Addresses","description":"To get token price based on the provided token contract address on a network","operationId":"onchain-simple-price","x-mint":{"href":"/reference/onchain-simple-price"},"parameters":["bfe527d4-abf5-4c84-bf61-9091504b4773","b8902518-b611-45b2-9098-f2c7610e04d6","a5499cff-c184-4035-8b66-b4536f70e8b6","fc008c46-25ae-4ee7-b94e-33b4f7426b84","7975cbda-6d28-48d2-8780-4a0339b9ed0e","52bdf854-23ae-4a56-b180-1e64d3bf254e","aefb16d9-3be7-48fe-b5d1-e4f4a58892fd","e878aaff-7f8a-4b6f-a3e6-578677b402e4"],"responses":{"200":"faafd0f8-0a5b-4b38-8eb9-c2fd0643a421"},"method":"get","type":"path","servers":["2bc57f93-30a8-4a16-8396-648b23ec1c0b"],"security":["49df63b4-fafe-4d55-9c50-cb87636718c1","2d258c1f-59e2-4c07-914b-0d9d4d99445b"],"path":"/onchain/simple/networks/{network}/token_price/{addresses}","baseUrlOptions":["https://api.coingecko.com/api/v3"],"title":"Token Price by Token Addresses","codeSamples":[],"requestExampleLanguages":["bash"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","disableProxy":true},"dependencies":{"parameters":{"bfe527d4-abf5-4c84-bf61-9091504b4773":{"name":"network","in":"path","required":true,"description":"Network ID. \n*refers to [`/onchain/networks`](/reference/networks-list).","schema":{"type":"string","default":"eth","isRequired":true,"description":"Network ID. \n*refers to [`/onchain/networks`](/reference/networks-list).","uniqueKey":"","typeLabel":"string"}},"b8902518-b611-45b2-9098-f2c7610e04d6":{"name":"addresses","in":"path","required":true,"description":"Token contract address, comma-separated if more than one token contract address.","schema":{"type":"string","default":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","isRequired":true,"description":"Token contract address, comma-separated if more than one token contract address.","uniqueKey":"","typeLabel":"string"}},"a5499cff-c184-4035-8b66-b4536f70e8b6":{"name":"include_market_cap","in":"query","required":false,"description":"Include market capitalization. \nDefault: `false`","schema":{"type":"boolean","isRequired":false,"description":"Include market capitalization. \nDefault: `false`","uniqueKey":"","typeLabel":"boolean"}},"fc008c46-25ae-4ee7-b94e-33b4f7426b84":{"name":"mcap_fdv_fallback","in":"query","required":false,"description":"Return FDV if market cap is not available. \nDefault: `false`","schema":{"type":"boolean","isRequired":false,"description":"Return FDV if market cap is not available. \nDefault: `false`","uniqueKey":"","typeLabel":"boolean"}},"7975cbda-6d28-48d2-8780-4a0339b9ed0e":{"name":"include_24hr_vol","in":"query","required":false,"description":"Include 24hr volume. \nDefault: `false`","schema":{"type":"boolean","isRequired":false,"description":"Include 24hr volume. \nDefault: `false`","uniqueKey":"","typeLabel":"boolean"}},"52bdf854-23ae-4a56-b180-1e64d3bf254e":{"name":"include_24hr_price_change","in":"query","required":false,"description":"Include 24hr price change. \nDefault: `false`","schema":{"type":"boolean","isRequired":false,"description":"Include 24hr price change. \nDefault: `false`","uniqueKey":"","typeLabel":"boolean"}},"aefb16d9-3be7-48fe-b5d1-e4f4a58892fd":{"name":"include_total_reserve_in_usd","in":"query","required":false,"description":"Include total reserve in USD. \nDefault: `false`","schema":{"type":"boolean","isRequired":false,"description":"Include total reserve in USD. \nDefault: `false`","uniqueKey":"","typeLabel":"boolean"}},"e878aaff-7f8a-4b6f-a3e6-578677b402e4":{"name":"include_inactive_source","in":"query","required":false,"description":"Include token price data from inactive pools using the most recent swap. \nDefault: `false`","schema":{"type":"boolean","isRequired":false,"description":"Include token price data from inactive pools using the most recent swap. \nDefault: `false`","uniqueKey":"","typeLabel":"boolean"}}},"responses":{"faafd0f8-0a5b-4b38-8eb9-c2fd0643a421":{"description":"Token price data","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"object","required":["id","type","attributes"],"properties":{"id":{"type":"string","description":"Request ID","isRequired":true,"uniqueKey":"data.id","typeLabel":"string"},"type":{"type":"string","description":"Response type","isRequired":true,"uniqueKey":"data.type","typeLabel":"string"},"attributes":{"type":"object","required":["token_prices"],"properties":{"token_prices":{"type":"object","description":"Token prices keyed by contract address","additionalProperties":{"type":"string","uniqueKey":"data.attributes.token_prices.additionalProperties","typeLabel":"string"},"isRequired":true,"uniqueKey":"data.attributes.token_prices","typeLabel":"object"},"market_cap_usd":{"type":"object","description":"Market cap in USD keyed by contract address","additionalProperties":{"type":"string","uniqueKey":"data.attributes.market_cap_usd.additionalProperties","typeLabel":"string"},"uniqueKey":"data.attributes.market_cap_usd","typeLabel":"object"},"h24_volume_usd":{"type":"object","description":"24hr volume in USD keyed by contract address","additionalProperties":{"type":"string","uniqueKey":"data.attributes.h24_volume_usd.additionalProperties","typeLabel":"string"},"uniqueKey":"data.attributes.h24_volume_usd","typeLabel":"object"},"h24_price_change_percentage":{"type":"object","description":"24hr price change percentage keyed by contract address","additionalProperties":{"type":"string","uniqueKey":"data.attributes.h24_price_change_percentage.additionalProperties","typeLabel":"string"},"uniqueKey":"data.attributes.h24_price_change_percentage","typeLabel":"object"},"total_reserve_in_usd":{"type":"object","description":"Total reserve in USD keyed by contract address","additionalProperties":{"type":"string","uniqueKey":"data.attributes.total_reserve_in_usd.additionalProperties","typeLabel":"string"},"uniqueKey":"data.attributes.total_reserve_in_usd","typeLabel":"object"},"last_trade_timestamp":{"type":"object","description":"Last trade timestamp keyed by contract address","additionalProperties":{"type":"string","uniqueKey":"data.attributes.last_trade_timestamp.additionalProperties","typeLabel":"string"},"uniqueKey":"data.attributes.last_trade_timestamp","typeLabel":"object"}},"isRequired":true,"uniqueKey":"data.attributes","typeLabel":"object"}},"isRequired":true,"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"data":{"id":"49dd0b90-d99d-48b6-8fe2-03e826fbcef2","type":"simple_token_price","attributes":{"token_prices":{"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2":"2084.57379936447"},"market_cap_usd":{"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2":"4706652516.682727"},"h24_volume_usd":{"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2":"313441016.145429"},"h24_price_change_percentage":{"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2":"-1.8867250098940773"},"total_reserve_in_usd":{"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2":"1015673598.896450024556193850116628967"},"last_trade_timestamp":{"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2":"1779882383"}}}},"examples":{"Example":{"title":"Example","value":{"data":{"id":"49dd0b90-d99d-48b6-8fe2-03e826fbcef2","type":"simple_token_price","attributes":{"token_prices":{"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2":"2084.57379936447"},"market_cap_usd":{"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2":"4706652516.682727"},"h24_volume_usd":{"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2":"313441016.145429"},"h24_price_change_percentage":{"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2":"-1.8867250098940773"},"total_reserve_in_usd":{"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2":"1015673598.896450024556193850116628967"},"last_trade_timestamp":{"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2":"1779882383"}}}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"49df63b4-fafe-4d55-9c50-cb87636718c1":{"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"}},"2d258c1f-59e2-4c07-914b-0d9d4d99445b":{"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":{"2bc57f93-30a8-4a16-8396-648b23ec1c0b":{"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":"Token Price by Token Addresses - CoinGecko API","contextualStarterQuestions":[{"_id":"6a72b8b48cc1259037a53dea","deploymentId":"6a2fd114dad4590845608f80","questionText":"How often is data updated?","status":"active","generatedBy":"contextual","path":"demo/reference/onchain-simple-price","createdAt":"2026-08-05T04:14:44.622Z","updatedAt":"2026-08-05T04:14:44.622Z","__v":0},{"_id":"6a72b8b48cc1259037a53de8","deploymentId":"6a2fd114dad4590845608f80","questionText":"How do I get token prices?","status":"active","generatedBy":"contextual","path":"demo/reference/onchain-simple-price","createdAt":"2026-08-05T04:14:44.622Z","updatedAt":"2026-08-05T04:14:44.622Z","__v":0},{"_id":"6a72b8b48cc1259037a53de9","deploymentId":"6a2fd114dad4590845608f80","questionText":"What's the max addresses limit?","status":"active","generatedBy":"contextual","path":"demo/reference/onchain-simple-price","createdAt":"2026-08-05T04:14:44.622Z","updatedAt":"2026-08-05T04:14:44.622Z","__v":0}],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-06-15T11:12:48.491Z","originalFileLocation":"demo/reference/onchain-simple-price.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 get token price based on the provided token contract address on a network\">\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=\"Token Price by Token Addresses - CoinGecko API\">\u003cmeta data-mint-head property=\"og:description\" content=\"To get token price based on the provided token contract address on a network\">\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-simple-price\">\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=Price\u0026amp;title=Token+Price+by+Token+Addresses\u0026amp;description=To+get+token+price+based+on+the+provided+token+contract+address+on+a+network\u0026amp;theme=7d94e83892c91e1c01ec597e\u0026amp;signature=fec84cbeffde3f019d7eb811b381380cae97d4cc5be9b437b8d0d89380728c4e\">\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=\"Token Price by Token Addresses - CoinGecko API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"To get token price based on the provided token contract address on a network\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://coingecko.mintlify.site/_mintlify/api/og/v2?division=Price\u0026amp;title=Token+Price+by+Token+Addresses\u0026amp;description=To+get+token+price+based+on+the+provided+token+contract+address+on+a+network\u0026amp;theme=7d94e83892c91e1c01ec597e\u0026amp;signature=fec84cbeffde3f019d7eb811b381380cae97d4cc5be9b437b8d0d89380728c4e\">\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-simple-price\">\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-simple-price.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-simple-price#webpage\",\"url\":\"https://docs.coingecko.com/demo/reference/onchain-simple-price\",\"name\":\"Token Price by Token Addresses\",\"description\":\"To get token price based on the provided token contract address on a network\",\"dateModified\":\"2026-06-15T11:12:48.491Z\",\"isPartOf\":{\"@id\":\"https://docs.coingecko.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.coingecko.com/demo/reference/onchain-simple-price#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.coingecko.com/demo/reference/onchain-simple-price#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Price\",\"item\":\"https://docs.coingecko.com/demo/reference/onchain-price-overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Token Price by Token Addresses\",\"item\":\"https://docs.coingecko.com/demo/reference/onchain-simple-price\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.coingecko.com/demo/reference/onchain-simple-price#apireference\",\"headline\":\"Token Price by Token Addresses\",\"name\":\"Token Price by Token Addresses\",\"description\":\"To get token price based on the provided token contract address on a network\",\"url\":\"https://docs.coingecko.com/demo/reference/onchain-simple-price\",\"mainEntityOfPage\":{\"@id\":\"https://docs.coingecko.com/demo/reference/onchain-simple-price#webpage\"},\"dateModified\":\"2026-06-15T11:12:48.491Z\",\"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","description":"Onchain token prices by contract address across every network GeckoTerminal indexes.","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","description":"Search DEX pools and look up the network and DEX identifiers the onchain endpoints require.","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":"Token Price by Token Addresses - CoinGecko API","buildId":"dpl_BLQvU86QFwq3AhPofSTw6q8dGWKm","deploymentId":"dpl_BLQvU86QFwq3AhPofSTw6q8dGWKm","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-Myd8dsju.js","utils-C2HkQgW0.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-8rSppmTv.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-B6MjiCFm.js","snippetPresets-DwrSAONL.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-1-a5UQKQ.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C541m7wZ.js","shallow-CWELCZ77.js","getApiPlaygroundDisplay-CTo5Zn03.js","CodeSnippet-D--dzvnl.js","CodeSnippets-DM3cXEDh.js","Page-CxAy5y67.js","getPastedJson-C-VECgcL.js","icon-BPq2-Mg3.js","MethodPill-D9J5cUHd.js","DuplicateIcon-BqHaxUnD.js","createIcon-CIbcZHp9.js","DynamicMarkdown-BKiHAm_d.js","SectionHeading-DstQXt3H.js","axios-vUo_bRtp.js","Markdown-CpxgzsKA.js","clsx-C5EfhVm0.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CJ9Oly2E.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-Mk6P3qvh.js"]}