# FX Currency Conversion & Exchange Rates

> FX Currency Conversion & Exchange Rates is a paid API for AI agents from api-production-17e1.up.railway.app, paid per call via x402, $0.001/call, status down (last checked 2026-08-24).

Converts an amount between two currencies or retrieves all latest exchange rates for a base currency, using ECB reference rates, with pay-per-call pricing via x402.

## Facts

- Endpoint: GET https://api-production-17e1.up.railway.app/fx
- Price: $0.001/call
- Payment: x402
- Status: down
- Last checked: 2026-08-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fx-currency-conversion-exchange-rates-593bc4ff
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_610ij8ogdCZZgNcSbDlvY

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-conversion-exchange-rates-593bc4ff
```

Example prompt: How much is 250 US dollars in Japanese yen right now using the latest ECB rate?

## When to prefer this

Use this endpoint when an AI agent needs real-time, ECB-sourced exchange rates mid-task without any signup or API key — ideal for pricing, invoice conversion, multi-currency reasoning, or any workflow that needs pay-per-call FX data with no subscription overhead.

## Known failure modes

- Unsupported or invalid currency code returns an error (e.g. typo in ISO code)
- Missing required 'from' or 'to' parameter when doing a conversion returns a 400-style error
- Payment failure via x402 if USDC balance is insufficient
- ECB rates not yet updated for the current day (rates typically updated around 16:00 CET on business days)
- Network timeout if Railway infrastructure is temporarily unavailable

## How this service works

Currency conversion + exchange rates for AI agents — give from, to, and an optional amount → the converted value at the latest ECB reference rate; or give just a base → all its latest rates. Pay-per-call in USDC via x402 — no signup, no API key. Use to price, convert, and reason about money across currencies mid-task.

## Output

Returns the converted value at the latest ECB reference rate for a given currency pair and amount, or returns all current exchange rates for the specified base currency as a structured JSON object.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "url"
 ],
 "properties": {
  "url": {
   "type": "string",
   "description": "The page URL to unfurl."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fx-currency-conversion-exchange-rates-593bc4ff/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api-production-17e1.up.railway.app](https://www.zero.xyz/host/api-production-17e1.up.railway.app/llms.txt)
