{"uid":"cap_mIcprfkXF0KGgEaE9MFcu","slug":"nojunk-stocks-historical-ohlcv-data-14a4b511","name":"NoJunk Stocks Historical OHLCV Data","description":"Stock Quotes history: One symbol -> OHLCV candles for a range (1d to max) and interval (1m to 1mo), adjusted close, dividends, splits and a summary (first, last, change %, high, low, average volume).","url":"https://nojunk-stocks.mick8511.workers.dev/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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["symbol"],"properties":{"range":{"type":"string","description":"One of 1d, 5d, 1mo, 3mo, 6mo, 1y, 2y, 5y, max (default 1mo)"},"symbol":{"type":"string","maxLength":12,"minLength":1,"description":"Ticker symbol, 1-12 characters of A-Z 0-9 . ^ = - e.g. AAPL, BRK-B, ^GSPC, BTC-USD, EURUSD=X, GC=F"},"interval":{"type":"string","description":"One of 1m, 5m, 15m, 1h, 1d, 1wk, 1mo (default 1d); 1m only with range 1d/5d, other intraday only with range up to 1mo"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"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_N5kfNMyvz_3ET94_-TAmw","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 OHLCV candlestick data, adjusted close, dividends, splits, and a summary (first, last, change %, high, low, avg volume) for a given ticker symbol over a specified range and interval.","exampleAgentPrompt":"Pull the daily OHLCV candles for AAPL over the last 6 months, and include the summary showing total change percent, high, low, and average volume.","exampleUseCases":[{"title":"Backtesting a trading strategy","prompt":"Get me the daily OHLCV data for SPY over the past 2 years so I can backtest a moving average crossover strategy."},{"title":"Tracking crypto price performance","prompt":"Fetch the weekly Bitcoin price history in USD for the last year — I want to see the open, high, low, close, and volume, plus a summary of the overall change."},{"title":"Monitoring dividend and split history","prompt":"Pull the full price history for JNJ including any dividends and stock splits over the past 5 years on a monthly interval."}],"resultDescription":"Returns a list of OHLCV candlestick bars (open, high, low, close, volume) at the requested interval, adjusted close prices, dividend events, split events, and a summary object with the first price, last price, percentage change, period high, period low, and average volume.","failureModes":["Invalid or unrecognized ticker symbol returns an error","Intraday intervals (1m) requested with range longer than 5d return an error","Interval/range combination not supported (e.g. 1h with max range) returns an error","Symbol field missing returns a 400-level error","Network or upstream data provider outage returns a 5xx error","Symbol with no data for the requested range returns empty candles"],"whenToPreferThis":"Use this endpoint when you need historical OHLCV price data with flexible range and interval options (from 1-minute intraday to monthly bars), or when you specifically need adjusted close prices, dividend history, or split history alongside a statistical summary. Prefer it over a quotes endpoint when you need time-series data rather than a single latest price snapshot.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T12:35:12.757Z","isFirstParty":false,"canonicalSlug":"nojunk-stocks-historical-ohlcv-data-14a4b511"}