{"uid":"cap_AriBR6AORWSvDh1NUsoa7","slug":"x402-deployer-x402-deployer-workers-dev-767c7613","name":"x402 Exchange Rates (ECB/Frankfurter)","description":"Exchange rates. Latest or historical FX rates between currencies, sourced from the European Central Bank (Frankfurter API). 30+ currency pairs. Optional amount conversion. No commercial restrictions. Specify a base currency (default USD), an optional quote currency or list, an optional date (YYYY-MM-DD or 'latest'), and an optional amount to also receive a converted value when a single quote is supplied.","url":"https://x402-deployer.x402-deployer.workers.dev/exchange-rates","method":"POST","headers":{},"bodySchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"input":{"type":"object","properties":{"type":{"type":"string","const":"http"},"method":{"type":"string","enum":["POST"]},"bodyType":{"type":"string","enum":["json","form-data","text"]},"body":{"properties":{"base":{"type":"string","description":"ISO 4217 base currency code (e.g. 'USD', 'EUR'). Default 'USD'."},"quote":{"description":"Single ISO 4217 quote currency, or array of codes. Omit for all available rates."},"date":{"type":"string","description":"'latest' (default) or a historical date in YYYY-MM-DD format."},"amount":{"type":"number","description":"Optional amount in the base currency. When a single quote is supplied, the response includes the converted amount."}},"required":[]}},"required":["type","method","bodyType","body"],"additionalProperties":false},"output":{"type":"object","properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"base":{"type":"string"},"date":{"type":"string"},"rates":{"type":"object","properties":{"EUR":{"type":"number"},"GBP":{"type":"number"},"JPY":{"type":"number"}}},"source":{"type":"string"}}}},"required":["type"]}},"required":["input"]},"responseSchema":null,"example":{"request":{"input":{"body":{"base":"USD","date":"latest","quote":"EUR","amount":750},"type":"http","method":"POST","bodyType":"json"}},"response":{"base":"USD","date":"2026-06-05","rates":{"EUR":0.85911},"source":"https://api.frankfurter.dev","converted":{"to_amount":644.3325,"from_amount":750,"to_currency":"EUR"}}},"exampleRequest":{"base":"USD","date":"latest","quote":"EUR","amount":750},"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_mRlx1lH2BG-rYkk2AhFrz","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns latest or historical FX exchange rates for 30+ currency pairs sourced from the European Central Bank, with optional amount conversion.","exampleAgentPrompt":"What's the ECB exchange rate for USD to EUR today, and how much would 750 USD be in euros?","exampleUseCases":null,"resultDescription":"Returns the exchange rate(s) for the specified base/quote currency pair(s) on the requested date (or latest), sourced from the European Central Bank. When a single quote currency and an amount are provided, also returns the converted value.","failureModes":["Unsupported currency code returns an error or empty result","Future date requested — ECB rates only available up to the current business day","Weekend or ECB holiday date may return no rate (ECB does not publish on non-business days)","Invalid date format (not YYYY-MM-DD) causes a parsing error","Missing base currency defaults to USD — may return unexpected pair if not specified explicitly"],"whenToPreferThis":"Choose this endpoint when you need reliable, authoritative FX rates sourced from the European Central Bank with no commercial restrictions. Ideal for finance automation, invoice conversion, historical rate lookups, or multi-currency reporting. Prefer over commercial FX APIs when you need ECB-official rates without subscription overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:51:47.670Z","isFirstParty":false}