{"uid":"cap_siaTggV-sD5Ye8gFNeFkM","slug":"coingecko-historical-chart-data-137050ca","name":"CoinGecko Historical Chart Data","description":"Pay-per-request access to CoinGecko, DefiLlama, Alchemy, and Etherscan APIs. No auth, no subscriptions.","url":"https://stablecrypto.dev/api/coingecko/chart","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"id":{"type":"string","description":"Coin ID"},"days":{"type":"string","description":"Data range in days (1, 7, 14, 30, 90, 180, 365, max)"},"interval":{"type":"string","description":"Data interval (e.g. \"daily\")"},"precision":{"type":"string"},"vs_currency":{"type":"string","description":"Target currency"}}},"responseSchema":null,"example":{"request":{"id":"ethereum","days":"90","interval":"daily","vs_currency":"usd"},"response":{"prices":[[1773532800000,2096.556369062344],[1773619200000,2175.059915408281],[1773705600000,2351.172929558985],[1773792000000,2318.1196031651903],[1773878400000,2203.380058379178],[1773964800000,2137.450038431429],[1774051200000,2146.971987874902],[1774137600000,2078.0492129718186],[1774224000000,2053.1449566818205],[1774310400000,2151.498274966905],[1774396800000,2155.6817607237],[1774483200000,2168.2595767488515],[1774569600000,2059.332619583916],[1774656000000,1991.9001004362854],[1774742400000,1992.7681119939894],[1774828800000,1983.184167632635],[1774915200000,2023.82401658508],[1775001600000,2104.8765857093113],[1775088000000,2139.0578887146285],[1775174400000,2056.8902960008427],[1775260800000,2053.6088145168164],[1775347200000,2064.9940579142453],[1775433600000,2109.005555869251],[1775520000000,2107.828320222534],[1775606400000,2241.8159903072574],[1775692800000,2190.478568186725],[1775779200000,2188.9744265525896],[1775865600000,2245.0457222392993],[1775952000000,2285.4701387600003],[1776038400000,2192.1608453362987],[1776124800000,2371.8632958349403],[1776211200000,2323.217827319875],[1776297600000,2359.683410161545],[1776384000000,2348.7047080527386],[1776470400000,2421.00695362286],[1776556800000,2350.9360042357484],[1776643200000,2264.8143990219965],[1776729600000,2315.024147296644],[1776816000000,2327.5116327297133],[1776902400000,2377.9343971512685],[1776988800000,2330.8275816492055],[1777075200000,2315.512435446713],[1777161600000,2319.1503239938397],[1777248000000,2369.743028837697],[1777334400000,2299.7704586966606],[1777420800000,2288.0449269490086],[1777507200000,2253.4583579638706],[1777593600000,2255.980291785015],[1777680000000,2294.6636890449554],[1777766400000,2316.3293345288466],[1777852800000,2324.133330261142],[1777939200000,2345.9956663961593],[1778025600000,2361.0857066652707],[1778112000000,2350.4781193929102],[1778198400000,2291.184888890017],[1778284800000,2306.8311830289026],[1778371200000,2326.4573018792307],[1778457600000,2368.837665726271],[1778544000000,2339.603401986634],[1778630400000,2274.643164858102],[1778716800000,2257.6171092097293],[1778803200000,2281.4964960855596],[1778889600000,2223.5888907434723],[1778976000000,2179.876738047661],[1779062400000,2128.0002275811294],[1779148800000,2128.491500875394],[1779235200000,2111.7475988138285],[1779321600000,2127.2938085253463],[1779408000000,2131.694272748801],[1779494400000,2064.3781409811045],[1779580800000,2115.708147579567],[1779667200000,2098.138643929662],[1779753600000,2111.2088364861415],[1779840000000,2070.833946428856],[1779926400000,2022.5062490754037],[1780012800000,2007.5624108851769],[1780099200000,2012.230102947315],[1780185600000,2019.175626778262],[1780272000000,2003.971930485462],[1780358400000,2003.3651516762716],[1780444800000,1856.053796035668],[1780531200000,1811.3503544806065],[1780617600000,1769.1790948329233],[1780704000000,1580.6197586525523],[1780790400000,1568.766143257666],[1780876800000,1687.0442636989208],[1780963200000,1690.0951127719102],[1781049600000,1637.8350754267938],[1781136000000,1621.2977067034271],[1781222400000,1671.88909163853],[1781238568000,1674.9825382598615]],"market_caps":[[1773532800000,253100179300.2875],[1773619200000,262512054941.10397],[1773705600000,283735615158.5437],[1773792000000,279844075617.11676],[1773878400000,266107991165.40198],[1773964800000,258058898457.4955],[1774051200000,259208652759.6241],[1774137600000,251826217028.40793],[1774224000000,247825857616.28088],[1774310400000,259554597861.1581],[1774396800000,260196677160.7846],[1774483200000,261686587476.22174],[1774569600000,248549670710.29474],[1774656000000,240350263112.52786],[1774742400000,240522260218.70126],[1774828800000,239326397494.90433],[1774915200000,244309802342.48956],[1775001600000,254040532514.3724],[1775088000000,258116059272.45245],[1775174400000,248300421924.8768],[1775260800000,247829585497.51974],[1775347200000,249240961118.02728],[1775433600000,254592970362.67072],[1775520000000,254578699899.6768],[1775606400000,270468163882.67227],[1775692800000,264371759670.03903],[1775779200000,264230455241.25476],[1775865600000,270956686144.31454],[1775952000000,275866964719.991],[1776038400000,264544626755.8191],[1776124800000,286322430134.9875],[1776211200000,280391279509.0663],[1776297600000,284827964173.4559],[1776384000000,283412286692.5497],[1776470400000,292201557219.6431],[1776556800000,283736558086.4004],[1776643200000,273471912491.04132],[1776729600000,279392380110.18536],[1776816000000,280906616299.54285],[1776902400000,287037182366.73193],[1776988800000,281372763547.7247],[1777075200000,279460269416.0835],[1777161600000,279895755954.1626],[1777248000000,286067495300.5766],[1777334400000,277513443377.6996],[1777420800000,276138338870.7167],[1777507200000,272009746069.51898],[1777593600000,272335661344.34506],[1777680000000,276769010103.0854],[1777766400000,279471189560.5661],[1777852800000,280472981497.3088],[1777939200000,283101054323.2373],[1778025600000,284952981344.09186],[1778112000000,283646020806.41174],[1778198400000,276516619989.3092],[1778284800000,278346024281.21814],[1778371200000,280783646742.2664],[1778457600000,285963726467.4334],[1778544000000,282369663646.8243],[1778630400000,274512686207.31485],[1778716800000,272478138096.27826],[1778803200000,275345080771.5522],[1778889600000,268396651061.30658],[1778976000000,263107467414.07],[1779062400000,256819394719.64435],[1779148800000,256878631052.22052],[1779235200000,254883636590.25598],[1779321600000,256733858594.53214],[1779408000000,257402121517.96973],[1779494400000,249169080012.44092],[1779580800000,255408951155.47876],[1779667200000,253223759462.88235],[1779753600000,254705706468.91397],[1779840000000,249887411816.00323],[1779926400000,244028506668.3107],[1780012800000,242251731321.9799],[1780099200000,242817771057.2567],[1780185600000,243678354050.8948],[1780272000000,241848544615.5136],[1780358400000,241630774740.1433],[1780444800000,223998330354.8286],[1780531200000,218603067989.72678],[1780617600000,213353942238.62924],[1780704000000,190674884167.2772],[1780790400000,189332154992.4709],[1780876800000,203483035194.4283],[1780963200000,203763555387.61655],[1781049600000,197708727281.66705],[1781136000000,195685388741.0592],[1781222400000,201775713182.1136],[1781238568000,202139075190.9601]],"total_volumes":[[1773532800000,9282981861.045782],[1773619200000,14747913813.60742],[1773705600000,37734375007.812355],[1773792000000,24944176216.695835],[1773878400000,24417846816.558723],[1773964800000,24108916783.710667],[1774051200000,16150931145.105274],[1774137600000,8184480973.487277],[1774224000000,15324406138.541382],[1774310400000,28068766677.710217],[1774396800000,17313748265.95867],[1774483200000,16105449679.631647],[1774569600000,17644048977.134975],[1774656000000,18794766454.176136],[1774742400000,7979293174.014605],[1774828800000,10326299594.555487],[1774915200000,17467477810.849476],[1775001600000,21496491501.1208],[1775088000000,18985751706.48486],[1775174400000,18107142808.132233],[1775260800000,10901803576.733706],[1775347200000,6614766426.338903],[1775433600000,10308136462.203756],[1775520000000,17715610730.53405],[1775606400000,21326991149.979954],[1775692800000,21125273662.90435],[1775779200000,17278828176.633224],[1775865600000,16110889862.863766],[1775952000000,11696324641.23899],[1776038400000,14967971355.94253],[1776124800000,23820082860.198566],[1776211200000,24070653200.686302],[1776297600000,17326838284.48319],[1776384000000,20472335141.626884],[1776470400000,25049986905.615837],[1776556800000,13349871162.941334],[1776643200000,16902057633.758123],[1776729600000,23156669964.6911],[1776816000000,17130568289.747871],[1776902400000,20905574032.85398],[1776988800000,19629913368.43663],[1777075200000,13635648616.699389],[1777161600000,6121295053.320906],[1777248000000,11012462134.513592],[1777334400000,12150745861.189976],[1777420800000,12066840793.75513],[1777507200000,19379367781.632473],[1777593600000,11369388536.740932],[1777680000000,12312967150.130577],[1777766400000,6497751064.097067],[1777852800000,9355399348.19334],[1777939200000,23880953186.743664],[1778025600000,16430576394.726986],[1778112000000,21825138299.97193],[1778198400000,22081476649.42533],[1778284800000,18394366323.260735],[1778371200000,11017131520.707546],[1778457600000,17501460235.16661],[1778544000000,15115287938.074223],[1778630400000,14692651356.32512],[1778716800000,13975758933.83422],[1778803200000,16314146159.781778],[1778889600000,16912505585.208876],[1778976000000,11230210593.107407],[1779062400000,9287604931.97313],[1779148800000,17747081554.3689],[1779235200000,10684756632.328907],[1779321600000,11880070016.234482],[1779408000000,13232124105.785456],[1779494400000,13157867768.68006],[1779580800000,15881194900.795416],[1779667200000,10016986051.91297],[1779753600000,9520275612.667746],[1779840000000,14289357242.495832],[1779926400000,13266188767.021996],[1780012800000,16829611058.685492],[1780099200000,13389782791.04652],[1780185600000,6649283564.115899],[1780272000000,7997871254.165891],[1780358400000,17853069879.427395],[1780444800000,23020084375.75209],[1780531200000,22903130202.65802],[1780617600000,26321504052.23819],[1780704000000,39419487821.76727],[1780790400000,17844096160.95486],[1780876800000,16509959473.19324],[1780963200000,16654264816.130854],[1781049600000,14127918160.208885],[1781136000000,13051388908.792965],[1781222400000,11763657711.167143],[1781238568000,12399657823.722017]]}},"exampleRequest":{"id":"ethereum","days":"90","interval":"daily","vs_currency":"usd"},"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_wEOKA5zpks6mC8jmFdAH6","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns historical price, volume, and market cap time-series data for a cryptocurrency over a specified time range","exampleAgentPrompt":"Show me the daily price and market cap history for Ethereum in USD over the last 90 days.","exampleUseCases":null,"resultDescription":"An object containing three parallel time-series arrays: prices (timestamp + price pairs), market_caps (timestamp + market cap pairs), and total_volumes (timestamp + volume pairs), all covering the requested coin and time range.","failureModes":["Invalid coin ID returns an error — use CoinGecko slug format (e.g. 'bitcoin', not 'BTC')","Unsupported days value causes rejection — must be 1, 7, 14, 30, 90, 180, 365, or 'max'","Unsupported vs_currency value results in error","Payment failure if USDC balance is insufficient for the $0.01 per-call fee","Rate limiting or upstream CoinGecko API unavailability may return 503"],"whenToPreferThis":"Use this endpoint when you need historical price, volume, or market cap time-series data for a specific cryptocurrency. Prefer this over live price endpoints when you need trend analysis, charting, or backtesting. Choose it over broader market endpoints when you have a specific coin and time range in mind.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:46:12.045Z","isFirstParty":false}