# ECB EUR Foreign Exchange Reference Rates

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

Returns the latest European Central Bank daily reference rate for any supported currency versus EUR, plus supports cross-rate conversion between two non-EUR currencies.

## Facts

- Endpoint: GET https://api.aventtech.com/fx?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ecb-eur-foreign-exchange-reference-rates-036d8729
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ro8S-RgGhmEllznuqRlCW

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-eur-foreign-exchange-reference-rates-036d8729
```

Example prompt: What's today's ECB reference rate for USD and GBP against the euro? I want the official European Central Bank figures.

## When to prefer this

Use this endpoint when you need authoritative, official EUR-based foreign exchange reference rates as published daily by the European Central Bank — ideal for compliance, financial reporting, or any use case requiring an official ECB source rather than live market mid-rates or broker rates.

## Known failure modes

- Unsupported or misspelled currency code returns an error or omits that symbol from the rates map
- ECB has not yet published today's rate (published ~16:00 CET on business days) — stale date returned
- Non-business day (weekend/holiday) — most recent prior business day rate returned
- Network or upstream ECB data unavailability causes service error

## How this service works

Daily EUR foreign-exchange reference rates (source: European Central Bank). Returns the latest ECB reference rate for any supported currency vs EUR, plus cross-rate conversion between two non-EUR currencies.

## Output

Returns a JSON object with the base currency (EUR), the date of the ECB reference rate publication, and a rates map of each requested ISO 4217 currency code to its EUR exchange rate value, plus the source label confirming ECB provenance.

## 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": {
      "symbols": {
       "type": "string",
       "description": "Comma-separated ISO 4217 currency codes to return vs EUR (e.g. USD,GBP,JPY). Omit for all."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "base": {
       "type": "string"
      },
      "date": {
       "type": "string"
      },
      "rates": {
       "type": "object"
      },
      "source": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "base": "EUR",
  "date": "2026-07-21",
  "rates": {
   "GBP": 0.8412,
   "USD": 1.0921
  },
  "source": "European Central Bank euro foreign exchange reference rates"
 }
}
```

## More

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