{"uid":"cap_y3Q8Kuqx110FCiQ8SedqK","slug":"ecb-fx-currency-converter-5b86c221","name":"ECB FX Currency Converter","description":"Official ECB foreign-exchange reference rates for agents: latest rates, conversion and historical fixings for ~30 currencies. Paid per call via x402 (USDC on Base).","url":"https://fx.x402utils.workers.dev/v1/convert?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["from","to","amount"],"properties":{"to":{"type":"string","description":"target currency"},"from":{"type":"string","description":"source currency"},"amount":{"type":"string","description":"amount to convert"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"to":"PLN","from":"USD","rate":3.8553,"amount":100,"result":385.53}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1qr5jhXdxcF87g0VvzE9p","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a monetary amount from one currency to another using official European Central Bank reference exchange rates.","exampleAgentPrompt":"How much is 500 US dollars in Polish zloty right now? Use the official ECB reference rate.","exampleUseCases":[{"title":"Invoice payment in foreign currency","prompt":"I need to pay a supplier 2500 euros — how much is that in US dollars at today's ECB rate?"},{"title":"Travel budget estimation","prompt":"I'm heading to Japan and want to know how much 1000 British pounds converts to in Japanese yen using the official ECB rate."},{"title":"E-commerce price display","prompt":"What is 89.99 USD worth in Swedish kronor right now? I need the ECB reference rate for my checkout page."}],"resultDescription":"A JSON object containing the source currency (from), target currency (to), the ECB reference exchange rate (rate), the input amount, and the converted result amount. Example: {from: 'USD', to: 'PLN', rate: 3.8553, amount: 100, result: 385.53}.","failureModes":["Unsupported currency code returns an error — only ~30 ECB-tracked currencies are available","Missing required query parameters (from, to, amount) return a validation error","Non-numeric amount value causes a parsing error","ECB data unavailable or stale during maintenance windows","Payment failure via x402 if USDC balance is insufficient"],"whenToPreferThis":"Choose this endpoint when you need authoritative, official ECB foreign exchange reference rates rather than real-time market rates. Ideal for compliance-sensitive financial calculations, invoicing, and reporting that require a trusted institutional source. Covers approximately 30 major currencies. At $0.001 per call it is cost-effective for per-transaction lookups in automated agent workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:35:09.678Z","isFirstParty":false,"canonicalSlug":"ecb-fx-currency-converter-5b86c221"}