{"uid":"cap_giVaPBYxRe7bl2FOG0Ytr","slug":"factline-fx-rate-24f7bd21","name":"Factline FX Rate","description":"Currency exchange rates and FX conversion, official ECB reference rates for USD, EUR, GBP, JPY and 25 more. Use to convert an amount between currencies with an official, citable rate: the European Central Bank's reference rates for about 30 currencies (USD, GBP, JPY, CHF, CNY...), cross rates computed from the euro rates, today or for a past date such as an invoice date. Input: base (default EUR), symbols, amount, optional date.","url":"https://factline.dev/v1/fx/rate?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","properties":{"base":{"type":"string","description":"3-letter currency code to convert from, default EUR (e.g. USD)"},"date":{"type":"string","description":"Optional date YYYY-MM-DD in the last 90 days, e.g. an invoice date"},"amount":{"type":"string","description":"Amount in the base currency, default 1"},"symbols":{"type":"string","description":"Currencies to convert to, comma separated (e.g. EUR,GBP,JPY); empty = all ~30"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"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_fFalvROJl7OrujxqFyi-i","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 currency amounts using official ECB reference rates for ~30 currencies, with support for historical dates","exampleAgentPrompt":"What's the ECB official exchange rate to convert 750 USD into EUR, GBP, and JPY as of 2024-11-01?","exampleUseCases":[{"title":"Invoice currency conversion for accounting","prompt":"I need to convert 12,450 British pounds to euros using the official ECB rate from the invoice date, which was 2024-09-20."},{"title":"Multi-currency dashboard snapshot","prompt":"Pull today's ECB reference rates for USD, GBP, JPY, CHF, and CNY all relative to EUR — I need them for our morning FX report."},{"title":"Cross-rate calculation for international payment","prompt":"What's the official exchange rate between Swiss francs and Japanese yen today? Convert 5,000 CHF to JPY using the ECB rate."}],"resultDescription":"Returns the exchange rate(s) from the base currency to the requested target currencies, the converted amount, and the reference date used — sourced from the European Central Bank's official published rates. For cross rates not directly published by ECB (non-EUR pairs), rates are computed via the euro as the intermediate currency.","failureModes":["Invalid or unsupported currency code returns an error — only the ~30 ECB-tracked currencies are supported","Date outside the 90-day historical window is rejected","Weekend or ECB holiday dates may return the most recent available rate rather than the exact requested date","Malformed date format (not YYYY-MM-DD) returns a validation error","Empty or missing symbols defaults to all ~30 currencies, which may return more data than expected"],"whenToPreferThis":"Choose this endpoint when you need an official, citable exchange rate sourced from the European Central Bank — particularly for invoicing, accounting, compliance, or any context where a reputable reference rate is required rather than a market mid-rate. It is ideal for EUR-centric conversions and historical rate lookups within the last 90 days. Prefer this over commercial FX APIs when auditability and official provenance of the rate matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T06:30:32.069Z","isFirstParty":false,"canonicalSlug":"factline-fx-rate-24f7bd21"}