{"uid":"cap_TuFvcIjAYTbQCIa-UARIp","slug":"scrapemole-quotes-ohlcv-price-history-29e885bb","name":"ScrapeMole Quotes: OHLCV Price History","description":"Pay-per-call market data for agents: live-ish stock, ETF, index, FX and crypto quotes (price, change, day range, 52-week range, volume), batch quotes for up to 10 symbols, OHLCV price history, ticker search, and CoinGecko crypto prices with market cap and 24h change. Public market data only, no keys, no accounts. USDC via x402; failed calls are never charged.\n\nPayments: x402 v2, scheme \"exact\", USDC on Base (eip155:8453). The payment is verified before the work and settled only when the response is 200. Terms: https://quotes.scrapemole.workers.dev/terms","url":"https://quotes.scrapemole.workers.dev/v1/history?utm_source=zero.xyz","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":["symbol"],"properties":{"limit":{"type":"string","default":"500","description":"Max bars, most recent kept (1-2000)."},"range":{"enum":["1d","5d","1mo","3mo","6mo","ytd","1y","2y","5y","10y","max"],"type":"string","default":"1mo","description":"Lookback range."},"symbol":{"type":"string","examples":["AAPL"],"description":"Yahoo-style ticker."},"interval":{"enum":["5m","15m","30m","1h","1d","1wk","1mo"],"type":"string","description":"Bar size; default depends on range (1d->5m, 5d->30m, 1mo-1y->1d, 2y/5y->1wk, 10y/max->1mo)."}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"bars":[{"c":340.97,"h":342.63,"l":337.6,"o":336.82,"t":"2026-10-12T13:30:00.000Z","v":25796997,"adjClose":340.97}],"count":21,"range":"1mo","source":"Yahoo Finance","symbol":"AAPL","currency":"USD","interval":"1d","periodReturnPercent":4.2}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_c65GHGka6ORCa_ESLyteG","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns historical OHLCV candlestick bars for a given ticker symbol over a specified time range and interval","exampleAgentPrompt":"Pull the daily OHLCV price history for AAPL over the last 3 months so I can analyze how it's been trending.","exampleUseCases":[{"title":"Stock trend analysis for earnings","prompt":"Get me the daily price history for NVDA over the last year — open, high, low, close, and volume — so I can see how it's trended leading into each earnings report."},{"title":"Crypto performance backtesting","prompt":"Fetch weekly OHLCV bars for BTC-USD over the past 2 years so I can backtest a moving average crossover strategy on Bitcoin."},{"title":"ETF intraday monitoring","prompt":"Give me the 5-minute candlestick bars for SPY from today so I can see how the S&P 500 ETF moved throughout the trading session."}],"resultDescription":"Returns a JSON object with an array of OHLCV bars (each containing open, high, low, close, adjusted close, volume, and UTC timestamp), plus metadata including symbol, currency, interval, range, total bar count, data source (Yahoo Finance), and the period return percentage.","failureModes":["Invalid or unrecognized ticker symbol returns an error","Requested interval incompatible with range (e.g. 5m bars over 5 years) may return an error or be auto-adjusted","limit parameter outside 1-2000 range returns validation error","Network or upstream Yahoo Finance outage results in failure with no charge","Payment failure or insufficient USDC balance blocks the request before execution"],"whenToPreferThis":"Choose this endpoint when you need structured OHLCV candlestick data for stocks, ETFs, indices, FX pairs, or crypto over a defined lookback period — especially for charting, backtesting, or trend analysis. It requires no API key or account, charges only on successful responses ($0.002 USDC), and supports flexible intervals from 5-minute intraday to monthly bars. Prefer this over real-time quote endpoints when you need historical depth rather than a current snapshot.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T12:39:00.085Z","isFirstParty":false,"canonicalSlug":"scrapemole-quotes-ohlcv-price-history-29e885bb"}