{"uid":"cap_pU0B-w8FaGv62x8D4tJf7","slug":"agent-tools-fx-rates-ecb-7ae840c4","name":"Agent Tools FX Rates (ECB)","description":"Currency exchange rates (European Central Bank reference rates) for price conversion, invoicing and travel budgets. Latest or historical by date.","url":"https://agent-tools.jbarkules.workers.dev/v1/fx/rates?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":[],"properties":{"base":{"type":"string","description":"Base currency, e.g. USD"},"date":{"type":"string","description":"YYYY-MM-DD, optional"},"symbols":{"type":"string","description":"Comma list, optional"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"base":"USD","date":"2026-10-22","rates":{"EUR":0.89246,"JPY":157.05},"source":"European Central Bank via Frankfurter"}},"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_MjInA13U7GVVHdCf6emgg","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":"Returns European Central Bank reference exchange rates for a given base currency, either latest or for a specific historical date.","exampleAgentPrompt":"What's today's ECB reference rate for USD as the base currency — I need EUR and JPY rates for an invoice I'm preparing?","exampleUseCases":[{"title":"Invoice conversion for freelancer","prompt":"I just finished a project and need to bill a client in EUR and GBP — can you pull today's ECB rates using USD as the base so I can calculate the correct amounts?"},{"title":"Historical rate for accounting reconciliation","prompt":"I need the official ECB exchange rates for 2024-03-15, with USD as the base, to reconcile a payment we received from a European client that day."},{"title":"Travel budget currency planning","prompt":"I'm planning a trip to Japan and Europe — can you look up the current ECB rates for USD against JPY and EUR so I can estimate how much local currency I'll need?"}],"resultDescription":"A JSON object containing the base currency, the rate date (today or requested historical date), and a map of currency codes to their exchange rates relative to the base, plus a source attribution ('European Central Bank via Frankfurter').","failureModes":["Invalid base currency code returns an error or empty rates","Future dates return no data (ECB rates are not forward-looking)","Very old historical dates may not be available in the ECB dataset","Unsupported symbol codes in the comma-separated symbols list may be silently omitted or cause an error","Weekend/holiday dates may return rates from the last available business day"],"whenToPreferThis":"Choose this endpoint when you need official, authoritative ECB reference rates for financial calculations, invoicing, compliance, or accounting — especially when a trusted institutional source (European Central Bank) is required. Prefer this over free-tier or crypto-exchange-based FX APIs when rate credibility and historical accuracy matter. Best suited for EUR-centric use cases or any scenario requiring standardized reference rates rather than live market bid/ask spreads.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T00:32:47.904Z","isFirstParty":false,"canonicalSlug":"agent-tools-fx-rates-ecb-7ae840c4"}