# ECB Euro Foreign Exchange Reference Rates

> ECB Euro Foreign Exchange Reference Rates is a paid API for AI agents from opendata402.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-15).

Returns the latest official EUR foreign exchange reference rates from the European Central Bank for up to ~30 currencies, with optional base currency and symbol filtering.

## Facts

- Endpoint: GET https://opendata402.com/v1/fx/latest?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ecb-euro-foreign-exchange-reference-rates-61832678
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__4vPBYCU5deig-q4dEn4i

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability ecb-euro-foreign-exchange-reference-rates-61832678
```

Example prompt: What's the official ECB exchange rate for USD, GBP, and JPY against EUR today? Use the European Central Bank's daily reference rates.

## When to prefer this

Choose this endpoint when you need the official, authoritative ECB daily reference rates for EUR and ~30 other currencies — ideal for regulatory compliance, accounting, invoice conversion, or any use case requiring the official EU central bank rate rather than a live market mid-price. Prefer over market-data APIs when official/auditable rates are required. Not suitable for real-time trading where sub-second tick data is needed.

## Known failure modes

- Invalid ISO 4217 currency code in 'symbols' or 'base' returns an error or empty rates object
- Rates not yet published on the current working day (before ~16:00 CET) may return the previous working day's rates
- Weekend or ECB holiday — no new rates published, previous business day rates returned
- Unsupported currency not covered by ECB returns missing or empty entry
- Payment failure or insufficient USDC balance results in 402 Payment Required

## How this service works

Official euro foreign exchange reference rates from the European Central Bank, published each working day around 16:00 CET for about 30 currencies. Use it to convert amounts between EUR and USD, GBP, JPY, CHF and others at the official daily rate. Optional base currency (cross rates are computed from the EUR rates) and a comma-separated list of symbols. Note: free of charge at ecb.europa.eu; you pay for access, not for the data.

## Output

A JSON object containing the publication date, the base currency (default EUR), and a map of currency codes to their official ECB reference rates. Cross rates for non-EUR base currencies are computed from the EUR rates. Covers approximately 30 currencies updated each working day around 16:00 CET.

## Request schema (JSON Schema)

```json
{
 "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": "Base currency, ISO 4217 (default EUR)."
      },
      "symbols": {
       "type": "string",
       "description": "Comma-separated ISO 4217 codes; empty = all."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ecb-euro-foreign-exchange-reference-rates-61832678/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from opendata402.com](https://www.zero.xyz/host/opendata402.com/llms.txt)
