{"uid":"cap_wDcvxAONkYw6FtpsrRpIR","slug":"market2000-xyz-price-history-ohlc-candlestick-bars-2cbb855a","name":"market2000.xyz Price History (OHLC Candlestick Bars)","description":"An origin the crawlers already index. We count what AI agents try to buy, what they are refused, and what the AI companies take without sending anyone back. Sold per call in USDC.","url":"https://market2000.xyz/get_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","queryParams"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["ticker","start_date","end_date"],"properties":{"ticker":{"type":"string","description":"Asset symbol (e.g. AAPL, BTC-USD, SPY)"},"end_date":{"type":"string","description":"End date, inclusive (YYYY-MM-DD)"},"timeframe":{"type":"string","description":"Bar size: 1d (default), 1h, 30m, 15m"},"start_date":{"type":"string","description":"Start date, inclusive (YYYY-MM-DD)"}}}}},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["ticker","timeframe","bars"],"properties":{"bars":{"type":"array","items":{"type":"object","required":["date","open","high","low","close"],"properties":{"low":{"type":"number"},"date":{"type":"string"},"high":{"type":"number"},"open":{"type":"number"},"close":{"type":"number"}}}},"ticker":{"type":"string"},"timeframe":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"bars":[{"low":183.7,"date":"2024-01-02","high":186,"open":185.5,"close":185.2}],"ticker":"AAPL","timeframe":"1d"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.01/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_uTDYu5p3hSdE5N_tZsoM9","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 OHLC candlestick bar data for any ticker symbol over a specified date range, with support for daily and intraday timeframes, cached via yfinance.","exampleAgentPrompt":"Pull the daily OHLC price history for AAPL from January 2, 2024 through March 1, 2024 — I need the open, high, low, and close bars for each trading day.","exampleUseCases":[{"title":"Backtest moving average strategy","prompt":"Grab 6 months of daily OHLC bars for SPY from July 1, 2024 through December 31, 2024 — I want to backtest a 50-day and 200-day moving average crossover strategy and need the full open, high, low, close history to run the signals."},{"title":"Chart intraday price swings","prompt":"Fetch 1-hour candlestick bars for QQQ from November 1, 2024 through November 30, 2024 — I'm building an intraday chart and need the open, high, low, and close for each hourly period so I can visualize how the ETF moved throughout each trading day."},{"title":"Analyze Bitcoin price history","prompt":"Pull daily OHLC data for BTC-USD from January 1, 2024 through June 30, 2024 — I'm analyzing Bitcoin's price behavior over the first half of the year and need the full candlestick history to identify support levels and major trend reversals."}],"resultDescription":"A JSON object containing the ticker symbol, timeframe, and an array of OHLC bars, where each bar includes date, open, high, low, and close prices for that period.","failureModes":["Invalid ticker symbol returns empty bars or error","Date range with no trading days (e.g. holidays only) returns empty bars array","Unsupported timeframe value returns validation error","Start date after end date causes bad request","yfinance upstream failure may return incomplete or stale data","Very short intraday timeframes may have limited historical depth available"],"whenToPreferThis":"Use this endpoint when you need historical OHLC candlestick data for stocks, ETFs, or crypto pairs over a specific date range — especially for backtesting strategies, charting, or technical analysis. It supports intraday granularity (15m, 30m, 1h) as well as daily bars, and caches results locally for repeat queries. Prefer this over real-time price endpoints when historical depth matters more than recency.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:40:29.164Z","isFirstParty":false}