{"uid":"cap_S_l0hYCdjw8Raid4QPUfs","slug":"powahub-fx-rate-ecb-mid-market-3aaeabbb","name":"PowaHub FX Rate (ECB Mid-Market)","description":"Mid-market reference rate for a base/quote currency pair, from the European Central Bank.","url":"https://api.powahub.ai/CertainData/fx-rate/fx/:base/:quote?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","pathParams"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"pathParams":{"type":"object","required":["base","quote"],"properties":{"base":{"type":"string","description":"Base currency as a 3-letter ISO code, e.g. EUR."},"quote":{"type":"string","description":"Quote currency as a 3-letter ISO code, e.g. USD."}}},"queryParams":{"type":"object","properties":{"date":{"type":"string","description":"Optional. A specific date (YYYY-MM-DD) for a historical rate, e.g. 2026-01-01. Omit for the latest."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.007","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.007/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_cRXVW_oz4WtYca7_0KFBv","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.007","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the European Central Bank mid-market reference rate for a given base/quote currency pair, optionally for a specific historical date.","exampleAgentPrompt":"What's the current ECB mid-market rate for EUR to USD? And can you also check what it was on 2024-03-15?","exampleUseCases":[{"title":"Real-time currency conversion for invoicing","prompt":"I'm invoicing a client in Japan and need to know the current ECB mid-market rate for EUR to JPY so I can set the invoice amount."},{"title":"Historical FX rate audit","prompt":"Can you pull the ECB reference rate for GBP to USD on 2023-10-31? I need it for an end-of-quarter accounting reconciliation."},{"title":"Multi-currency expense reporting","prompt":"What's today's ECB mid-market rate for CHF to EUR? I need to convert my Swiss franc expenses into euros for the company report."}],"resultDescription":"Returns the ECB mid-market reference rate as a numeric value for the specified base/quote currency pair, along with the applicable date. For historical requests, the rate for the given date is returned; for current requests, the latest published ECB rate is returned.","failureModes":["Unsupported or invalid ISO currency code returns an error (e.g. a non-existent currency)","Historical date requested before ECB data availability returns no result","Weekend or ECB non-publishing day may return the most recent available rate rather than an exact date match","Malformed date format (not YYYY-MM-DD) causes a validation error","Currency pair not published by ECB (e.g. exotic pairs) may return no rate"],"whenToPreferThis":"Choose this endpoint when you need an authoritative, neutral mid-market FX rate sourced from the European Central Bank — ideal for financial reporting, invoice conversion, compliance, or audit scenarios where ECB rates are a standard reference. Prefer this over broker or bank rates when regulatory or accounting neutrality is required. Use the historical date parameter for back-dated reconciliation or audit trails.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T04:09:13.755Z","isFirstParty":false,"canonicalSlug":"powahub-fx-rate-ecb-mid-market-3aaeabbb"}