{"uid":"cap_5zTWoErAmJnhH-hImiRW8","slug":"certaindata-fx-rate-ecb-mid-market-eebfef17","name":"CertainData FX Rate (ECB Mid-Market)","description":"Mid-market reference rate for a base/quote currency pair, from the European Central Bank.","url":"https://api.certaindata.ai/ca054d66abad4d6ea80ba43013b61743-cd/fx-rate/fx/:base/:quote","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_vZnV9g8tE8elODrO98wQp","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, either the latest or a historical date.","exampleAgentPrompt":"What is the ECB mid-market reference rate for EUR to USD today? Also, what was it on 2024-06-01?","exampleUseCases":null,"resultDescription":"Returns the mid-market FX rate sourced from the European Central Bank for the specified base/quote currency pair, either the latest available or for the requested historical date.","failureModes":["Invalid or unsupported currency ISO code returns an error","Date out of ECB historical range returns no data or error","Weekend/holiday dates may return the last available business day rate or an error","Missing required path parameters (base or quote) returns a 400/422 error","Network or upstream ECB data availability issues may cause 5xx errors"],"whenToPreferThis":"Choose this endpoint when you need an authoritative, ECB-sourced mid-market exchange rate for compliance, accounting, reporting, or financial applications that require an official reference rate rather than a live market rate. Ideal for EUR-centric pairs and historical lookups aligned to ECB publication dates.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:33:02.112Z","isFirstParty":false}