{"uid":"cap_S2UcG1a3_GbkAslD6Ahtu","slug":"lastlook-data-crypto-historical-daily-closing-prices-8842b201","name":"LastLook Data — Crypto Historical Daily Closing Prices","description":"LastLook Data — historical daily closing prices for any supported cryptocurrency. Use ?coin=BTC&days=30|90|365. Source: CoinGecko.","url":"https://api.lastlookdata.com/api/crypto/history","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["coin","days"],"properties":{"coin":{"enum":["BTC","ETH","SOL","BNB","XRP","USDT","USDC","ADA","AVAX","DOGE","DOT","MATIC","LINK","LTC","ATOM","UNI","SUI","APT","NEAR","PEPE"],"type":"string","description":"Crypto symbol"},"days":{"enum":["30","90","365"],"type":"string","description":"30, 90, or 365 days of history"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.15","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.15/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_s_9_EncC56rUlYAgDsgKO","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.15","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns historical daily closing prices for a supported cryptocurrency over 30, 90, or 365 days, sourced from CoinGecko.","exampleAgentPrompt":"Can you pull the daily closing prices for Bitcoin over the last 365 days so I can see the full year's price history?","exampleUseCases":null,"resultDescription":"An array of historical daily closing price data points for the requested cryptocurrency over the specified window (30, 90, or 365 days), with each entry containing a date and closing price, sourced from CoinGecko.","failureModes":["Unsupported coin symbol returns an error — only BTC, ETH, SOL, BNB, XRP, USDT, USDC, ADA, AVAX, DOGE, DOT, MATIC, LINK, LTC, ATOM, UNI, SUI, APT, NEAR, PEPE are valid","Invalid days value returns an error — only '30', '90', or '365' are accepted","Missing required query parameters (coin or days) results in a bad request error","CoinGecko upstream outage may cause data unavailability","Payment failure (x402) if insufficient USDC balance provided"],"whenToPreferThis":"Use this endpoint when you need historical daily closing price series for a specific top-20 cryptocurrency over a fixed window of 30, 90, or 365 days. Prefer it over spot-price endpoints when trend analysis, backtesting, or charting is needed. Best when CoinGecko-sourced data is acceptable and only end-of-day granularity is required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:49:06.122Z","isFirstParty":false}