{"uid":"cap_esj8yRFp-wQ741u2DM2t2","slug":"alpha-vantage-currency-exchange-rate-via-locus-x402-2f50e10e","name":"Alpha Vantage Currency Exchange Rate (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/currency-exchange-rate","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"to_currency":{"type":"string"},"from_currency":{"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_IjODk5-yzkYRv3XB0DZJE","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 the real-time exchange rate between any two currencies, including fiat, crypto, and commodities, via a pay-per-call x402 micropayment gateway.","exampleAgentPrompt":"What is the current exchange rate from USD to EUR? I need the live Alpha Vantage quote.","exampleUseCases":[{"title":"Real-time forex rate check","prompt":"What is the live exchange rate from GBP to JPY right now? I need the current bid and ask prices."},{"title":"Crypto-to-fiat valuation","prompt":"What is 1 Bitcoin worth in USD at this moment? Pull the live rate from Alpha Vantage."},{"title":"Cross-currency pricing for invoicing","prompt":"I need to invoice a client in euros — what is the current EUR to USD exchange rate so I can convert the amount correctly?"}],"resultDescription":"Returns a JSON object containing the real-time exchange rate between the specified currency pair, including the from and to currency names and codes, the exchange rate, bid price, ask price, and the timestamp of the last data refresh. Payment metadata (settled USDC, authorized USDC) and a request ID are also included in the response envelope.","failureModes":["Invalid currency code returns an error or empty data object","Unsupported currency pair may return no rate","Payment failure or insufficient USDC balance prevents the call from completing","Rate-limited or unavailable Alpha Vantage data results in empty or delayed response","Malformed request body (missing from_currency or to_currency) returns a validation error"],"whenToPreferThis":"Choose this endpoint when you need a real-time, point-in-time exchange rate between two currencies (fiat, crypto, or commodity) and want to pay only per call without a subscription. It is ideal for agents performing on-demand currency conversion, pricing calculations, or financial data enrichment in workflows where subscribing to a full forex data plan is unnecessary.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:42:14.123Z","isFirstParty":false}