# Aayat AI EU/UK Foreign Exchange Rates

> Aayat AI EU/UK Foreign Exchange Rates is a paid API for AI agents from aayatai.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-30).

Returns official European Central Bank foreign exchange rates for any currency pair on a given date, with optional amount conversion

## Facts

- Endpoint: GET https://aayatai.com/eu/fx?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/aayat-ai-eu-uk-foreign-exchange-rates-d4b8e5dd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9ZtpB9beEScoMxfB9bB9M

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 aayat-ai-eu-uk-foreign-exchange-rates-d4b8e5dd
```

Example prompt: What's the official ECB exchange rate for 1000 GBP converted to EUR, USD, and JPY as of today?

## When to prefer this

Choose this endpoint when you need official, authoritative ECB euro reference rates rather than market mid-rates or broker rates. Ideal for EU/UK regulatory compliance, invoice reconciliation, or any use case requiring an auditable official source. It supports historical lookups by date and multi-currency conversion in a single call, making it efficient for agents that need to compare or convert across many currencies simultaneously.

## Known failure modes

- Non-trading day dates (weekends, ECB holidays) may return the most recent available rate or an error
- Invalid currency codes return an error or empty rates object
- Dates before ECB historical data coverage may not return results
- Amount exceeding 1,000,000,000,000 is rejected by schema validation
- Unsupported or misspelled currency symbols in the symbols parameter are silently omitted or cause errors

## How this service works

Official ECB euro foreign-exchange reference rates for about 30 currencies, converted to any base (GBP, USD, EUR...). Latest or any past date since 1999 (the last rate published on or before it). Optional amount conversion.

## Output

A JSON object containing the base currency, the date of the rates used (ECB TARGET working day), the amount specified, and a rates map of each requested currency to its converted value. Source attribution to the European Central Bank euro reference rates is included.

## 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",
       "maxLength": 3,
       "description": "Base currency, default EUR."
      },
      "date": {
       "type": "string",
       "description": "YYYY-MM-DD; default latest."
      },
      "amount": {
       "type": "number",
       "maximum": 1000000000000,
       "minimum": 0,
       "description": "Amount of the base currency to convert (default 1)."
      },
      "symbols": {
       "type": "string",
       "maxLength": 200,
       "description": "Comma-separated currencies to return (default: all)."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "base",
      "date",
      "rates",
      "source"
     ],
     "properties": {
      "base": {
       "type": "string"
      },
      "date": {
       "type": "string",
       "description": "Date of the rates used."
      },
      "rates": {
       "type": "object",
       "description": "Units of each currency per `amount` of base.",
       "additionalProperties": {
        "type": "number"
       }
      },
      "amount": {
       "type": "number"
      },
      "source": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "base": "GBP",
  "date": "2026-09-25",
  "rates": {
   "EUR": 1.1622,
   "JPY": 197.41,
   "USD": 1.3253
  },
  "amount": 1,
  "source": "European Central Bank euro reference rates (published around 16:00 CET on TARGET working days)"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/aayat-ai-eu-uk-foreign-exchange-rates-d4b8e5dd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from aayatai.com](https://www.zero.xyz/host/aayatai.com/llms.txt)
