# Currency Fiat Conversion (ECB Rates)

> Currency Fiat Conversion (ECB Rates) is a paid API for AI agents from currency-api-production-4a8d.up.railway.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Converts a specified amount from one fiat currency to another using the latest European Central Bank exchange rate, returning the rate, converted amount, and rate date.

## Facts

- Endpoint: POST https://currency-api-production-4a8d.up.railway.app/rates/convert
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/currency-fiat-conversion-ecb-rates-2f642c55
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aHF_Hw-_H1-Di7BEs8JWU

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 currency-fiat-conversion-ecb-rates-2f642c55 -d '<json body>'
```

Example prompt: Convert 500 US dollars to British pounds using the latest ECB rate and tell me the exchange rate and date it was set.

## When to prefer this

Use this endpoint when you need to convert a specific monetary amount between two fiat currencies using authoritative ECB rates. Prefer this over generic lookup endpoints when you need the actual converted value (not just the rate). Best for EUR-paired and major fiat conversions; not suitable for cryptocurrency conversion or historical date-specific rates (use the historical endpoint instead).

## Known failure modes

- Unsupported currency code (non-ECB-listed ISO 4217 codes like crypto or obscure currencies) returns an error
- Missing required fields (from, to, or amount) result in a validation error
- ECB rate unavailable for a weekend/holiday may return the most recent available rate or an error
- Negative or zero amount may be rejected
- Network or upstream Frankfurter API unavailability causes a 5xx error

## How this service works

Convert an amount from one fiat currency to another at the latest ECB rate; returns the rate, converted result, and rate date.

## Output

Returns the exchange rate used, the converted amount in the target currency, and the date of the ECB rate used for the conversion.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "to": {
   "type": "string",
   "description": "Target currency ISO 4217 code, e.g. 'GBP'."
  },
  "from": {
   "type": "string",
   "description": "Source currency ISO 4217 code, e.g. 'USD'."
  },
  "amount": {
   "type": "number",
   "description": "Amount in the source currency to convert, e.g. 100.0."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/currency-fiat-conversion-ecb-rates-2f642c55/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from currency-api-production-4a8d.up.railway.app](https://www.zero.xyz/host/currency-api-production-4a8d.up.railway.app/llms.txt)
