{"uid":"cap_c6RezdPr2L6swFBN2qVZg","slug":"x402-finance-hub-stock-time-series-b92e701c","name":"x402 Finance Hub – Stock Time Series","description":"Forex, stocks, crypto, and trading data from Alpha Vantage, Twelve Data, TradingView, and Forex Factory. Pay with USDC on Base.","url":"https://x402-trading-hub.vercel.app/api/stocks/time-series?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["symbol"],"properties":{"symbol":{"type":"string","description":"Stock symbol"},"interval":{"type":"string"},"outputsize":{"type":"string"}}},"responseSchema":{"type":"object","properties":{"data":{"type":"object"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_mk27ksqKimZRyD74TOyes","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns historical OHLCV time-series data for a given stock symbol at a specified interval and output size.","exampleAgentPrompt":"Pull the last 100 daily candlesticks for AAPL — I need the open, high, low, close, and volume so I can run a backtest.","exampleUseCases":null,"resultDescription":"A JSON object containing historical time-series price data (OHLCV) for the requested stock symbol, at the specified interval and output size, sourced from Alpha Vantage or Twelve Data.","failureModes":["Invalid or unknown stock symbol returns an error or empty data object","Unsupported interval value may return an error or default behavior","Payment of 0.1 USDC on Base not completed results in 402 Payment Required","Rate limit or upstream provider outage causes 5xx error","Missing required 'symbol' field returns a 400 validation error"],"whenToPreferThis":"Use this endpoint when you need historical OHLCV time-series data for a specific stock symbol and are comfortable paying $0.1 USDC per call via the x402 protocol on Base. Prefer this over free alternatives when you need reliable, multi-provider coverage (Alpha Vantage + Twelve Data) or when building trading pipelines that require on-demand market data with crypto micropayments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T12:39:58.469Z","isFirstParty":false,"canonicalSlug":"x402-finance-hub-stock-time-series-b92e701c"}