# ECB FX Converter

> ECB FX Converter is a paid API for AI agents from gogeta2-u35175.vm.elestio.app, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-29).

Converts a currency amount between two ISO 4217 currencies using official ECB reference rates, for today or any date back to 1999.

## Facts

- Endpoint: GET https://gogeta2-u35175.vm.elestio.app/agents/v1/fx/convert?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ecb-fx-converter-a32c0a51
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dryKKscJUDsK-HMmwv6rD

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-fx-converter-a32c0a51
```

Example prompt: How much is 750 USD in EUR using the official ECB rate from 2023-06-15?

## When to prefer this

Choose this endpoint when you need the authoritative ECB official reference rate rather than a live mid-market or bank rate. Ideal for accounting, invoicing, regulatory reporting, or any use case requiring an auditable, official fixing. Especially valuable for historical conversions back to 1999, and for currencies with ECB-recognized pegs like XOF or AED.

## Known failure modes

- Unsupported currency code returns an error or null rate
- Date before 1999 is out of range and returns an error
- Weekend or ECB holiday date returns the most recent prior fixing or an error
- Malformed date format (not YYYY-MM-DD) causes a validation error
- Amount of 0 or negative value may be rejected by minimum constraint

## How this service works

Convert an amount between two currencies at the official ECB reference rate, today or any date since 1999, incl. CFA franc and Gulf pegs. Returns rate, amount, rate date.

## Output

Returns the official ECB exchange rate for the requested currency pair on the specified date (or latest available), the converted amount, and the date of the rate used. Covers standard ISO 4217 currencies plus CFA franc (XOF/XAF) and Gulf-pegged currencies (AED, SAR, etc.).

## 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": [
      "from",
      "to"
     ],
     "properties": {
      "to": {
       "type": "string",
       "description": "ISO 4217 target currency, e.g. EUR, XOF, AED"
      },
      "date": {
       "type": "string",
       "description": "YYYY-MM-DD (default: latest ECB fixing)"
      },
      "from": {
       "type": "string",
       "description": "ISO 4217 source currency, e.g. USD"
      },
      "amount": {
       "type": "number",
       "default": 1,
       "minimum": 0,
       "description": "Amount to convert (default 1)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ecb-fx-converter-a32c0a51/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gogeta2-u35175.vm.elestio.app](https://www.zero.xyz/host/gogeta2-u35175.vm.elestio.app/llms.txt)
