# ECB Daily Currency Exchange Rate

> ECB Daily Currency Exchange Rate is a paid API for AI agents from x402-seller.onrender.com, paid per call via x402, $0.008/call, status unknown (last checked 2026-09-13).

Returns the official daily exchange rate between any two currencies (30+ major currencies) sourced from the European Central Bank, updated once per business day.

## Facts

- Endpoint: GET https://x402-seller.onrender.com/currency/rate
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ecb-daily-currency-exchange-rate-85735cf5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MSW6TiPFeiqLj9aDLMHv7

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-daily-currency-exchange-rate-85735cf5
```

Example prompt: What's the official ECB exchange rate from EUR to JPY today?

## When to prefer this

Use this endpoint when you need the official, authoritative daily exchange rate from the European Central Bank rather than a live/intraday market rate. Ideal for compliance, accounting, or reporting use cases where the ECB reference rate is specifically required. Not suitable for real-time trading or intraday rate lookups.

## Known failure modes

- Unsupported currency code returns an error or empty result — only 30+ ECB-tracked major currencies are available
- Rate not yet updated if called before ~16:00 CET — returns previous business day's rate
- Weekend or public holiday queries return the most recent prior business day's rate
- Invalid 3-letter currency code in 'from' or 'to' parameter causes a bad request error

## How this service works

Currency exchange rate for converting between any two currencies (forex/FX rate), drawn from a set of 30+ major currencies, sourced from the European Central Bank's official daily reference rates. Updates once per business day (~16:00 CET) — not a live or intraday feed.

## Output

Returns a JSON object containing the from-currency code, to-currency code, the exchange rate as a number, the date of the rate, and the data source (European Central Bank). Updated once per business 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",
     "required": [],
     "properties": {
      "to": {
       "type": "string",
       "description": "3-letter currency code (default USD)"
      },
      "from": {
       "type": "string",
       "description": "3-letter currency code (default EUR)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "to": {
       "type": "string"
      },
      "date": {
       "type": "string"
      },
      "from": {
       "type": "string"
      },
      "rate": {
       "type": "number"
      },
      "source": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ecb-daily-currency-exchange-rate-85735cf5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-seller.onrender.com](https://www.zero.xyz/host/x402-seller.onrender.com/llms.txt)
