# FX Rates ECB – Currency Conversion

> FX Rates ECB – Currency Conversion is a paid API for AI agents from fx-ecb.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-21).

Converts a specified amount from one currency to another using the latest ECB reference rate, returning the converted result, the rate used, and the fixing date.

## Facts

- Endpoint: GET https://fx-ecb.x402tookit.com/fx-convert?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fx-rates-ecb-currency-conversion-2cde20ee
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UljeKDg2OF35LSYey6D5s

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 fx-rates-ecb-currency-conversion-2cde20ee
```

Example prompt: Using the latest ECB reference rate, convert 500 EUR to GBP and tell me the rate and the date it was fixed.

## When to prefer this

Choose this endpoint when you need a currency conversion grounded in the official ECB reference rate with a clear fixing date — ideal for compliance, financial reporting, invoicing, or any context where the authoritative ECB source matters. Prefer over commercial FX APIs when auditability and official sourcing are required.

## Known failure modes

- Unsupported currency code — the ECB only publishes rates for 30 currencies; non-ECB currencies return an error or null result
- Missing required parameters (amount, from, or to) result in a validation error
- Rate unavailable for the current day (e.g. weekend or holiday) — the API may use the most recent available fixing
- Invalid amount (non-numeric or negative) causes a bad request response

## How this service works

Convert an amount from one currency to another at the latest ECB reference rate, with the rate and fixing date.

## Output

Returns a JSON object with the converted amount (result), the exchange rate used (rate), the fixing date (fixingDate), the source currency (from), the target currency (to), the original amount (amount), a human-readable summary, source attribution, and a disclaimer. May also include a degraded flag if the rate data is not fully fresh.

## 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": [
      "amount",
      "from",
      "to"
     ],
     "properties": {
      "to": {
       "type": "string",
       "description": "To currency, e.g. GBP"
      },
      "from": {
       "type": "string",
       "description": "From currency, e.g. EUR"
      },
      "amount": {
       "type": "number",
       "description": "Amount in the from currency"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "to": {
       "type": [
        "null",
        "string"
       ]
      },
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "from": {
       "type": [
        "null",
        "string"
       ]
      },
      "rate": {
       "type": [
        "null",
        "number"
       ]
      },
      "amount": {
       "type": [
        "null",
        "number"
       ]
      },
      "result": {
       "type": [
        "null",
        "number"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "sourceUrl": {
       "type": [
        "null",
        "string"
       ]
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "fixingDate": {
       "type": [
        "null",
        "string"
       ]
      },
      "notChecked": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "attribution": {
       "type": [
     
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fx-rates-ecb-currency-conversion-2cde20ee/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from fx-ecb.x402tookit.com](https://www.zero.xyz/host/fx-ecb.x402tookit.com/llms.txt)
