# ECB Currency Exchange Converter

> ECB Currency Exchange Converter is a paid API for AI agents from netintel-production-440c.up.railway.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-10).

Converts an amount between 33 currencies using live European Central Bank exchange rates, returning the converted amount, exchange rate, rate date, and inverse rate.

## Facts

- Endpoint: GET https://netintel-production-440c.up.railway.app/currency-exchange/convert?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/netintel-production-440c-up-railway-app-552e334c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NT7mN6ZhYNjPNHFQYisYg

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 netintel-production-440c-up-railway-app-552e334c
```

Example prompt: How much is 750 US dollars in euros right now, using the latest ECB exchange rate?

## When to prefer this

Use this endpoint when you need free or low-cost currency conversion backed by authoritative ECB rates, especially for EUR-centric conversions, invoicing, financial reporting, or compliance contexts where ECB rates are the standard. Prefer over paid forex APIs for non-real-time use cases where ECB daily fixing rates are sufficient.

## Known failure modes

- Unsupported currency code returns an error (only 33 ECB-supported currencies available — notably excludes many exotic currencies)
- Amount exceeds max of 999999999
- Invalid date format for historical lookup
- Same source and target currency (trivial conversion)
- ECB data unavailable for a weekend/holiday date (ECB doesn't publish rates every day)

## How this service works

Convert any amount between 33 fiat currencies (live European Central Bank rates) AND major cryptocurrencies (BTC, ETH, USDC, SOL, ICP, CELO and more, live Coinbase spot rates) — fiat↔fiat, crypto↔fiat, and crypto↔crypto all work. Returns converted amount, exchange rate, inverse rate, rate date, and the rate source so agents can price, invoice, and compare across fiat and crypto without a paid forex/crypto API. Historical dates apply to fiat pairs only.

## Output

Returns a JSON object containing the converted amount, the exchange rate used, the rate date, the inverse rate, and a flag indicating whether the rate is historical or current — all sourced from the European Central Bank.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "to": "EUR",
   "from": "USD",
   "amount": 100
  }
 }
}
```

## 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": "Target — ISO 4217 fiat code (EUR) or crypto ticker (BTC, ETH)"
      },
      "date": {
       "type": "string",
       "description": "YYYY-MM-DD historical rate (fiat only). Default: latest"
      },
      "from": {
       "type": "string",
       "description": "ISO 4217 source currency code (e.g. USD)"
      },
      "amount": {
       "type": "number",
       "description": "Amount to convert (default 1)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "to": {
       "type": "string"
      },
      "from": {
       "type": "string"
      },
      "grade": {
       "type": "string"
      },
      "score": {
       "type": "number"
      },
      "amount": {
       "type": "number"
      },
      "source": {
       "type": "string",
       "description": "ecb | coinbase | coingecko | same"
      },
      "findings": {
       "type": "array"
      },
      "rate_date": {
       "type": "string"
      },
      "inverse_rate": {
       "type": "number"
      },
      "exchange_rate": {
       "type": "number"
      },
      "is_historical": {
       "type": "boolean"
      },
      "converted_amount": {
       "type": "number"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "to": "BTC",
  "from": "USD",
  "grade": "A",
  "score": 100,
  "amount": 100,
  "source": "coinbase",
  "findings": [
   {
    "rule": "crypto_spot",
    "detail": "Crypto pair priced at Coinbase spot"
   }
  ],
  "rate_date": "2026-06-23",
  "inverse_rate": 105340,
  "exchange_rate": 0.0000094932,
  "is_historical": false,
  "converted_amount": 0.00094932
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/netintel-production-440c-up-railway-app-552e334c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from netintel-production-440c.up.railway.app](https://www.zero.xyz/host/netintel-production-440c.up.railway.app/llms.txt)
