# Currency API – Latest Fiat Exchange Rates

> Currency API – Latest Fiat Exchange 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-16).

Returns the latest ECB fiat exchange rates for a given base currency, optionally filtered to specific target currency codes.

## Facts

- Endpoint: POST https://currency-api-production-4a8d.up.railway.app/rates/latest
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/currency-api-latest-fiat-exchange-rates-77c72f57
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9FXtLz0GOoXA9zIb-9gA-

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-api-latest-fiat-exchange-rates-77c72f57 -d '<json body>'
```

Example prompt: What are the latest ECB exchange rates for USD — show me just EUR, GBP, and JPY?

## When to prefer this

Use this endpoint when you need the most recent ECB fiat exchange rates for a known base currency and want to optionally restrict results to specific target currencies. Prefer this over the historical rates endpoint when you need current rates, and over a full currency conversion endpoint when you only need raw rate values without computing a converted amount.

## Known failure modes

- Invalid or unsupported ISO 4217 base currency code returns an error
- Unknown symbols in the symbols array may be ignored or return an error
- ECB data may lag by up to one business day (no weekend/holiday rates)
- Network timeout or Railway service unavailability returns a 5xx error
- Payment failure (x402) if USDC balance is insufficient

## How this service works

Latest fiat exchange rates (ECB via Frankfurter) for a base currency; optionally restrict to specific target currency codes.

## Output

A JSON object containing the latest ECB-sourced exchange rates with the specified base currency. Each rate represents how much of the target currency one unit of the base currency buys. If target symbols are specified, only those pairs are returned; otherwise all available rates are included.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "base": {
   "type": "string",
   "description": "Base currency ISO 4217 code, e.g. 'USD'. Defaults to USD if omitted."
  },
  "symbols": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "Optional list of target currency codes to restrict the response, e.g. ['EUR', 'GBP', 'JPY']. Omit for all rates."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/currency-api-latest-fiat-exchange-rates-77c72f57/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)
