One candle series per token, in USD. Where pool OHLCV gives you the price of one pair in one pool, this endpoint gives you the token’s price across every pool it trades in on the network, weighted by volume. You do not have to pick a pool first, and a thin pool with a stray trade does not become your chart.The candles come from the same token price series as the real-time OHLCV stream, so you can load history here and continue live on /sse/ohlcv.
Dev, Pro or Enterprise only. Keyless requests and free keys get 403 with "error": "plan_required" (the message reads this endpoint requires a Dev or Pro plan); see 403 for paid-only endpoints for the full body. Paid plans call https://api-pro.dexpaprika.com with the key as the whole Authorization header. Get a key in console.dexpaprika.com and compare plans on pricing.
start, end and the number of candles are checked against the window the same way as on pool OHLCV. Details on the rate limits page. Each request costs one credit, whatever the number of candles it returns.
Reading the response
open, high, low and close are USD prices. There is no inversed flag here, because a token series has no second token to flip to.
volume is the USD value traded in the token across all its pools during the candle, as a whole number.
A candle only exists for an interval in which the token traded. On a quiet token a series of 1m candles has gaps; fill them on your side if your chart needs a continuous axis.
The latest candle can still be open. Its time_close is then earlier than a full interval after time_open, and its values change until the interval ends. Re-read it rather than caching it.
Pool OHLCV is the price of one pair in one pool, quoted in the other token of that pair unless you flip it with inversed. Token OHLCV is the token’s USD price across every pool it trades in on the network, weighted by volume, with volume summed across those pools. Use token OHLCV for charts, backtests and valuation; use pool OHLCV when you care about one specific market.
Which plans can call it?
Dev, Pro and Enterprise, on https://api-pro.dexpaprika.com. Dev can query the last 30 days; Pro and Enterprise have no plan limit on history. Keyless requests and free keys get 403. Plans are on pricing.
Which intervals are supported?
1m, 5m, 10m, 15m, 30m, 1h, 6h, 12h, 24h, up to 1000 candles per request. interval defaults to 24h and limit to 10, so set both.
How do I request a time range?
start is required: a relative offset from now (-24h, -7d, -90m), an RFC3339 timestamp, a date or Unix seconds. end is optional and takes the same formats. On Dev the range must fit inside the last 30 days.
Why are some minutes missing?
A candle is only produced for an interval in which the token traded. No trades, no candle. This is expected on less active tokens and on short intervals.
USD candles for a token, built from every pool it trades in.
Path Parameters
network
string
required
Network slug or ID (e.g., 'solana'). You can find the list of supported networks with their IDs here: /networks.
token_address
string
required
Token contract address. Such as JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN for Jupiter on Solana.
Query Parameters
start
string
required
Start time for the OHLCV data. Required; "-24h" selects the last 24 hours.
Accepted formats:
Relative offset from now (e.g., "-24h", "-7d", "-90m"; units: s, m, h, d)
Unix timestamp
RFC3339 timestamp (e.g., "2023-10-27T08:07:20Z")
Date (e.g., "2023-10-27", interpreted as 00:00:00 UTC)
Example:
"-24h"
end
string
End time for the OHLCV data.
Accepted formats:
Relative offset from now (e.g., "-1h", "-2d")
Unix timestamp
RFC3339 timestamp (e.g., "2023-10-27T10:00:00Z")
Date (e.g., "2023-10-27", interpreted as 00:00:00 UTC)
Example:
"1741508640"
limit
integer<int32>
default:10
Maximum number of OHLCV records to return.
Required range: 1 <= x <= 1000
interval
enum<string>
default:24h
The time interval for each OHLCV record (candle).
Available options:
1m,
5m,
10m,
15m,
30m,
1h,
6h,
12h,
24h
count_back
integer<int32>
Returns the last N candles with data up to end, ignoring start.
Required range: 0 <= x <= 350
Response
A list of OHLCV records successfully retrieved.
time_open
string<date-time>
required
The opening timestamp of the OHLCV period.
Example:
"2023-10-27T10:00:00Z"
time_close
string<date-time>
required
The closing timestamp of the OHLCV period.
Example:
"2023-10-27T11:00:00Z"
open
number<double>
required
The opening price for the period.
Example:
1500.5
high
number<double>
required
The highest price reached during the period.
Example:
1525.75
low
number<double>
required
The lowest price reached during the period.
Example:
1495.25
close
number<double>
required
The closing price for the period.
Example:
1510
volume
integer<int64>
required
The total volume traded during the period.
Example:
1234567890123
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"DexPaprika API","description":"Real-time DEX and on-chain cryptocurrency data: liquidity pools, swaps, token prices, transactions, and live SSE streams (token prices, pool reserves, transactions and candles) across 35 blockchain networks. REST API + streaming, no API key needed to start.","colors":{"primary":"#00A84E","light":"#00FF75","dark":"#00753A"},"logo":{"light":"https://mintcdn.com/coinpaprikaspzoo/qdXqFGfH5cg6MFHp/logo/light.svg?fit=max\u0026auto=format\u0026n=qdXqFGfH5cg6MFHp\u0026q=85\u0026s=3815800db38511a4187280846c0bcbff","dark":"https://mintcdn.com/coinpaprikaspzoo/qdXqFGfH5cg6MFHp/logo/dark.svg?fit=max\u0026auto=format\u0026n=qdXqFGfH5cg6MFHp\u0026q=85\u0026s=de1dd2ed4d6187b51748f69c65a6f0e0","href":"https://dexpaprika.com"},"favicon":"https://mintcdn.com/coinpaprikaspzoo/qdXqFGfH5cg6MFHp/favicon.svg?fit=max\u0026auto=format\u0026n=qdXqFGfH5cg6MFHp\u0026q=85\u0026s=b4cfdda7745f0c5839ff66a82ef89709","api":{"playground":{}},"appearance":{"default":"dark"},"navbar":{"links":[{"href":"https://console.dexpaprika.com","label":"Console"},{"href":"https://dexpaprika.com/api/pricing","label":"Pricing"},{"href":"mailto:support@coinpaprika.com","label":"Support"},{"href":"https://status.dexpaprika.com/","label":"Status"},{"href":"https://dexpaprika.com/terms","label":"Terms of Use"}],"primary":{"type":"button","label":"Get an API key","href":"https://console.dexpaprika.com"}},"footer":{"socials":{"x":"https://x.com/coinpaprika","github":"https://github.com/coinpaprika"}},"seo":{"metatags":{"description":"Official DexPaprika API docs. Query on-chain DEX liquidity pools, swaps, tokens, prices, and transactions across multiple networks.","keywords":"dex api, on-chain crypto api, liquidity pool api, swap data api, defi data api, crypto api, crypto price api, cryptocurrency data api","robots":"index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1","og:type":"website","og:site_name":"DexPaprika","twitter:card":"summary_large_image"},"indexing":"all"},"integrations":{"ga4":{"measurementId":"G-1WLLWHVKMG"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity",{"title":"Cursor Integration","description":"Install DexPaprika MCP server in Cursor IDE","icon":"laptop-code","href":"cursor://anysphere.cursor-deeplink/mcp/install?name=DexPaprika\u0026config=eyJuYW1lIjoiRGV4UGFwcmlrYSIsInVybCI6Imh0dHBzOi8vbWNwLmRleHBhcHJpa2EuY29tL3NzZSJ9Cg=="},{"title":"VS Code Integration","description":"Install DexPaprika MCP server in VS Code","icon":"code","href":"vscode:mcp/install?%7B%22name%22%3A%22DexPaprika%20API%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.dexpaprika.com%2Fsse%22%7D"}],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"REST API Reference","icon":"code","href":"https://docs.dexpaprika.com/api-reference/introduction"},{"anchor":"Discord Community","icon":"discord","href":"https://discord.gg/DhJge5TUGM"},{"anchor":"DexPaprika","icon":"browser","href":"https://dexpaprika.com"},{"anchor":"CoinPaprika","icon":"pepper-hot","href":"https://coinpaprika.com"},{"anchor":"CoinPaprika on X","icon":"x-twitter","href":"https://x.com/coinpaprika"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"coinpaprikaspzoo","hasAudioNarration":false,"actualSubdomain":"coinpaprikaspzoo","customDomains":["docs.dexpaprika.com"],"gitSource":{"type":"github","owner":"coinpaprika","repo":"dexpaprika-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"issues":true,"thumbs":true},"entitlements":{},"buildId":"6af73e258995c8cbf2f618eb","clientVersion":"0.0.4142","searchFilterCounts":[{"language":"default","tag":"Overview","count":42},{"language":"default","tag":"Tutorials","count":23},{"language":"default","tag":"DEX REST API Reference","count":18},{"language":"default","tag":"AI Integration","count":16},{"language":"default","tag":"Streaming","count":16},{"language":"default","tag":"Knowledge Base","count":9},{"language":"default","tag":"Editors \u0026 AI assistants","count":7},{"language":"default","tag":"Streaming Reference","count":7},{"language":"default","tag":"API Reference","count":7},{"language":"default","tag":"Streaming Endpoints","count":7}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","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":"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":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"a div:has(>div>.nav-tag-pill){flex-wrap:nowrap;align-items:flex-start}a div:has(>.nav-tag-pill){order:-1}a div:has(>div>.nav-tag-pill)>span{hyphens:manual}"}],"page":{"pagePath":"api-reference/tokens/get-ohlcv-data-for-a-token","slug":"/api-reference/tokens/get-ohlcv-data-for-a-token","pageMetadata":{"openapi":"api-reference/openapi.yml GET /networks/{network}/tokens/{token_address}/ohlcv","title":"Get OHLCV data for a token","description":"Historical OHLCV candles for a token in USD, built from a volume-weighted price across every pool the token trades in. Needs a Dev or Pro plan.","tag":"PAID","href":"/api-reference/tokens/get-ohlcv-data-for-a-token"},"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: \"Historical OHLCV candles for a token in USD, built from a volume-weighted price across every pool the token trades in. Needs a Dev or Pro plan.\"\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];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,Card,CodeBlock,Heading,Table,Tip,Warning}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!Card)_missingMdxReference(`Card`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`endpoint-overview`,children:`Endpoint overview`}),`\n`,_jsxs(_components.p,{children:[`One candle series per token, in USD. Where `,_jsx(_components.a,{href:`/api-reference/pools/get-ohlcv-data-for-a-pool-pair`,children:`pool OHLCV`}),` gives you the price of one pair in one pool, this endpoint gives you the token’s price across every pool it trades in on the network, weighted by volume. You do not have to pick a pool first, and a thin pool with a stray trade does not become your chart.`]}),`\n`,_jsxs(_components.p,{children:[`The candles come from the same token price series as the `,_jsx(_components.a,{href:`/streaming/ohlcv-streaming`,children:`real-time OHLCV stream`}),`, so you can load history here and continue live on `,_jsx(_components.code,{children:`/sse/ohlcv`}),`.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Dev, Pro or Enterprise only.`}),` Keyless requests and free keys get `,_jsx(_components.code,{children:`403`}),` with `,_jsx(_components.code,{children:`\"error\": \"plan_required\"`}),` (the `,_jsx(_components.code,{children:`message`}),` reads `,_jsx(_components.code,{children:`this endpoint requires a Dev or Pro plan`}),`); see `,_jsx(_components.a,{href:`/knowledge-base/error-handling#403-forbidden-paid-only-endpoint`,children:`403 for paid-only endpoints`}),` for the full body. Paid plans call `,_jsx(_components.code,{children:`https://api-pro.dexpaprika.com`}),` with the key as the whole `,_jsx(_components.code,{children:`Authorization`}),` header. Get a key in `,_jsx(_components.a,{href:`https://console.dexpaprika.com`,children:`console.dexpaprika.com`}),` and compare plans on `,_jsx(_components.a,{href:`https://dexpaprika.com/api/pricing`,children:`pricing`}),`.`]})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$DEXPAPRIKA_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api-pro.dexpaprika.com/networks/ethereum/tokens/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2/ohlcv?start=-24h\u0026interval=1h\u0026limit=24\"`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`plan-limits`,children:`Plan limits`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Plan`}),_jsx(_components.th,{children:`Candle intervals`}),_jsx(_components.th,{children:`History depth`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Free (no key or registered key)`})}),_jsx(_components.td,{children:`not available`}),_jsx(_components.td,{children:`not available`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Dev`})}),_jsxs(_components.td,{children:[`all (`,_jsx(_components.code,{children:`1m`}),` to `,_jsx(_components.code,{children:`24h`}),`)`]}),_jsx(_components.td,{children:`last 30 days`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Pro / Enterprise`})}),_jsx(_components.td,{children:`all`}),_jsx(_components.td,{children:`no plan limit`})]})]})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`start`}),`, `,_jsx(_components.code,{children:`end`}),` and the number of candles are checked against the window the same way as on pool OHLCV. Details on the `,_jsx(_components.a,{href:`/knowledge-base/rate-limits#ohlcv-limits-by-plan`,children:`rate limits page`}),`. Each request costs one credit, whatever the number of candles it returns.`]}),`\n`,_jsx(Heading,{level:`2`,id:`reading-the-response`,children:`Reading the response`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`open`}),`, `,_jsx(_components.code,{children:`high`}),`, `,_jsx(_components.code,{children:`low`}),` and `,_jsx(_components.code,{children:`close`}),` are USD prices. There is no `,_jsx(_components.code,{children:`inversed`}),` flag here, because a token series has no second token to flip to.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`volume`}),` is the USD value traded in the token across all its pools during the candle, as a whole number.`]}),`\n`,_jsxs(_components.li,{children:[`A candle only exists for an interval in which the token traded. On a quiet token a series of `,_jsx(_components.code,{children:`1m`}),` candles has gaps; fill them on your side if your chart needs a continuous axis.`]}),`\n`,_jsxs(_components.li,{children:[`The latest candle can still be open. Its `,_jsx(_components.code,{children:`time_close`}),` is then earlier than a full interval after `,_jsx(_components.code,{children:`time_open`}),`, and its values change until the interval ends. Re-read it rather than caching it.`]}),`\n`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Walkthrough with charts and code: `,_jsx(_components.a,{href:`/tutorials/token-ohlcv`,children:`Token price history across every pool`}),`.\nSee also: `,_jsx(_components.a,{href:`/api-reference/pools/get-ohlcv-data-for-a-pool-pair`,children:`Pool OHLCV`}),`,\n`,_jsx(_components.a,{href:`/api-reference/tokens/get-a-tokens-latest-data-on-a-network`,children:`Token details`}),`,\n`,_jsx(_components.a,{href:`/streaming/ohlcv-streaming`,children:`Real-time OHLCV streaming`})]})}),`\n`,_jsx(Heading,{level:`3`,id:`faqs`,children:`FAQs`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`How is this different from pool OHLCV?`,id:`how-is-this-different-from-pool-ohlcv`,children:_jsxs(_components.p,{children:[`Pool OHLCV is the price of one pair in one pool, quoted in the other token of that pair unless you flip it with `,_jsx(_components.code,{children:`inversed`}),`. Token OHLCV is the token’s USD price across every pool it trades in on the network, weighted by volume, with volume summed across those pools. Use token OHLCV for charts, backtests and valuation; use pool OHLCV when you care about one specific market.`]})}),_jsx(Accordion,{title:`Which plans can call it?`,id:`which-plans-can-call-it`,children:_jsxs(_components.p,{children:[`Dev, Pro and Enterprise, on `,_jsx(_components.code,{children:`https://api-pro.dexpaprika.com`}),`. Dev can query the last 30 days; Pro and Enterprise have no plan limit on history. Keyless requests and free keys get `,_jsx(_components.code,{children:`403`}),`. Plans are on `,_jsx(_components.a,{href:`https://dexpaprika.com/api/pricing`,children:`pricing`}),`.`]})}),_jsx(Accordion,{title:`Which intervals are supported?`,id:`which-intervals-are-supported`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`1m`}),`, `,_jsx(_components.code,{children:`5m`}),`, `,_jsx(_components.code,{children:`10m`}),`, `,_jsx(_components.code,{children:`15m`}),`, `,_jsx(_components.code,{children:`30m`}),`, `,_jsx(_components.code,{children:`1h`}),`, `,_jsx(_components.code,{children:`6h`}),`, `,_jsx(_components.code,{children:`12h`}),`, `,_jsx(_components.code,{children:`24h`}),`, up to 1000 candles per request. `,_jsx(_components.code,{children:`interval`}),` defaults to `,_jsx(_components.code,{children:`24h`}),` and `,_jsx(_components.code,{children:`limit`}),` to 10, so set both.`]})}),_jsx(Accordion,{title:`How do I request a time range?`,id:`how-do-i-request-a-time-range`,children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`start`}),` is required: a relative offset from now (`,_jsx(_components.code,{children:`-24h`}),`, `,_jsx(_components.code,{children:`-7d`}),`, `,_jsx(_components.code,{children:`-90m`}),`), an RFC3339 timestamp, a date or Unix seconds. `,_jsx(_components.code,{children:`end`}),` is optional and takes the same formats. On Dev the range must fit inside the last 30 days.`]})}),_jsx(Accordion,{title:`Why are some minutes missing?`,id:`why-are-some-minutes-missing`,children:_jsx(_components.p,{children:`A candle is only produced for an interval in which the token traded. No trades, no candle. This is expected on less active tokens and on short intervals.`})})]}),`\n`,`\n`,_jsx(Card,{title:`Tutorial: Token price history across every pool`,icon:`graduation-cap`,href:`/tutorials/token-ohlcv`,children:_jsx(_components.p,{children:`USD candles for a token, built from every pool it trades in.`})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{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":"api-reference/openapi.yml GET /networks/{network}/tokens/{token_address}/ohlcv","title":"Get OHLCV data for a token","description":"Historical OHLCV candles for a token in USD, built from a volume-weighted price across every pool the token trades in. Needs a Dev or Pro plan.","tag":"PAID","href":"/api-reference/tokens/get-ohlcv-data-for-a-token"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[405,409,"ResponseExample,Tabl"],[701,716,"ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!Table)_missingM"],[9937,10592,"_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`200`,numberOfLines:`20`,language:`json`,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:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`20`,children:[_jsx(_components.span,{className:`line`,children:_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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"time_open\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-09-27T00:00:00Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"time_close\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-09-28T00:00:00Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"open\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.3385795783277411`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"high\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.3740961105857449`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"low\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.3323047258016061`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"close\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.372185779287911`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"volume\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`7807591`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_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`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"time_open\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-09-28T00:00:00Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"time_close\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-09-29T00:00:00Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"open\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.3721839403410761`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"high\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.3722067508040842`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"low\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.3197222116990852`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"close\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.3273354476716349`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"volume\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10731703`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_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`]})})})}),`\n`,_jsx(Card,{title:`Tutorial: Token price history across every pool`,icon:`graduation-cap`,href:`/tutorials/token-ohlcv`,children:_jsx(_components.p,{children:`USD candles for a token, built from every pool it trades in.`})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{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.\")}"]]},"mdxExtracts":{"tableOfContents":[{"title":"Endpoint overview","slug":"endpoint-overview","depth":2,"children":[]},{"title":"Plan limits","slug":"plan-limits","depth":2,"children":[]},{"title":"Reading the response","slug":"reading-the-response","depth":2,"children":[{"title":"FAQs","slug":"faqs","depth":3,"children":[]}]}],"codeExamples":{"response":{"type":"ResponseExample","children":[{"filename":"200","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"20\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">[\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"time_open\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-09-27T00:00:00Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"time_close\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-09-28T00:00:00Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"open\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">0.3385795783277411\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"high\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">0.3740961105857449\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"low\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">0.3323047258016061\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"close\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">0.372185779287911\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"volume\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">7807591\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"time_open\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-09-28T00:00:00Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"time_close\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-09-29T00:00:00Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"open\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">0.3721839403410761\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"high\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">0.3722067508040842\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"low\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">0.3197222116990852\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"close\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">0.3273354476716349\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"volume\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">10731703\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">]\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"getTokenOHLCV","tags":["Tokens"],"summary":"Get OHLCV data for a token.","description":"Historical OHLCV candles for a token in USD, built from a volume-weighted price across every pool the token trades in. Needs a Dev or Pro plan.","parameters":["1a5fe7b6-836f-42a0-887d-7c0418aff952","334f48e3-526f-450f-81ee-e761c276fe94","cdbc9fdd-8088-42c3-8ac5-7540ebb76a9e","4eb2e28c-c4ec-4414-9dc4-59785debd805","16235cc0-01c4-429b-99dc-15954b6b6cd0","0ad85131-b401-4d4c-a10a-18e2ae144e43","fabd3dc5-f6a8-4da3-aba5-e41d0174debf"],"responses":{"200":"598d9662-29ff-479e-a304-2cb7d44a5f0e","400":"8bcd8778-2655-4810-b0e8-394c8997d08f","402":"bac04e69-266a-49c9-a677-e2faa584b2b5","403":"07c212fb-5d32-4602-8636-7e6ca9ea6c1d","404":"7af0c648-ec32-46df-b9d1-4a87c2622d78","429":"34517d11-b8a1-4120-ae06-47e6b91bef98"},"method":"get","type":"path","servers":["3e1386aa-3a0e-498b-8f48-a2b9ca5ec5fa"],"security":[],"path":"/networks/{network}/tokens/{token_address}/ohlcv","baseUrlOptions":["https://api.dexpaprika.com"],"title":"Get OHLCV data for a token.","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExamples":[{"dropdown":false,"language":"json","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"json","children":{"type":"code","key":null,"ref":null,"props":{"language":"json","numberOfLines":"20","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"["}}}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" {"}}}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"time_open\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"2026-09-27T00:00:00Z\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"time_close\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"2026-09-28T00:00:00Z\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"open\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#B5CEA8"},"children":"0.3385795783277411"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"10","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"high\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#B5CEA8"},"children":"0.3740961105857449"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"12","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"low\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#B5CEA8"},"children":"0.3323047258016061"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"14","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"close\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#B5CEA8"},"children":"0.372185779287911"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"16","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"volume\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#B5CEA8"},"children":"7807591"}}]}},"\n",{"type":"span","key":"18","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" },"}}}},"\n",{"type":"span","key":"20","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" {"}}}},"\n",{"type":"span","key":"22","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"time_open\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"2026-09-28T00:00:00Z\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"24","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"time_close\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"2026-09-29T00:00:00Z\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"26","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"open\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#B5CEA8"},"children":"0.3721839403410761"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"28","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"high\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#B5CEA8"},"children":"0.3722067508040842"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"30","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"low\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#B5CEA8"},"children":"0.3197222116990852"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"32","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"close\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#B5CEA8"},"children":"0.3273354476716349"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"34","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"volume\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#B5CEA8"},"children":"10731703"}}]}},"\n",{"type":"span","key":"36","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" }"}}}},"\n",{"type":"span","key":"38","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"]"}}}},"\n"]}}}},"filename":"200"}],"responseExampleType":"mdx"},"dependencies":{"parameters":{"1a5fe7b6-836f-42a0-887d-7c0418aff952":{"name":"network","in":"path","required":true,"schema":{"type":"string","isRequired":true,"description":"Network slug or ID (e.g., 'solana'). You can find the list of supported networks with their IDs here: [/networks](/api-reference/networks).","uniqueKey":"","typeLabel":"string"},"description":"Network slug or ID (e.g., 'solana'). You can find the list of supported networks with their IDs here: [/networks](/api-reference/networks).","example":"solana"},"334f48e3-526f-450f-81ee-e761c276fe94":{"name":"token_address","in":"path","required":true,"schema":{"type":"string","isRequired":true,"description":"Token contract address. Such as `JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN` for Jupiter on Solana.","uniqueKey":"","typeLabel":"string"},"description":"Token contract address. Such as `JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN` for Jupiter on Solana.","example":"JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN"},"cdbc9fdd-8088-42c3-8ac5-7540ebb76a9e":{"name":"start","in":"query","required":true,"example":"-24h","schema":{"type":"string","description":"Start time for the OHLCV data. Required; \"-24h\" selects the last 24 hours.\nAccepted formats:\n- Relative offset from now (e.g., \"-24h\", \"-7d\", \"-90m\"; units: s, m, h, d)\n- Unix timestamp\n- RFC3339 timestamp (e.g., \"2023-10-27T08:07:20Z\")\n- Date (e.g., \"2023-10-27\", interpreted as 00:00:00 UTC)\n","example":"-24h","isRequired":true,"uniqueKey":"","typeLabel":"string"}},"4eb2e28c-c4ec-4414-9dc4-59785debd805":{"name":"end","in":"query","required":false,"schema":{"type":"string","description":"End time for the OHLCV data.\nAccepted formats:\n- Relative offset from now (e.g., \"-1h\", \"-2d\")\n- Unix timestamp\n- RFC3339 timestamp (e.g., \"2023-10-27T10:00:00Z\")\n- Date (e.g., \"2023-10-27\", interpreted as 00:00:00 UTC)\n","example":"1741508640","isRequired":false,"uniqueKey":"","typeLabel":"string"}},"16235cc0-01c4-429b-99dc-15954b6b6cd0":{"name":"limit","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":10,"minimum":1,"maximum":1000,"isRequired":false,"description":"Maximum number of OHLCV records to return.","uniqueKey":"","typeLabel":"integer\u003cint32>"},"description":"Maximum number of OHLCV records to return."},"0ad85131-b401-4d4c-a10a-18e2ae144e43":{"name":"interval","in":"query","required":false,"schema":{"type":"string","enum":["1m","5m","10m","15m","30m","1h","6h","12h","24h"],"default":"24h","isRequired":false,"description":"The time interval for each OHLCV record (candle).\n","uniqueKey":"","typeLabel":"enum\u003cstring>"},"description":"The time interval for each OHLCV record (candle).\n"},"fabd3dc5-f6a8-4da3-aba5-e41d0174debf":{"name":"count_back","in":"query","required":false,"schema":{"type":"integer","format":"int32","minimum":0,"maximum":350,"isRequired":false,"description":"Returns the last N candles with data up to `end`, ignoring `start`.\n","uniqueKey":"","typeLabel":"integer\u003cint32>"},"description":"Returns the last N candles with data up to `end`, ignoring `start`.\n"}},"responses":{"598d9662-29ff-479e-a304-2cb7d44a5f0e":{"description":"A list of OHLCV records successfully retrieved.","content":{"application/json":{"schema":{"type":"array","description":"An array of OHLCV records (candlesticks) matching the query criteria.","items":{"type":"object","description":"Represents a single Open-High-Low-Close-Volume (OHLCV) data point for a specific time interval.","properties":{"time_open":{"type":"string","format":"date-time","description":"The opening timestamp of the OHLCV period.","example":"2023-10-27T10:00:00Z","isRequired":true,"uniqueKey":"items.[INDEX].time_open","typeLabel":"string\u003cdate-time>"},"time_close":{"type":"string","format":"date-time","description":"The closing timestamp of the OHLCV period.","example":"2023-10-27T11:00:00Z","isRequired":true,"uniqueKey":"items.[INDEX].time_close","typeLabel":"string\u003cdate-time>"},"open":{"type":"number","format":"double","description":"The opening price for the period.","example":1500.5,"isRequired":true,"uniqueKey":"items.[INDEX].open","typeLabel":"number\u003cdouble>"},"high":{"type":"number","format":"double","description":"The highest price reached during the period.","example":1525.75,"isRequired":true,"uniqueKey":"items.[INDEX].high","typeLabel":"number\u003cdouble>"},"low":{"type":"number","format":"double","description":"The lowest price reached during the period.","example":1495.25,"isRequired":true,"uniqueKey":"items.[INDEX].low","typeLabel":"number\u003cdouble>"},"close":{"type":"number","format":"double","description":"The closing price for the period.","example":1510,"isRequired":true,"uniqueKey":"items.[INDEX].close","typeLabel":"number\u003cdouble>"},"volume":{"type":"integer","format":"int64","description":"The total volume traded during the period.","example":1234567890123,"isRequired":true,"uniqueKey":"items.[INDEX].volume","typeLabel":"integer\u003cint64>"}},"required":["time_open","time_close","open","high","low","close","volume"],"uniqueKey":"items.[INDEX]","typeLabel":"object"},"uniqueKey":"","typeLabel":"object[]"},"example":[{"time_open":"2025-03-10T00:00:00Z","time_close":"2025-03-11T00:00:00Z","open":126.43817748776037,"high":131.48201077049822,"low":115.52148830221141,"close":118.20275113239272,"volume":262402654}],"examples":{"Example":{"title":"Example","value":[{"time_open":"2025-03-10T00:00:00Z","time_close":"2025-03-11T00:00:00Z","open":126.43817748776037,"high":131.48201077049822,"low":115.52148830221141,"close":118.20275113239272,"volume":262402654}]}},"exampleType":"examples"}},"exampleType":"examples"},"8bcd8778-2655-4810-b0e8-394c8997d08f":{"description":"The specified network or token address is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","example":"Invalid network or token address.","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"Invalid network or token address."}}},"exampleType":"generated"}},"exampleType":"generated"},"bac04e69-266a-49c9-a677-e2faa584b2b5":{"description":"Credit allowance exhausted. Retrying will not help; the body names the available next step per tier: register (keyless), upgrade (free key), or enable overage and raise your spend cap (Dev and Pro). `resets_at` is present on Dev and Pro only and holds the end of the billing period (UTC); keyless and free keys count over a rolling 30-day window. Deliberately carries no `Retry-After` header.\n","headers":{"X-Credits-Limit":{"description":"Monthly credit limit for this caller.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Credits left in the current month.","schema":{"type":"integer"}},"X-Credits-Reset":{"description":"Seconds until the monthly credits reset.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","description":"Structured body carried by every 402 and 429 emitted by the billing gate and by plan-gated 403s. The shape is constant across scenarios; only fields describing an available action appear. `message` is always a top-level string, so clients parsing the legacy `{\"message\": ...}` shape keep working.\n","required":["error","tier","message"],"properties":{"error":{"type":"string","enum":["payment_required","rate_limited","plan_required","wrong_host","preview_only"],"description":"Machine-readable discriminator.","isRequired":true,"uniqueKey":"error","typeLabel":"enum\u003cstring>"},"tier":{"type":"string","enum":["keyless","free","dev","pro","enterprise"],"description":"The billing tier the request was evaluated against.","isRequired":true,"uniqueKey":"tier","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable message naming the next action.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"required_tier":{"type":"string","enum":["free","dev","pro"],"description":"Lowest tier that unlocks the request. plan_required only.","uniqueKey":"required_tier","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"Query parameter that exceeded the plan. plan_required only; absent when the whole endpoint is gated.\n","uniqueKey":"param","typeLabel":"string"},"credits":{"type":"object","description":"Credit counters for the current period. One credit is one request. `plan` and `packs` are split out for Pro keys only. `limit` is plan + packs; usage served through overage can exceed it.\n","properties":{"plan":{"type":"integer","format":"int64","uniqueKey":"credits.plan","typeLabel":"integer\u003cint64>"},"packs":{"type":"integer","format":"int64","uniqueKey":"credits.packs","typeLabel":"integer\u003cint64>"},"limit":{"type":"integer","format":"int64","uniqueKey":"credits.limit","typeLabel":"integer\u003cint64>"},"used":{"type":"integer","format":"int64","uniqueKey":"credits.used","typeLabel":"integer\u003cint64>"},"remaining":{"type":"integer","format":"int64","uniqueKey":"credits.remaining","typeLabel":"integer\u003cint64>"}},"uniqueKey":"credits","typeLabel":"object"},"overage":{"type":"object","description":"Overage state, present on Pro 402 bodies. Money amounts are decimal strings, never floats.\n","properties":{"enabled":{"type":"boolean","uniqueKey":"overage.enabled","typeLabel":"boolean"},"cap":{"type":"string","example":"200.00","uniqueKey":"overage.cap","typeLabel":"string"},"used":{"type":"string","example":"200.00","uniqueKey":"overage.used","typeLabel":"string"},"block":{"type":"string","example":"20.00 per 1M credits","uniqueKey":"overage.block","typeLabel":"string"}},"uniqueKey":"overage","typeLabel":"object"},"resets_at":{"type":"string","format":"date-time","description":"When the monthly allowance rolls over (UTC). 402 only.","uniqueKey":"resets_at","typeLabel":"string\u003cdate-time>"},"retry_after":{"type":"integer","description":"Seconds to wait before retrying. 429 only.","uniqueKey":"retry_after","typeLabel":"integer"},"offer":{"type":"object","description":"Early-adopter offer, present on the free-tier 402 only.","properties":{"description":{"type":"string","uniqueKey":"offer.description","typeLabel":"string"},"expires_at":{"type":"string","format":"date-time","uniqueKey":"offer.expires_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"offer","typeLabel":"object"},"links":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"links.additionalProperties","typeLabel":"string"},"description":"Next-step URLs. Keys vary by scenario: register, upgrade, packs, portal, usage, docs. Absent until the customer-facing pages go live.\n","uniqueKey":"links","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"keyless":{"title":"keyless","value":{"error":"payment_required","tier":"keyless","message":"Credit limit for the last 30 days reached for unauthenticated use. Register for a free API key to get more credits/month.","credits":{"limit":10000,"used":10000,"remaining":0}}},"pro_plan_exhausted":{"title":"pro_plan_exhausted","value":{"error":"payment_required","tier":"pro","message":"Monthly credit limit reached — enable overage in the portal.","credits":{"plan":5000000,"packs":0,"limit":5000000,"used":5000000,"remaining":0},"overage":{"enabled":false},"resets_at":"2026-09-01T00:00:00Z"}}},"exampleType":"examples"}},"exampleType":"examples"},"07c212fb-5d32-4602-8636-7e6ca9ea6c1d":{"description":"The endpoint is limited to paid plans (Dev, Pro, Enterprise). Keyless callers and free keys are refused regardless of remaining credits; upgrading the key's plan is the only way to unlock it. `param` is absent because the whole endpoint is gated.\n","content":{"application/json":{"schema":{"type":"object","description":"Structured body carried by every 402 and 429 emitted by the billing gate and by plan-gated 403s. The shape is constant across scenarios; only fields describing an available action appear. `message` is always a top-level string, so clients parsing the legacy `{\"message\": ...}` shape keep working.\n","required":["error","tier","message"],"properties":{"error":{"type":"string","enum":["payment_required","rate_limited","plan_required","wrong_host","preview_only"],"description":"Machine-readable discriminator.","isRequired":true,"uniqueKey":"error","typeLabel":"enum\u003cstring>"},"tier":{"type":"string","enum":["keyless","free","dev","pro","enterprise"],"description":"The billing tier the request was evaluated against.","isRequired":true,"uniqueKey":"tier","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable message naming the next action.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"required_tier":{"type":"string","enum":["free","dev","pro"],"description":"Lowest tier that unlocks the request. plan_required only.","uniqueKey":"required_tier","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"Query parameter that exceeded the plan. plan_required only; absent when the whole endpoint is gated.\n","uniqueKey":"param","typeLabel":"string"},"credits":{"type":"object","description":"Credit counters for the current period. One credit is one request. `plan` and `packs` are split out for Pro keys only. `limit` is plan + packs; usage served through overage can exceed it.\n","properties":{"plan":{"type":"integer","format":"int64","uniqueKey":"credits.plan","typeLabel":"integer\u003cint64>"},"packs":{"type":"integer","format":"int64","uniqueKey":"credits.packs","typeLabel":"integer\u003cint64>"},"limit":{"type":"integer","format":"int64","uniqueKey":"credits.limit","typeLabel":"integer\u003cint64>"},"used":{"type":"integer","format":"int64","uniqueKey":"credits.used","typeLabel":"integer\u003cint64>"},"remaining":{"type":"integer","format":"int64","uniqueKey":"credits.remaining","typeLabel":"integer\u003cint64>"}},"uniqueKey":"credits","typeLabel":"object"},"overage":{"type":"object","description":"Overage state, present on Pro 402 bodies. Money amounts are decimal strings, never floats.\n","properties":{"enabled":{"type":"boolean","uniqueKey":"overage.enabled","typeLabel":"boolean"},"cap":{"type":"string","example":"200.00","uniqueKey":"overage.cap","typeLabel":"string"},"used":{"type":"string","example":"200.00","uniqueKey":"overage.used","typeLabel":"string"},"block":{"type":"string","example":"20.00 per 1M credits","uniqueKey":"overage.block","typeLabel":"string"}},"uniqueKey":"overage","typeLabel":"object"},"resets_at":{"type":"string","format":"date-time","description":"When the monthly allowance rolls over (UTC). 402 only.","uniqueKey":"resets_at","typeLabel":"string\u003cdate-time>"},"retry_after":{"type":"integer","description":"Seconds to wait before retrying. 429 only.","uniqueKey":"retry_after","typeLabel":"integer"},"offer":{"type":"object","description":"Early-adopter offer, present on the free-tier 402 only.","properties":{"description":{"type":"string","uniqueKey":"offer.description","typeLabel":"string"},"expires_at":{"type":"string","format":"date-time","uniqueKey":"offer.expires_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"offer","typeLabel":"object"},"links":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"links.additionalProperties","typeLabel":"string"},"description":"Next-step URLs. Keys vary by scenario: register, upgrade, packs, portal, usage, docs. Absent until the customer-facing pages go live.\n","uniqueKey":"links","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":"plan_required","tier":"free","required_tier":"dev","message":"this endpoint requires a Dev or Pro plan"},"examples":{"Example":{"title":"Example","value":{"error":"plan_required","tier":"free","required_tier":"dev","message":"this endpoint requires a Dev or Pro plan"}}},"exampleType":"examples"}},"exampleType":"examples"},"7af0c648-ec32-46df-b9d1-4a87c2622d78":{"description":"Network not found or token not found.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","example":"Token not found on this network.","uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"Token not found on this network."}}},"exampleType":"generated"}},"exampleType":"generated"},"34517d11-b8a1-4120-ae06-47e6b91bef98":{"description":"Per-minute rate limit exceeded. Slow down and retry after the number of seconds given in the `Retry-After` header. Credits are unaffected; `credits` appears in the body only when the counters were already at hand for the request.\n","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer"}},"RateLimit-Limit":{"description":"Request limit for the current minute.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the minute limit resets.","schema":{"type":"integer"}},"X-Credits-Limit":{"description":"Monthly credit limit for this caller.","schema":{"type":"integer"}},"X-Credits-Remaining":{"description":"Credits left in the current month.","schema":{"type":"integer"}},"X-Credits-Reset":{"description":"Seconds until the monthly credits reset.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","description":"Structured body carried by every 402 and 429 emitted by the billing gate and by plan-gated 403s. The shape is constant across scenarios; only fields describing an available action appear. `message` is always a top-level string, so clients parsing the legacy `{\"message\": ...}` shape keep working.\n","required":["error","tier","message"],"properties":{"error":{"type":"string","enum":["payment_required","rate_limited","plan_required","wrong_host","preview_only"],"description":"Machine-readable discriminator.","isRequired":true,"uniqueKey":"error","typeLabel":"enum\u003cstring>"},"tier":{"type":"string","enum":["keyless","free","dev","pro","enterprise"],"description":"The billing tier the request was evaluated against.","isRequired":true,"uniqueKey":"tier","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable message naming the next action.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"required_tier":{"type":"string","enum":["free","dev","pro"],"description":"Lowest tier that unlocks the request. plan_required only.","uniqueKey":"required_tier","typeLabel":"enum\u003cstring>"},"param":{"type":"string","description":"Query parameter that exceeded the plan. plan_required only; absent when the whole endpoint is gated.\n","uniqueKey":"param","typeLabel":"string"},"credits":{"type":"object","description":"Credit counters for the current period. One credit is one request. `plan` and `packs` are split out for Pro keys only. `limit` is plan + packs; usage served through overage can exceed it.\n","properties":{"plan":{"type":"integer","format":"int64","uniqueKey":"credits.plan","typeLabel":"integer\u003cint64>"},"packs":{"type":"integer","format":"int64","uniqueKey":"credits.packs","typeLabel":"integer\u003cint64>"},"limit":{"type":"integer","format":"int64","uniqueKey":"credits.limit","typeLabel":"integer\u003cint64>"},"used":{"type":"integer","format":"int64","uniqueKey":"credits.used","typeLabel":"integer\u003cint64>"},"remaining":{"type":"integer","format":"int64","uniqueKey":"credits.remaining","typeLabel":"integer\u003cint64>"}},"uniqueKey":"credits","typeLabel":"object"},"overage":{"type":"object","description":"Overage state, present on Pro 402 bodies. Money amounts are decimal strings, never floats.\n","properties":{"enabled":{"type":"boolean","uniqueKey":"overage.enabled","typeLabel":"boolean"},"cap":{"type":"string","example":"200.00","uniqueKey":"overage.cap","typeLabel":"string"},"used":{"type":"string","example":"200.00","uniqueKey":"overage.used","typeLabel":"string"},"block":{"type":"string","example":"20.00 per 1M credits","uniqueKey":"overage.block","typeLabel":"string"}},"uniqueKey":"overage","typeLabel":"object"},"resets_at":{"type":"string","format":"date-time","description":"When the monthly allowance rolls over (UTC). 402 only.","uniqueKey":"resets_at","typeLabel":"string\u003cdate-time>"},"retry_after":{"type":"integer","description":"Seconds to wait before retrying. 429 only.","uniqueKey":"retry_after","typeLabel":"integer"},"offer":{"type":"object","description":"Early-adopter offer, present on the free-tier 402 only.","properties":{"description":{"type":"string","uniqueKey":"offer.description","typeLabel":"string"},"expires_at":{"type":"string","format":"date-time","uniqueKey":"offer.expires_at","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"offer","typeLabel":"object"},"links":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"links.additionalProperties","typeLabel":"string"},"description":"Next-step URLs. Keys vary by scenario: register, upgrade, packs, portal, usage, docs. Absent until the customer-facing pages go live.\n","uniqueKey":"links","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":"rate_limited","tier":"pro","message":"Request rate exceeded. Retry in 12 seconds.","credits":{"plan":5000000,"packs":0,"limit":5000000,"used":1240880,"remaining":3759120},"retry_after":12},"examples":{"Example":{"title":"Example","value":{"error":"rate_limited","tier":"pro","message":"Request rate exceeded. Retry in 12 seconds.","credits":{"plan":5000000,"packs":0,"limit":5000000,"used":1240880,"remaining":3759120},"retry_after":12}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{},"servers":{"3e1386aa-3a0e-498b-8f48-a2b9ca5ec5fa":{"url":"https://api.dexpaprika.com","description":"Production server"}}},"originalFileLocation":"api-reference/openapi.yml"},"subdomain":"coinpaprikaspzoo","siteName":"DexPaprika API","title":"Get OHLCV data for a token - DexPaprika API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-13T08:20:57.196Z","originalFileLocation":"api-reference/tokens/get-ohlcv-data-for-a-token.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=\"dark\"}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=\"Historical OHLCV candles for a token in USD, built from a volume-weighted price across every pool the token trades in. Needs a Dev or Pro plan.\">\u003cmeta data-mint-head name=\"keywords\" content=\"dex api, on-chain crypto api, liquidity pool api, swap data api, defi data api, crypto api, crypto price api, cryptocurrency data api\">\u003cmeta data-mint-head name=\"application-name\" content=\"DexPaprika API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/coinpaprikaspzoo/oG0LGh3lDXLRLI1i/_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/coinpaprikaspzoo/oG0LGh3lDXLRLI1i/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/coinpaprikaspzoo/oG0LGh3lDXLRLI1i/_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/coinpaprikaspzoo/oG0LGh3lDXLRLI1i/_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/coinpaprikaspzoo/oG0LGh3lDXLRLI1i/_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/coinpaprikaspzoo/oG0LGh3lDXLRLI1i/_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/coinpaprikaspzoo/oG0LGh3lDXLRLI1i/_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/coinpaprikaspzoo/oG0LGh3lDXLRLI1i/_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/coinpaprikaspzoo/oG0LGh3lDXLRLI1i/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get OHLCV data for a token - DexPaprika API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Historical OHLCV candles for a token in USD, built from a volume-weighted price across every pool the token trades in. Needs a Dev or Pro plan.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"DexPaprika\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.dexpaprika.com/api-reference/tokens/get-ohlcv-data-for-a-token\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://coinpaprikaspzoo.mintlify.site/_mintlify/api/og/v2?division=Tokens\u0026amp;title=Get+OHLCV+data+for+a+token\u0026amp;description=Historical+OHLCV+candles+for+a+token+in+USD%2C+built+from+a+volume-weighted+price+across+every+pool+the+token+trades+in.+Needs+a+Dev+or+Pro+plan.\u0026amp;theme=8185f6e2c55b7d08fe6566c6\u0026amp;signature=f058bc2928923054a9486c29bd9c0e74b31f796f683fb93176625c967c2e8792\">\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=\"Get OHLCV data for a token - DexPaprika API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Historical OHLCV candles for a token in USD, built from a volume-weighted price across every pool the token trades in. Needs a Dev or Pro plan.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://coinpaprikaspzoo.mintlify.site/_mintlify/api/og/v2?division=Tokens\u0026amp;title=Get+OHLCV+data+for+a+token\u0026amp;description=Historical+OHLCV+candles+for+a+token+in+USD%2C+built+from+a+volume-weighted+price+across+every+pool+the+token+trades+in.+Needs+a+Dev+or+Pro+plan.\u0026amp;theme=8185f6e2c55b7d08fe6566c6\u0026amp;signature=f058bc2928923054a9486c29bd9c0e74b31f796f683fb93176625c967c2e8792\">\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/coinpaprikaspzoo/oG0LGh3lDXLRLI1i/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"DexPaprika API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#00A84E\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.dexpaprika.com/api-reference/tokens/get-ohlcv-data-for-a-token\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/tokens/get-ohlcv-data-for-a-token.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.dexpaprika.com/#organization\",\"name\":\"DexPaprika API\",\"url\":\"https://docs.dexpaprika.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/coinpaprikaspzoo/qdXqFGfH5cg6MFHp/logo/light.svg?fit=max\u0026auto=format\u0026n=qdXqFGfH5cg6MFHp\u0026q=85\u0026s=3815800db38511a4187280846c0bcbff\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.dexpaprika.com#website\",\"name\":\"DexPaprika API\",\"url\":\"https://docs.dexpaprika.com\",\"publisher\":{\"@id\":\"https://docs.dexpaprika.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.dexpaprika.com/api-reference/tokens/get-ohlcv-data-for-a-token#webpage\",\"url\":\"https://docs.dexpaprika.com/api-reference/tokens/get-ohlcv-data-for-a-token\",\"name\":\"Get OHLCV data for a token\",\"description\":\"Historical OHLCV candles for a token in USD, built from a volume-weighted price across every pool the token trades in. Needs a Dev or Pro plan.\",\"dateModified\":\"2026-11-13T08:20:57.196Z\",\"isPartOf\":{\"@id\":\"https://docs.dexpaprika.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.dexpaprika.com/api-reference/tokens/get-ohlcv-data-for-a-token#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.dexpaprika.com/api-reference/tokens/get-ohlcv-data-for-a-token#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Tokens\",\"item\":\"https://docs.dexpaprika.com/api-reference/tokens/advanced-token-filtering-on-a-specific-network\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get OHLCV data for a token\",\"item\":\"https://docs.dexpaprika.com/api-reference/tokens/get-ohlcv-data-for-a-token\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.dexpaprika.com/api-reference/tokens/get-ohlcv-data-for-a-token#apireference\",\"headline\":\"Get OHLCV data for a token\",\"name\":\"Get OHLCV data for a token\",\"description\":\"Historical OHLCV candles for a token in USD, built from a volume-weighted price across every pool the token trades in. Needs a Dev or Pro plan.\",\"url\":\"https://docs.dexpaprika.com/api-reference/tokens/get-ohlcv-data-for-a-token\",\"mainEntityOfPage\":{\"@id\":\"https://docs.dexpaprika.com/api-reference/tokens/get-ohlcv-data-for-a-token#webpage\"},\"dateModified\":\"2026-11-13T08:20:57.196Z\",\"publisher\":{\"@id\":\"https://docs.dexpaprika.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.dexpaprika.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"DexPaprika API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"DexPaprika API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/tokens/get-ohlcv-data-for-a-token.md","siteName":"DexPaprika API","nav":{"global":{"anchors":[{"anchor":"REST API Reference","icon":"code","href":"https://docs.dexpaprika.com/api-reference/introduction"},{"anchor":"Discord Community","icon":"discord","href":"https://discord.gg/DhJge5TUGM"},{"anchor":"DexPaprika","icon":"browser","href":"https://dexpaprika.com"},{"anchor":"CoinPaprika","icon":"pepper-hot","href":"https://coinpaprika.com"},{"anchor":"CoinPaprika on X","icon":"x-twitter","href":"https://x.com/coinpaprika"}]},"tabs":[{"tab":"Overview","pages":[{"title":"Overview","href":"/introduction"}]},{"tab":"AI Integration","pages":[{"title":"AI Integration","href":"/ai-integration"}]},{"tab":"DEX REST API Reference","groups":[{"group":"Getting Started","pages":[{"title":"API reference: endpoints and parameters","sidebarTitle":"Introduction","href":"/api-reference/introduction"}]},{"group":"Networks","pages":[{"openapi":"api-reference/openapi.yml GET /networks","title":"Get a list of available blockchain networks.","href":"/api-reference/networks/get-a-list-of-available-blockchain-networks"}]},{"group":"DEXes","pages":[{"openapi":"api-reference/openapi.yml GET /networks/{network}/dexes","title":"Get a list of available dexes on a network.","href":"/api-reference/dexes/get-a-list-of-available-dexes-on-a-network"}]},{"group":"Pools","pages":[{"openapi":"api-reference/openapi.yml GET /networks/{network}/pools/search","title":"Advanced pool filtering on a specific network.","href":"/api-reference/pools/advanced-pool-filtering-on-a-specific-network"},{"openapi":"api-reference/openapi.yml GET /pools/search","title":"Advanced pool filtering across multiple networks.","href":"/api-reference/pools/advanced-pool-filtering-across-multiple-networks"},{"openapi":"api-reference/openapi.yml GET /networks/{network}/pools/{pool_address}","title":"Get a pool on a network.","href":"/api-reference/pools/get-a-pool-on-a-network"},{"openapi":"api-reference/openapi.yml GET /networks/{network}/pools/{pool_address}/ohlcv","tag":"PAID","title":"Get OHLCV data for a pool pair.","href":"/api-reference/pools/get-ohlcv-data-for-a-pool-pair"},{"openapi":"api-reference/openapi.yml GET /networks/{network}/pools/{pool_address}/transactions","tag":"PAID","title":"Get transactions of a pool on a network. Paging can be used up to 100 pages.","href":"/api-reference/pools/get-transactions-of-a-pool-on-a-network-paging-can-be-used-up-to-100-pages"}]},{"group":"Tokens","pages":[{"openapi":"api-reference/openapi.yml GET /networks/{network}/tokens/search","title":"Advanced token filtering on a specific network.","href":"/api-reference/tokens/advanced-token-filtering-on-a-specific-network"},{"openapi":"api-reference/openapi.yml GET /tokens/search","title":"Advanced token filtering across multiple networks.","href":"/api-reference/tokens/advanced-token-filtering-across-multiple-networks"},{"openapi":"api-reference/openapi.yml GET /networks/{network}/tokens/{token_address}","title":"Get a token's latest data on a network.","href":"/api-reference/tokens/get-a-tokens-latest-data-on-a-network"},{"openapi":"api-reference/openapi.yml GET /networks/{network}/multi/prices","description":"Fetch current USD prices for up to 10 token addresses in a single request","title":"Get batched prices for multiple tokens on a network.","href":"/api-reference/tokens/get-batched-prices-for-multiple-tokens-on-a-network"},{"openapi":"api-reference/openapi.yml GET /networks/{network}/tokens/{token_address}/ohlcv","title":"Get OHLCV data for a token","tag":"PAID","href":"/api-reference/tokens/get-ohlcv-data-for-a-token"}]},{"group":"Indicators","pages":[{"openapi":"api-reference/openapi.yml GET /networks/{network}/pools/{pool_address}/indicators","title":"Get a technical indicator for a pool.","description":"Computed from completed pool OHLCV candles. Every indicator is\navailable on every plan, with the same interval and history limits\nas pool OHLCV:\n\n| Plan | `interval` | History |\n|------|------------|---------|\n| Keyless | `1h` and up | last 24 hours |\n| Free key | `10m` and up | last 7 days |\n| Dev | all | last 30 days |\n| Pro, Enterprise | all | unlimited |\n\nA finer `interval`, or an `end` or `start` before the window, gets\n`403`. A range that only partly overlaps the window, such as the\ndefault range without `start`, is cut to the window; if no candle of\nthe requested `interval` is left, it gets `403` too. Keyless callers\ndefault to `interval=1h`, since a `24h` candle does not fit their\n24-hour window.\n\nWithout `start` the response holds the last `limit` candles. When\n`limit` cuts the range, `next_cursor` holds the start of the next page.\n","href":"/api-reference/pools/get-a-technical-indicator-for-a-pool"},{"openapi":"api-reference/openapi.yml GET /networks/{network}/tokens/{token_address}/indicators","tag":"PAID","title":"Get a technical indicator for a token.","href":"/api-reference/tokens/get-a-technical-indicator-for-a-token"}]},{"group":"Search","pages":[{"openapi":"api-reference/openapi.yml GET /search","title":"Search for tokens, pools, and DEXes","href":"/api-reference/search/search-for-tokens-pools-and-dexes"}]},{"group":"Utils","pages":[{"openapi":"api-reference/openapi.yml GET /stats","title":"Retrieve high-level asset statistics","href":"/api-reference/utils/retrieve-high-level-asset-statistics"},{"openapi":"api-reference/openapi.yml GET /usage","title":"Get your plan and current-period credit usage.","href":"/api-reference/utils/get-your-plan-and-current-period-credit-usage"}]}]},{"tab":"API Pro","pages":[{"title":"API Pro","href":"/api-pro/introduction"}]},{"tab":"Streaming","pages":[{"title":"Streaming","href":"/streaming/introduction"}]},{"tab":"Streaming Reference","pages":[{"title":"Streaming Reference","href":"/api-reference/stream-real-time-prices-for-an-asset"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog/changelog"}]},{"tab":"Status","href":"https://status.dexpaprika.com/"}]},"basePath":"","title":"Get OHLCV data for a token - DexPaprika API","buildId":"dpl_G2Qd45vZZ7MkBiGF9yYx8ZsbbKXX","deploymentId":"dpl_G2Qd45vZZ7MkBiGF9yYx8ZsbbKXX","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-NXj-Rqjv.js","utils-m0thOP-_.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-D13EKcfm.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema--XTdfsEb.js","snippetPresets-D3s4lmAH.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-ChURybxL.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-DL8CiXq2.js","shallow-DI2-YB2E.js","getApiPlaygroundDisplay-DxbW7b_y.js","CodeSnippet-CiNYS0pP.js","CodeSnippets-BT87bThu.js","Page-DSpdRuhM.js","getPastedJson-F_g_IrFQ.js","icon-CCIG5BAs.js","MethodPill-DY3E0jwx.js","DuplicateIcon-BN88xnEg.js","createIcon-VCCc5HO5.js","DynamicMarkdown-CaSwclgK.js","SectionHeading-DXV8nWhc.js","axios-vUo_bRtp.js","Markdown-CV32Re6G.js","clsx-5ydLOnhV.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-pFDdfjRe.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BUGO5bPJ.js"]}