# fittings FX Currency Converter (ECB Rates)

> fittings FX Currency Converter (ECB Rates) is a paid API for AI agents from fittings.sh, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-11).

Converts a monetary amount between two currencies using the European Central Bank daily reference rate, supporting any date back to 1999-01-04.

## Facts

- Endpoint: GET https://fittings.sh/v1/fx/convert?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fittings-fx-currency-converter-ecb-rates-a2f1d014
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7xWOZkN3XuWGWBomjaUfD

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 fittings-fx-currency-converter-ecb-rates-a2f1d014
```

Example prompt: Convert 2500 US dollars to Japanese yen using the ECB reference rate from 2023-06-15.

## When to prefer this

Choose this endpoint when you need an authoritative, neutral official exchange rate from the European Central Bank — particularly for financial reporting, invoice reconciliation, compliance, or any scenario requiring a recognized institutional reference rate rather than a live mid-market or commercial rate. It is ideal for historical conversions back to 1999 and for EUR-centric conversions, but note it only covers the ~30 currencies for which the ECB publishes daily rates.

## Known failure modes

- Unsupported or misspelled currency code returns an error (ECB only publishes rates for ~30 currencies relative to EUR)
- Date before 1999-01-04 returns an error as ECB historical data starts from that date
- Weekend or public holiday date may return the most recent prior business day rate or an error
- Missing required 'from' or 'to' query parameter returns a 400-level error
- Rate not published for a given currency pair on a specific date (some currencies have gaps)

## How this service works

Converts an amount between currencies at the European Central Bank daily reference rate, for the latest publication or any past date back to 1999.

## Output

Returns the converted monetary amount in the target currency calculated at the ECB daily reference rate for the requested date (or latest available publication if no date is specified), along with the exchange rate applied and the effective rate date.

## 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": "Three-letter target currency, e.g. EUR"
      },
      "date": {
       "type": "string",
       "description": "Optional ISO date, 1999-01-04 onward. Omit for the latest publication."
      },
      "from": {
       "type": "string",
       "description": "Three-letter source currency, e.g. USD"
      },
      "amount": {
       "type": "number",
       "description": "Amount in the source currency, default 1"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fittings-fx-currency-converter-ecb-rates-a2f1d014/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from fittings.sh](https://www.zero.xyz/host/fittings.sh/llms.txt)
