# Axiomworks FX – ECB Foreign Exchange Rates

> Axiomworks FX – ECB Foreign Exchange Rates is a paid API for AI agents from api.axiomworks.co.uk, paid per call via x402, $0.002/call, status unknown (last checked 2026-11-12).

Returns official ECB foreign-exchange reference rates for ~30 fiat currencies, with optional historical date lookup and amount conversion

## Facts

- Endpoint: GET https://api.axiomworks.co.uk/fx?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/axiomworks-fx-ecb-foreign-exchange-rates-cd928ee8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xpk8lzYb_jKEqGqj_6s58

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 axiomworks-fx-ecb-foreign-exchange-rates-cd928ee8
```

Example prompt: What's the official ECB exchange rate for GBP against USD and EUR today, and how much would 250 GBP convert to in each?

## When to prefer this

Choose this endpoint when you need authoritative, official ECB foreign-exchange reference rates for major fiat currencies — especially for financial, compliance, or accounting contexts where ECB rates are specifically required. It supports historical date lookup and built-in amount conversion in a single call, making it more convenient than fetching raw rates and computing separately. Prefer it over crypto exchange rate endpoints or commercial FX data providers when regulatory-grade fiat rates are needed.

## Known failure modes

- Invalid or unsupported ISO currency code returns an error or empty rates
- Requesting a date that is not a TARGET business day (e.g. weekend, ECB holiday) may return no data or the nearest available rate
- Historical dates before ECB rate history is available will return an error
- Rate data may not be available until ~16:00 CET on the current day
- Network or upstream frankfurter.dev outage causes failure

## How this service works

Use this for official ECB foreign-exchange reference rates (≈30 fiat currencies incl GBP/EUR/USD/JPY), latest or historical date, with optional amount conversion. Example: {base:"GBP", symbols:"USD,EUR", amount:"100"}. $0.002.

## Output

JSON object containing the base currency, rate date, a rates map of target currencies to exchange rates, the original amount if provided, a converted map of target currencies to converted amounts, and a source attribution string noting the ECB reference rate 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": "ISO currency, default USD"
      },
      "date": {
       "type": "string",
       "description": "YYYY-MM-DD historical (default latest)"
      },
      "amount": {
       "type": "string",
       "description": "Optional amount to convert"
      },
      "symbols": {
       "type": "string",
       "description": "Comma list e.g. GBP,EUR (default all ~30)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "base": {
       "type": "string"
      },
      "date": {
       "type": "string"
      },
      "rates": {
       "type": "object"
      },
      "converted": {
       "type": "object"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "base": "GBP",
  "date": "2026-11-05",
  "count": 2,
  "rates": {
   "EUR": 1.1991,
   "USD": 1.3459
  },
  "amount": 100,
  "source": "European Central Bank reference rates via frankfurter.dev (published ~16:00 CET on TARGET days)",
  "converted": {
   "EUR": 119.91,
   "USD": 134.59
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/axiomworks-fx-ecb-foreign-exchange-rates-cd928ee8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.axiomworks.co.uk](https://www.zero.xyz/host/api.axiomworks.co.uk/llms.txt)
