{"data":{"billing":{"currency":"USD","mode":"fixed","priceMicroUsd":"0","rounding":null,"unit":"call","unitQuantity":null},"capabilityId":"58fb48aa-07aa-49b4-8e88-4b48bdd502d3","catalogType":"api","categories":["data","finance","crypto-defi"],"dataPlatform":"DefiLlama","dataPlatformLogoUrl":"https://api-docs.defillama.com/icons/favicon-96x96.png","dataPlatformTranslations":{"ar":"DefiLlama","ja":"DefiLlama","zh":"DefiLlama"},"dataProduct":"prices","description":"Get DefiLlama Token Price Chart data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by DeFiLlama, pass parameters such as period, span, start, and retrieve structured data including coins, \u003ccoin\u003e, token ticker symbol, on-chain token decimal places, and confidence to render token price charts, compute realized volatility, and compare requested sampling intervals.","descriptionTranslations":{"ar":"احصل على سلاسل أسعار الرموز بفترات زمنية منتظمة عبر OpenAny REST لتشغيل الرسوم البيانية والاختبارات الكمية عبر الشبكات. مرر معرفات الرموز مع معاملات start وend وspan وperiod اختياريا للحصول على مصفوفات الأسعار والرموز ودرجة الثقة.","ja":"OpenAny REST で複数トークンの一定間隔の価格時系列を取得し、チャート描画やポートフォリオ推移、クオンツ検証に活用できます。チェーン・アドレス指定と任意の start・end・span・period を渡すと、各トークンの価格配列とメタデータを返します。","zh":"通过 OpenAny REST 按固定时间间隔获取多链代币价格序列，用于驱动行情图表、组合曲线与量化回测。传入逗号分隔的链与合约地址标识及可选 start、end、span 与 period 参数，即可返回各代币的价格数组、精度、符号与置信度。"},"effectContentHtml":"","executionMode":"sync","id":"63d75454-3074-457a-8e61-a35418ffc33a","includedContentHtml":"","inputs":[{"description":"set of comma-separated tokens defined as {chain}:{address}","location":"path","name":"coins","nullable":false,"required":true,"type":"string"},{"description":"unix timestamp of earliest data point requested","location":"query","name":"start","nullable":false,"required":false,"type":"number"},{"description":"unix timestamp of latest data point requested","location":"query","name":"end","nullable":false,"required":false,"type":"number"},{"description":"number of data points returned, defaults to 0","location":"query","name":"span","nullable":false,"required":false,"type":"number"},{"description":"duration between data points, defaults to 24 hours","location":"query","name":"period","nullable":false,"required":false,"type":"string"}],"logoUrl":"https://api-docs.defillama.com/icons/favicon-96x96.png","method":"GET","name":"DefiLlama — Get token prices at regular time intervals","nameTranslations":{"ar":"DefiLlama — احصل على أسعار الرموز المميزة على فترات زمنية منتظمة","ja":"DefiLlama — 一定の時間間隔でトークン価格を取得","zh":"DefiLlama — 按固定时间间隔获取代币价格"},"overviewHtml":"\u003ch2\u003eDefiLlama Token Price Chart API\u003c/h2\u003e\n\u003cp\u003ePass comma-separated \u003ccode\u003e{chain}:{address}\u003c/code\u003e or \u003ccode\u003ecoingecko:{id}\u003c/code\u003e tokens in \u003ccode\u003ecoins\u003c/code\u003e, and tune the time grid with optional \u003ccode\u003estart\u003c/code\u003e, \u003ccode\u003eend\u003c/code\u003e, \u003ccode\u003espan\u003c/code\u003e and \u003ccode\u003eperiod\u003c/code\u003e query parameters. Each coin entry returns \u003ccode\u003esymbol\u003c/code\u003e, \u003ccode\u003edecimals\u003c/code\u003e, \u003ccode\u003econfidence\u003c/code\u003e and a \u003ccode\u003eprices[]\u003c/code\u003e array.\u003c/p\u003e\n\u003ch2\u003eQuick Facts\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eFact\u003c/th\u003e\n\u003cth\u003eValue\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eAccess\u003c/td\u003e\n\u003ctd\u003eOpenAny REST\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAuthentication\u003c/td\u003e\n\u003ctd\u003eOpenAny API key in the Authorization header\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCore inputs\u003c/td\u003e\n\u003ctd\u003eRequired path: coins ({chain}:{address} list). Optional query: start (UNIX), end (UNIX), span (number of points, default 0), period (interval string, default 24h, e.g. 2d).\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003edefillama · DefiLlama — Get token prices at regular time intervals\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eBilling\u003c/td\u003e\n\u003ctd\u003eSee the pricing area for the selected implementation and request options\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eWhat You Can Build\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cstrong\u003eRender token price charts\u003c/strong\u003e: Fetch 2-day or daily interval series using start, span and period for front-end charting libraries.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eCompute realized volatility\u003c/strong\u003e: Pull evenly spaced hourly or daily prices for multiple DeFi tokens in one request.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eCompare requested sampling intervals\u003c/strong\u003e: Retain each returned observation timestamp when aligning token series rather than assuming identical source coverage.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eReturned Data\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eField\u003c/th\u003e\n\u003cth\u003eMeaning\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ecoins\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eMap of requested token identifiers to price chart objects\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ecoins.\u0026lt;coin\u0026gt;\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eChart payload keyed by the token identifier\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ecoins.\u0026lt;coin\u0026gt;.symbol\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eToken ticker symbol\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ecoins.\u0026lt;coin\u0026gt;.decimals\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eOn-chain token decimal places\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ecoins.\u0026lt;coin\u0026gt;.confidence\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eConfidence score reported for the price series\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ecoins.\u0026lt;coin\u0026gt;.prices\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eArray of interval price points\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ecoins.\u0026lt;coin\u0026gt;.prices[].timestamp\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eUNIX timestamp of the chart point\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ecoins.\u0026lt;coin\u0026gt;.prices[].price\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eToken USD price at that interval point\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eQuick Start\u003c/h2\u003e\n\u003col\u003e\n\u003cli\u003eSet OPENANY_API_KEY to your OpenAny API key.\u003c/li\u003e\n\u003cli\u003eReview the selected implementation and pricing, then adapt the request below to your target.\u003c/li\u003e\n\u003cli\u003eCheck the HTTP response and business result before reading optional fields.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cpre\u003e\u003ccode class=\"language-bash\"\u003ecurl --request GET --get \\\n  https://api.openany.si/v1/agent-apis/defillama/chart/ethereum%3A0xdF574c24545E5FfEcb9a659c229253D4111d87e1%2Ccoingecko%3Aethereum%2Cbsc%3A0x762539b45a1dcce3d36d080f74d1aed37844b878%2Cethereum%3A0xdB25f211AB05b1c97D595516F45794528a807ad8 \\\n  -H \u0026#34;Authorization: Bearer ${OPENANY_API_KEY}\u0026#34; \\\n  --data-urlencode period=2d \\\n  --data-urlencode span=10 \\\n  --data-urlencode start=1664364537\n\u003c/code\u003e\u003c/pre\u003e\n\u003ch2\u003eRequest and Response Examples\u003c/h2\u003e\n\u003cp\u003eThe response example is a documentation reference and may be abbreviated. The documented request is a calling template; use the published contract and returned response for the selected implementation.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://openany.si/api/v1/agent-apis/63d75454-3074-457a-8e61-a35418ffc33a\"\u003ePublished DefiLlama Token Price Chart API implementation contract\u003c/a\u003e.\u003c/p\u003e\n\u003ch2\u003ePricing and Billing\u003c/h2\u003e\n\u003cp\u003eThe pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service\u0026#39;s public availability does not determine OpenAny billing.\u003c/p\u003e\n\u003ch2\u003eFrequently Asked Questions\u003c/h2\u003e\n\u003ch3\u003eHow do start, end, span and period work together?\u003c/h3\u003e\n\u003cp\u003eSet start or end (UNIX timestamps), span (number of data points) and period (interval such as 24h or 2d) to define the sampling grid.\u003c/p\u003e\n\u003ch3\u003eWhat are the defaults for span and period?\u003c/h3\u003e\n\u003cp\u003ePer the contract, span defaults to 0 and period defaults to 24 hours.\u003c/p\u003e\n\u003ch3\u003eCan I chart multiple tokens in one request?\u003c/h3\u003e\n\u003cp\u003eYes. Pass comma-separated {chain}:{address} or coingecko:{id} values in the coins path parameter.\u003c/p\u003e\n\u003ch3\u003eDoes each point contain OHLC candles?\u003c/h3\u003e\n\u003cp\u003eNo. The response establishes timestamp and price observations, not open, high, low and close candle fields.\u003c/p\u003e\n\u003ch3\u003eHow do I find the earliest valid start timestamp for a token?\u003c/h3\u003e\n\u003cp\u003eQuery the DefiLlama First Token Prices API to get the token’s earliest indexed timestamp.\u003c/p\u003e\n\u003ch3\u003eWhen should I use Batch Token Prices instead of Token Price Chart?\u003c/h3\u003e\n\u003cp\u003eUse Batch Token Prices when you need arbitrary, irregular timestamps per token rather than regular intervals.\u003c/p\u003e\n\u003ch2\u003eRelated APIs\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/defillama/defillama-get-current-prices-of-tokens-by-contract-address\"\u003eDefiLlama Current Token Prices API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/defillama/defillama-get-historical-prices-for-multiple-tokens-at-multiple-different-timestamps\"\u003eDefiLlama Batch Token Prices API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/defillama/defillama-get-percentage-change-in-price-over-time\"\u003eDefiLlama Token Price Change API\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/defillama/defillama-get-token-prices-at-regular-time-intervals?offering=63d75454-3074-457a-8e61-a35418ffc33a","providerId":"defillama","publicPath":"/v1/agent-apis/defillama/chart/{coins}","requestContentType":"none","revision":5,"samples":[{"http_status":200,"name":"Official UI example (not runtime verified)","request":{"body":null,"headers":{},"path":{"coins":"ethereum:0xdF574c24545E5FfEcb9a659c229253D4111d87e1,coingecko:ethereum,bsc:0x762539b45a1dcce3d36d080f74d1aed37844b878,ethereum:0xdB25f211AB05b1c97D595516F45794528a807ad8"},"query":{"period":"2d","span":10,"start":1664364537}},"response_body":{"coins":{"ethereum:0xdF574c24545E5FfEcb9a659c229253D4111d87e1":{"confidence":0.99,"decimals":8,"prices":[{"price":0.984519,"timestamp":1666790570}],"symbol":"HUSD"}}}}],"seoDescription":"Get DefiLlama Token Price Chart data via REST or MCP powered by DeFiLlama. Pay per call, no subscription. Built to render token price charts.","updatedAt":"2026-12-03T02:39:13.679Z","usageInstructionsHtml":""}}