# ECB Foreign Exchange Reference Rates

> ECB Foreign Exchange Reference Rates is a paid API for AI agents from toolcall.click, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Returns European Central Bank daily FX reference rates for a given base currency, with optional filtering to specific target currencies.

## Facts

- Endpoint: GET https://toolcall.click/t/fx/rates
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ecb-foreign-exchange-reference-rates-4e410a42
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nJk_0_MSUzpIYUe6vB-bY

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-foreign-exchange-reference-rates-4e410a42
```

Example prompt: What are today's ECB reference rates for EUR, GBP, JPY, and CHF using USD as the base currency?

## When to prefer this

Use this endpoint when you need official, authoritative daily FX reference rates from the European Central Bank rather than real-time spot prices. Ideal for financial reporting, compliance, accounting, or any use case requiring an official reference rate rather than live market data.

## Known failure modes

- Unsupported or misspelled currency code returns an error or empty rate set
- ECB data not yet published for the day returns stale or previous-day rates
- Comma-separated symbols list with spaces or invalid formatting may fail to filter correctly
- Network or payment failure returns a 402 or 5xx response

## How this service works

Foreign exchange reference rates from the European Central Bank. Base currency plus optional symbols filter. Updated daily on ECB schedule. JSON response. $0.002 USDC per call, pay via x402, no API key.

## Output

A JSON object containing exchange rates from the specified base currency (default USD) to one or more target currencies, sourced from ECB daily reference data updated on the ECB publication schedule.

## 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 code, default USD"
      },
      "symbols": {
       "type": "string",
       "description": "Comma-separated target currency codes, optional"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "base": "USD",
  "date": "2026-07-14",
  "rates": {
   "EUR": 0.91,
   "GBP": 0.78
  }
 }
}
```

## More

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