{"uid":"cap_cJZK_b83f2ql2h4qM4WV6","slug":"fx-rate-ecb-currency-exchange-rate-cdbc93b0","name":"FX Rate - ECB Currency Exchange Rate","description":"Pay-per-call x402 APIs for AI agents: OpenAI-compatible LLM chat, perp funding and arbitrage spreads, crypto prices, gas, FX, Solana SPL mint audit, token price by contract, x402 delivery-receipt verification, web search, clean page extraction, batch tools and deterministic code-security scanning. USDC on Base or Solana, no signup, no API key, from $0.0001 a call.","url":"https://scanpay-edge.alextaghiashvili.workers.dev/api/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","required":["base","quote"],"properties":{"base":{"type":"string"},"quote":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"base":"USD","date":"2026-10-30","rate":0.89509,"quote":"EUR","source":"frankfurter-ecb"}},"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_fafLgBJW6eX6y1G5rJ3CP","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 the official European Central Bank (ECB) reference exchange rate between two currencies for a given date.","exampleAgentPrompt":"What's the official ECB reference exchange rate from USD to EUR today?","exampleUseCases":[{"title":"Invoice currency conversion for accounting","prompt":"I need to convert an invoice amount from GBP to EUR — what's the official ECB exchange rate between GBP and EUR for today?"},{"title":"Historical rate lookup for compliance","prompt":"What was the official ECB reference FX rate between USD and JPY on October 15, 2024? I need it for a compliance report."},{"title":"Real-time forex check before international payment","prompt":"Before I send an international wire, can you check the current ECB reference rate from CHF to USD so I know how much I'll be converting?"}],"resultDescription":"Returns a JSON object containing the base currency, quote currency, exchange rate (as a decimal), the date of the rate, and the data source (frankfurter-ecb). Example: {base: 'USD', quote: 'EUR', rate: 0.89509, date: '2026-10-30', source: 'frankfurter-ecb'}.","failureModes":["Unsupported currency pair returns an error — ECB only covers major currencies","Weekend or holiday dates may return the most recent available rate rather than exact date","Missing or malformed currency code parameters result in a 400 bad request","Network latency from Cloudflare Workers edge may vary; ECB data updates once per business day"],"whenToPreferThis":"Choose this endpoint when you need an authoritative, official exchange rate backed by the European Central Bank — ideal for compliance, accounting, invoicing, or any scenario requiring a benchmark rather than a live market price. Prefer this over crypto price feeds or live interbank rates when regulatory or audit-grade FX data is needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-01T06:57:24.281Z","isFirstParty":false,"canonicalSlug":"fx-rate-ecb-currency-exchange-rate-cdbc93b0"}