{"uid":"cap_gXvkYGeu1xMlVZBKhsL37","slug":"agenttools-ecb-live-exchange-rates-b9e183ca","name":"AgentTools ECB Live Exchange Rates","description":"Live foreign-exchange reference rates from the European Central Bank (via frankfurter.dev): a full rate table against any base currency, or cross-rate conversion of any amount. Refreshed every business day by the ECB, cached one hour. Use this when an agent needs to live ECB reference rates for 30 currencies.","url":"https://agenttools-hub.vercel.app/api/v1/live/exchange-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":{"op":{"enum":["rates","convert"],"type":"string","description":"Operation"},"to":{"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":"Convert to"},"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"},"date":{"type":"string","description":"YYYY-MM-DD — ECB business days"},"from":{"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":"Convert from"},"amount":{"type":"number","description":"Amount"}}}},"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_YCYNp97LXHQ5QGCcWCNO6","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":"Returns live ECB foreign-exchange reference rates for 30 currencies — either a full rate table against a base currency or a cross-rate amount conversion — refreshed every business day and cached one hour.","exampleAgentPrompt":"What's today's ECB reference rate for converting 2500 USD to EUR? Give me the converted amount.","exampleUseCases":[{"title":"Invoice currency conversion for freelancer","prompt":"I need to convert 4500 GBP to EUR using today's official ECB rates — what's the converted amount?"},{"title":"Full rate table for financial dashboard","prompt":"Can you pull the full ECB exchange rate table for today with USD as the base currency? I need rates for all 30 supported currencies."},{"title":"Historical FX rate lookup for accounting","prompt":"What was the ECB reference rate for converting JPY to USD on 2024-11-15? I need it for a past transaction record."}],"resultDescription":"Returns either a full rate table (all 30 ECB currencies quoted against the specified base) or a single converted amount and rate for a given currency pair and optional amount, including the ECB reference date for the data.","failureModes":["Unsupported currency code returns an error — only the 30 ECB-listed currencies are valid","Date falling on a weekend or ECB holiday has no data — must use an ECB business day","Missing required 'op' (rates or convert) parameter causes a bad request","For 'convert' op, missing 'from', 'to', or 'amount' may return incomplete results","Rate data may be up to 1 hour stale due to server-side cache","Non-business-day dates may return the most recent prior business day's rates or an error"],"whenToPreferThis":"Use this endpoint when you need official ECB reference rates for any of the 30 supported currencies — especially when regulatory, accounting, or cross-border compliance requires an authoritative ECB source rather than a commercial FX feed. Prefer this over general FX APIs when EUR is involved or when you need a historical ECB rate for a specific business day.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:43:13.997Z","isFirstParty":false,"canonicalSlug":"agenttools-ecb-live-exchange-rates-b9e183ca"}