# ECB Euro Reference FX Rates

> ECB Euro Reference FX Rates is a paid API for AI agents from api.fadeandco.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-29).

Returns the ECB's daily euro reference rate for a given currency pair and optionally converts an amount between two of ~30 supported currencies.

## Facts

- Endpoint: GET https://api.fadeandco.workers.dev/api/agent-intel/ecb-institutional-fx-rates?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ecb-euro-reference-fx-rates-c548f0d4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_E-ze3X5zGr8CcABTR7aKp

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-reference-fx-rates-c548f0d4
```

Example prompt: What's the ECB official euro reference rate for USD today, and how much would 250 EUR be in US dollars?

## When to prefer this

Choose this endpoint when you need the European Central Bank's official daily euro reference rate for regulatory, accounting, invoicing, or compliance purposes — not for live trading. It covers ~30 currencies and is authoritative for EUR-based conversions. Prefer this over market-rate APIs when the ECB's published benchmark is specifically required.

## Known failure modes

- Unsupported currency code returns an error — only ~30 ECB-listed currencies are valid
- Rate not yet published if called before ~16:00 CET on a working day — returns previous day's rate or an error
- No rate available on weekends or ECB holidays — the rate is only published on working days
- Invalid amount string (non-numeric) may cause a parsing error
- Network/upstream error from ECB XML feed results in a service-level failure

## How this service works

Pay-per-call agent intelligence, token risk, developer and AI data tools for AI agents, from public chains and public sources. Payment: x402, USDC on Base, Solana, Arc, Polygon, Arbitrum, Monad, World Chain, Optimism, Avalanche, Celo or Stellar, or RLUSD/XRP on the XRP Ledger. No signup, no API key; a failed call is not charged.

## Output

Returns a JSON object with the exchange rate between the from and to currencies (referenced to EUR), the date of the ECB publication, the converted amount (if requested), a note clarifying it is a reference rate not a live quote, the number of currencies in the ECB list (~30), and a link to the ECB's source XML feed along with a checkedAt timestamp.

## 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",
     "required": [],
     "properties": {
      "to": {
       "type": "string",
       "description": "Currency code (EUR or one of the ECB list); default USD"
      },
      "from": {
       "type": "string",
       "description": "Currency code (EUR or one of the ECB list)"
      },
      "amount": {
       "type": "string",
       "description": "Amount to convert, default 1"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "to": "USD",
  "date": "2026-10-22",
  "from": "EUR",
  "note": "ECB daily reference rate (not a live quote); published on working days only.",
  "rate": 1.1205,
  "amount": 100,
  "source": "https://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml",
  "checkedAt": "2026-10-23T09:35:23.044Z",
  "converted": 112.05,
  "currenciesListed": 30
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ecb-euro-reference-fx-rates-c548f0d4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.fadeandco.workers.dev](https://www.zero.xyz/host/api.fadeandco.workers.dev/llms.txt)
