{"uid":"cap_tVITJ5hvmYyXyMwLzBqiG","slug":"finance-toonhaus-dev-e8b368f3","name":"finance.toonhaus.dev Stock Price History (OHLCV Candles)","description":"OHLCV candles","url":"https://finance.toonhaus.dev/api/stock/price-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","properties":{}}},"additionalProperties":false}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"ticker":"AAPL"}}},"response":{"_truncated":true,"_originalSize":38416}},"exampleRequest":{"ticker":"AAPL"},"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"1.00","reviews":0,"stars":null,"state":"rated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_PpyMOO-Te63U7L4NwBJVG","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","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 price history for a given stock symbol","exampleAgentPrompt":"Can you pull up the OHLCV candlestick price history for AAPL for the past 3 months so I can see how the stock has been moving?","exampleUseCases":[{"title":"Backtest trading strategy signals","prompt":"I want to backtest a moving average crossover strategy on Tesla stock. Can you grab me the daily OHLCV candles for TSLA going back 2 years so I can run the analysis?"},{"title":"Identify technical chart patterns","prompt":"Let me analyze whether Microsoft is forming a head and shoulders pattern. Can you fetch the weekly OHLCV data for MSFT over the last 6 months so I can check the price levels?"},{"title":"Compare volatility across periods","prompt":"I'm trying to understand if tech stocks have gotten more volatile lately. Can you pull the monthly OHLCV candles for NVDA, AMD, and Intel going back 5 years so I can compare their price swings?"}],"resultDescription":"Returns an array of OHLCV candlestick records for the requested stock, each containing open, high, low, close prices and trading volume for each time interval (e.g. daily candles). Useful for charting, technical analysis, and backtesting trading strategies.","failureModes":["Invalid or unknown ticker symbol returns an error or empty dataset","Missing required query parameters (e.g. ticker) results in a 400 error","Requesting data for a non-trading period may return no candles","Rate limiting or payment failure via x402 protocol may return 402","Very long date ranges may return partial data or timeout"],"whenToPreferThis":"Use this endpoint when you need structured OHLCV candlestick price history for a stock, particularly for technical analysis, charting, or backtesting. Prefer this over alternatives when working within the finance.toonhaus.dev ecosystem alongside other endpoints like analyst targets, options chains, or earnings dates for a holistic stock research workflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":2,"lastUsedAt":"2026-06-19T14:04:18.223Z","lastSuccessfullyRanAt":"2026-06-19T14:04:18.223Z","lastHealthCheckAt":"2026-09-15T12:51:54.901Z","isFirstParty":false}