# Toolrail FX Currency Converter (ECB Rates)

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

Converts a monetary amount between 30+ major currencies using official European Central Bank reference rates, current or historical since 1999.

## Facts

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

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 toolrail-fx-currency-converter-ecb-rates-eaf6ce0f
```

Example prompt: Can you convert 750 US dollars to Japanese yen using the official ECB rate? If possible, use the rate from March 15, 2023.

## When to prefer this

Choose this endpoint when you need an official, authoritative reference rate from the European Central Bank for major currency pairs, especially for financial reporting, invoicing, or compliance contexts where ECB rates are required. Prefer this over market-rate providers when historical accuracy since 1999 matters or when an official (non-commercial) rate is explicitly needed. For Latin American currencies (ARS, CLP, BRL, MXN, COP, PEN) use the specialized Toolrail LATAM or country-specific endpoints instead.

## Known failure modes

- Unsupported currency code returns an error — only 30+ ECB-covered major currencies are supported, not exotic or minor currencies
- Historical date before 1999 not available — ECB data only goes back to 1999
- Weekend or holiday dates may return the most recent prior business day rate
- Missing required query parameters (from, to, amount) result in a validation error
- Invalid or malformed currency code returns an error

## How this service works

Convert between 30+ major currencies using official European Central Bank reference rates, current or historical since 1999. Use when converting an amount between major currencies at an official reference rate, today or on a past date.

## Output

Returns the converted amount, the exchange rate used, the source and target currency codes, the effective date of the rate, and the data source (ECB). Example: {from: 'USD', to: 'EUR', amount: 100, rate: 0.92, converted: 92.0, date: '2024-01-15', source: 'ECB'}.

## 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": {
      "to": {
       "type": "string"
      },
      "from": {
       "type": "string"
      },
      "amount": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "to": {
       "type": "string"
      },
      "date": {
       "type": "string"
      },
      "from": {
       "type": "string"
      },
      "rate": {
       "type": "number"
      },
      "amount": {
       "type": "integer"
      },
      "source": {
       "type": "string"
      },
      "converted": {
       "type": "number"
      }
     }
    }
   }
  }
 }
}
```

## More

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