{"uid":"cap_VR9KqOOs1uW6zE6BdnOWc","slug":"alpha-vantage-fx-daily-via-locus-x402-a5520812","name":"Alpha Vantage FX Daily via Locus x402","description":"Financial market data — stock prices, forex, crypto, commodities, economic indicators, technical analysis, and news sentiment.","url":"https://alphavantage.x402.paywithlocus.com/alphavantage/fx-daily","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"datatype":{"type":"string"},"to_symbol":{"type":"string"},"outputsize":{"type":"string"},"from_symbol":{"type":"string"}}},"responseSchema":{"type":"json","example":{"data":{},"payment":{"scheme":"exact","settledUsdc":"0.001000","authorizedMaxUsdc":"0.001000"},"request":{"id":"00000000-0000-4000-8000-000000000000","statusUrl":"/requests/00000000-0000-4000-8000-000000000000"},"success":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.008","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.008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1iNMu3Whm05Vw1ybk_FiQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.008","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns daily foreign exchange (forex) time-series data between two currency pairs via pay-per-use x402 micropayment.","exampleAgentPrompt":"Can you pull the daily forex price history for EUR to USD — just the latest 100 data points in JSON format?","exampleUseCases":[{"title":"Forex backtesting data retrieval","prompt":"Get me the full daily price history for GBP to USD in JSON so I can backtest my moving-average trading strategy."},{"title":"Currency pair monitoring dashboard","prompt":"Fetch the latest 100 days of daily exchange rate data for EUR to JPY — I need the open, high, low, and close values to update my FX dashboard."},{"title":"Cross-currency portfolio valuation","prompt":"Pull the daily USD to CHF exchange rate history, compact size, so I can calculate the historical value of my Swiss franc holdings in dollars."}],"resultDescription":"A JSON object containing daily OHLCV (open, high, low, close, volume) time-series data for the requested currency pair, along with payment settlement details (settled USDC amount) and a request tracking ID. The 'data' field holds the Alpha Vantage time-series response. Compact mode returns the latest 100 trading days; full mode returns the complete available history.","failureModes":["Invalid currency code (e.g. unsupported or misspelled symbol) returns an error or empty data object","Insufficient USDC payment authorization causes payment failure before data is returned","Alpha Vantage upstream rate limit or outage results in empty or error data payload","Invalid outputsize or datatype parameter value may return an error or default behavior","Network timeout on the x402 facilitator proxy layer"],"whenToPreferThis":"Choose this endpoint when you need daily granularity foreign exchange time-series data (OHLCV) for any currency pair and want pay-per-use micropayment access via x402 without managing an Alpha Vantage API key directly. It is ideal for agents that need forex data on-demand without subscription overhead. Prefer alternatives if you need intraday (minute/hourly) FX data, real-time tick data, or non-forex asset classes like equities or crypto.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:35:27.115Z","isFirstParty":false}