# FX Currency Converter (ECB Reference Rates)

> FX Currency Converter (ECB Reference Rates) is a paid API for AI agents from mcp-x402.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-25).

Converts a specified amount from one currency to another using official European Central Bank reference-rate data, billed per call via x402.

## Facts

- Endpoint: GET https://mcp-x402.onrender.com/gate/squeezeos/api/fx/convert?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-25
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fx-currency-converter-ecb-reference-rates-74db3127
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rNXzmrcLMV3kfwKZvhMVh

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-ecb-reference-rates-74db3127
```

Example prompt: Convert 250 US dollars to Japanese yen using ECB reference rates and tell me the result.

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call currency conversion using authoritative ECB reference rates without managing a subscription or API key — ideal for AI agents that need occasional FX lookups within automated workflows, especially when x402 micropayment billing is already in use.

## Known failure modes

- Unsupported or invalid currency code returns an error response
- Missing required query parameters (from, to, amount) results in a bad request error
- Non-numeric amount value causes a parsing or validation error
- Payment not processed (x402 flow failure) results in 402 Payment Required with no data
- ECB rate data temporarily unavailable causes a service error

## How this service works

Currency conversion API for AI agents — convert an amount between currencies using official ECB reference-rate data; one-shot x402 call with optional volume credits.

## Output

A JSON object containing the converted amount, the exchange rate applied, and the source/target currency codes, computed from ECB official reference rate data.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "to": {
       "type": "string"
      },
      "from": {
       "type": "string"
      },
      "amount": {
       "type": "string"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fx-currency-converter-ecb-reference-rates-74db3127/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mcp-x402.onrender.com](https://www.zero.xyz/host/mcp-x402.onrender.com/llms.txt)
