{"uid":"cap_dryKKscJUDsK-HMmwv6rD","slug":"ecb-fx-converter-a32c0a51","name":"ECB FX Converter","description":"Convert an amount between two currencies at the official ECB reference rate, today or any date since 1999, incl. CFA franc and Gulf pegs. Returns rate, amount, rate date.","url":"https://gogeta2-u35175.vm.elestio.app/agents/v1/fx/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"],"type":"string"},"queryParams":{"type":"object","required":["from","to"],"properties":{"to":{"type":"string","description":"ISO 4217 target currency, e.g. EUR, XOF, AED"},"date":{"type":"string","description":"YYYY-MM-DD (default: latest ECB fixing)"},"from":{"type":"string","description":"ISO 4217 source currency, e.g. USD"},"amount":{"type":"number","default":1,"minimum":0,"description":"Amount to convert (default 1)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.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_IpIIWLrsEtVUDCCnkkvsR","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a currency amount between two ISO 4217 currencies using official ECB reference rates, for today or any date back to 1999.","exampleAgentPrompt":"How much is 750 USD in EUR using the official ECB rate from 2023-06-15?","exampleUseCases":[{"title":"Invoice reconciliation in foreign currency","prompt":"I need to convert 12,500 GBP to EUR using the official ECB rate for 2024-03-31 — can you give me the exact converted amount and the rate used?"},{"title":"Real-time travel budget check","prompt":"What's 300 USD worth in Japanese yen at today's ECB reference rate?"},{"title":"CFA franc conversion for West Africa payment","prompt":"Convert 50,000 XOF to EUR at the latest ECB fixing — I need the rate and the final euro amount."}],"resultDescription":"Returns the official ECB exchange rate for the requested currency pair on the specified date (or latest available), the converted amount, and the date of the rate used. Covers standard ISO 4217 currencies plus CFA franc (XOF/XAF) and Gulf-pegged currencies (AED, SAR, etc.).","failureModes":["Unsupported currency code returns an error or null rate","Date before 1999 is out of range and returns an error","Weekend or ECB holiday date returns the most recent prior fixing or an error","Malformed date format (not YYYY-MM-DD) causes a validation error","Amount of 0 or negative value may be rejected by minimum constraint"],"whenToPreferThis":"Choose this endpoint when you need the authoritative ECB official reference rate rather than a live mid-market or bank rate. Ideal for accounting, invoicing, regulatory reporting, or any use case requiring an auditable, official fixing. Especially valuable for historical conversions back to 1999, and for currencies with ECB-recognized pegs like XOF or AED.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T12:38:58.410Z","isFirstParty":false,"canonicalSlug":"ecb-fx-converter-a32c0a51"}