{"uid":"cap_9pJa3YFyKgEkg3zlMLRe7","slug":"currency-exchange-fx-openverbs-com-a769da4d","name":"Currency Exchange – fx.openverbs.com","description":"Reference exchange rates for a base currency against some or all supported currencies (latest or a historical date).","url":"https://fx.openverbs.com/v1/rates","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["base"],"properties":{"base":{"enum":["AUD","BRL","CAD","CHF","CNY","CZK","DKK","EUR","GBP","HKD","HUF","IDR","ILS","INR","ISK","JPY","KRW","MXN","MYR","NOK","NZD","PHP","PLN","RON","SEK","SGD","THB","TRY","USD","ZAR"],"type":"string","description":"Base currency (ISO 4217)."},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","description":"Historical date (YYYY-MM-DD). Defaults to latest."},"symbols":{"type":"array","items":{"enum":["AUD","BRL","CAD","CHF","CNY","CZK","DKK","EUR","GBP","HKD","HUF","IDR","ILS","INR","ISK","JPY","KRW","MXN","MYR","NOK","NZD","PHP","PLN","RON","SEK","SGD","THB","TRY","USD","ZAR"],"type":"string"},"minItems":1,"description":"Target currencies. Omit for all supported currencies."}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.006","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.006/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6o2TbK9nHMiD49srhPKke","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.006","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns current or historical foreign exchange rates for a base currency against one or more target currencies","exampleAgentPrompt":"What's the current exchange rate from USD to EUR, GBP, and JPY?","exampleUseCases":[{"title":"Live rate lookup for e-commerce pricing","prompt":"I need the current exchange rates from USD to EUR, GBP, CAD, and AUD so I can update our product prices for international customers."},{"title":"Historical rate retrieval for accounting","prompt":"What were the EUR to USD, CHF, and GBP exchange rates on 2024-03-31? I need them for our quarterly financial report."},{"title":"Multi-currency dashboard for travel app","prompt":"Pull today's exchange rates using JPY as the base currency against all supported currencies — I'm building a rate comparison view for travelers."}],"resultDescription":"Returns a structured map of exchange rates for the requested target currencies relative to the base currency, along with the effective date of the rates. If no target currencies are specified, rates for all 30 supported ISO 4217 currencies are returned.","failureModes":["Unsupported currency code in base or symbols → validation error","Invalid date format (not YYYY-MM-DD) → schema validation failure","Date too far in the past with no historical data → empty or error response","Missing required 'base' field → request rejected","Network or upstream forex data provider outage → service unavailable"],"whenToPreferThis":"Choose this endpoint when you need spot or historical foreign exchange rates for any of 30 major world currencies, especially when you need rates relative to a non-USD base or for a specific historical date. Prefer it over generic currency converter widgets when you need programmatic, structured rate data for multiple currency pairs in one call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:30:28.053Z","isFirstParty":false}