{"uid":"cap_66M60A5UxSQT3dfHac59x","slug":"orchard-data-ohlcv-market-data-aea0e30b","name":"Orchard Data OHLCV Market Data","description":"Market data for AI agents, paid per-call via x402 (USDC on Base). Free index at /, free spec here.","url":"https://orchard-data.letom1176.workers.dev/api/ohlcv","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":{"range":{"enum":["5d","1mo","3mo","6mo","1y"],"type":"string"},"symbol":{"type":"string","description":"Ticker, e.g. SPY"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"range":"1mo","symbol":"SPY","candles":[{"low":750.2,"date":"2026-07-15","high":755.6,"open":751.2,"close":754.8,"volume":36741829}]}},"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_80XxnC5rIIYuVfFpelnW9","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 (open, high, low, close, volume) candlestick data for a given stock ticker over a specified time range, paid per-call via x402 micropayments.","exampleAgentPrompt":"Can you pull the monthly OHLCV candlestick data for SPY — I want to see the daily open, high, low, close, and volume for the past month?","exampleUseCases":[{"title":"Backtest trading strategy with historical candles","prompt":"Get me the daily OHLCV data for QQQ over the past 6 months — I'm building a moving average crossover strategy and need the historical candles."},{"title":"Chart stock price trend for client report","prompt":"Pull the 1-month daily price history for AAPL, including open, high, low, close, and volume, so I can chart its recent performance."},{"title":"Monitor recent volatility for a position","prompt":"What does the 5-day OHLCV data look like for TSLA? I want to see if there's been unusual price swings or volume spikes this week."}],"resultDescription":"A JSON object containing the ticker symbol, the requested range, and an array of candlestick objects — each with a date, open, high, low, close price, and trading volume for that day.","failureModes":["Missing required 'symbol' query parameter returns a validation error","Invalid or unrecognized ticker symbol may return empty candles or an error","Invalid range value (not one of 5d, 1mo, 3mo, 6mo, 1y) returns a validation error","Insufficient USDC balance or failed x402 payment results in a 402 Payment Required response","Cloudflare Worker timeouts or upstream data provider outages may cause 5xx errors"],"whenToPreferThis":"Choose this endpoint when an AI agent needs structured daily OHLCV candlestick data for US equities and can pay per-call via x402 USDC micropayments on Base. It is well-suited for agents doing technical analysis, backtesting, charting, or monitoring stock price history. Prefer it over free alternatives when you need a reliable, machine-payable, agent-native data source without API key management.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:39:18.512Z","isFirstParty":false}