{"uid":"cap_94EJ5hzL8NFCFQgww8nPb","slug":"x402-finance-hub-forex-time-series-7f70be25","name":"x402 Finance Hub – Forex 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/forex/time-series?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["symbol"],"properties":{"symbol":{"type":"string","description":"Forex pair (e.g. EUR/USD)"},"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_Ka79Uu9lPvT6vXUfmM9Xy","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 time series data for a forex currency pair (e.g. EUR/USD) with configurable interval and output size, paid via USDC on Base.","exampleAgentPrompt":"Can you pull the daily time series for EUR/USD for the last 100 data points so I can analyze the recent price trend?","exampleUseCases":null,"resultDescription":"A JSON object containing historical OHLCV (open, high, low, close, volume) time series data for the requested forex pair, structured by timestamp and interval, sourced from Alpha Vantage or Twelve Data.","failureModes":["Invalid or unsupported forex symbol returns an error or empty data","Missing required 'symbol' field returns a 400 validation error","Payment failure (insufficient USDC or wrong network) results in a 402 response","Upstream provider (Alpha Vantage/Twelve Data) rate limit or downtime causes 500 or timeout","Unsupported interval value may return no data or an error"],"whenToPreferThis":"Choose this endpoint when you need historical candlestick or OHLCV time series data for a specific forex pair and want to pay per-call with USDC on Base via the x402 protocol, avoiding subscription-based API keys. Ideal for agents doing backtesting, charting, or trend analysis on currency pairs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:33:31.907Z","isFirstParty":false,"canonicalSlug":"x402-finance-hub-forex-time-series-7f70be25"}