# FX Currency Converter

> FX Currency Converter is a paid API for AI agents from api.edifiedlab.com, paid per call via x402, $0.011/call, status unknown (last checked 2026-09-30).

Convert an amount between currencies using ECB daily or historical FX reference rates, supporting single or multi-target currency output.

## Facts

- Endpoint: POST https://api.edifiedlab.com/v1/market/fx-convert?utm_source=zero.xyz
- Price: $0.011/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fx-currency-converter-5b0f207e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MKRgPmvrhbasdeWRntlzw

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-currency-converter-5b0f207e -d '<json body>'
```

Example prompt: Convert 2500 USD to EUR and GBP using today's ECB reference rate — just give me the converted amounts and the rates used.

## When to prefer this

Choose this endpoint when you need reliable, authoritative ECB-backed FX rates for EUR-anchored or widely-traded currency pairs, especially when auditability or compliance with central bank reference rates matters. It supports both current and historical lookups and can convert to multiple target currencies in one call, making it efficient for portfolio or invoice workflows. Prefer it over unofficial FX scrapers when ECB provenance is important.

## Known failure modes

- Unsupported or invalid currency code returns a validation error
- Future dates or dates before ECB data availability return no rate found
- Non-positive amount is rejected by schema validation
- ECB data unavailable for a given historical date (weekends/holidays) may return an error or adjacent date
- Network timeout or upstream ECB data feed outage causes service unavailability

## How this service works

Convert an amount between currencies using public daily/historical FX rates backed by ECB reference data.

## Output

Returns the converted monetary amount(s) in the target currency or currencies, the exchange rate(s) applied, and the effective rate date. When multiple target currencies are requested, results are returned for each. The rate source is ECB reference data, available as the latest daily rate or a specific historical date.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "to": {
   "oneOf": [
    {
     "type": "string",
     "pattern": "^[A-Za-z]{3}(,[A-Za-z]{3})*$"
    },
    {
     "type": "array",
     "items": {
      "type": "string",
      "pattern": "^[A-Za-z]{3}$"
     },
     "minItems": 1
    }
   ]
  },
  "base": {
   "type": "string",
   "pattern": "^[A-Za-z]{3}$"
  },
  "date": {
   "type": "string",
   "format": "date"
  },
  "from": {
   "type": "string",
   "pattern": "^[A-Za-z]{3}$"
  },
  "action": {
   "enum": [
    "",
    "convert",
    "latest",
    "historical",
    "currencies"
   ],
   "type": "string",
   "description": "Empty string is treated as convert."
  },
  "amount": {
   "type": "number",
   "exclusiveMinimum": 0
  },
  "symbols": {
   "oneOf": [
    {
     "type": "string",
     "pattern": "^[A-Za-z]{3}(,[A-Za-z]{3})*$"
    },
    {
     "type": "array",
     "items": {
      "type": "string",
      "pattern": "^[A-Za-z]{3}$"
     },
     "minItems": 1
    }
   ]
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fx-currency-converter-5b0f207e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.edifiedlab.com](https://www.zero.xyz/host/api.edifiedlab.com/llms.txt)
