European Central Bank euro foreign exchange reference rate for a pair - the official daily
European Central Bank euro foreign exchange reference rate for a pair - the official daily fix used for accounting, invoicing and reporting - latest or any date in the last 90 days. The ECB publishes EUR/XXX only, so inverse and cross rates are computed from the same fix and named in rate_derivation. One fix per TARGET working day, not a tradable market rate. Use when: Convert or report an amount at an official daily rate both sides of a contract can verify against the ECB.
2000 (raw units)
price
1
calls / 30d
1
unique payers
2026-08-27
updated
Provider
api.eckari.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x9d6b6fdB04040a55d58B24ff4C90C08cf6083C8f",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "2000",
"maxTimeoutSeconds": 60
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"queryParams": {
"base": "EUR",
"quote": "USD"
},
"type": "http"
},
"output": {
"example": {
"data": {
"base": "EUR",
"note": "no ECB fix published for today yet (weekend, TARGET closing day, or before the ~16:00 CET publication); the latest published fix is returned",
"published_pairs_used": [
"EUR/USD"
],
"quote": "USD",
"rate": "1.159300",
"rate_date": "2026-08-17",
"rate_derivation": "published",
"rate_kind": "reference"
},
"meta": {
"capability": "fx.reference_rate",
"freshness": "near_live",
"source": "ecb_fx",
"version": "2.1.0"
}
},
"type": "json"
}
},
"routeTemplate": "/v1/fx/reference-rate",
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET",
"HEAD",
"DELETE"
],
"type": "string"
},
"queryParams": {
"additionalProperties": false,
"properties": {
"base": {
"description": "ISO 4217 code of the base currency. EUR is always available; other currencies must be in the ECB reference rate list for the selected date.",
"pattern": "^[A-Za-z]{3}$",
"type": "string"
},
"date": {
"description": "Optional ISO calendar date (YYYY-MM-DD) within the last 90 days. When the ECB published no fix on that date (a TARGET closing day), the latest prior fix is returned with a note.",
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
"type": "string"
},
"quote": {
"description": "ISO 4217 code of the quote currency. EUR is always available; other currencies must be in the ECB reference rate list for the selected date.",
"pattern": "^[A-Za-z]{3}$",
"type": "string"
}
},
"required": [
"base",
"quote"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
},
"payment-identifier": {
"info": {
"required": false
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"id": {
"maxLength": 128,
"minLength": 16,
"pattern": "^[a-zA-Z0-9_-]+$",
"type": "string"
},
"required": {
"type": "boolean"
}
},
"required": [
"required"
],
"type": "object"
}
}
}Use it
curl
curl "https://api.eckari.com/v1/fx/reference-rate" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://api.eckari.com/v1/fx/reference-rate");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://api.eckari.com/v1/fx/reference-rate")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/4320.json, and this resource appears in /discovery/resources and /discovery/search.