# FiatDock FX Rates

> FiatDock FX Rates is a paid API for AI agents from fiatdock.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-11).

Returns live exchange rates and converted amounts for ~170 fiat currencies and major crypto assets, with ECB reference rates and deviation shown alongside each quote for independent verification.

## Facts

- Endpoint: GET https://fiatdock.com/v1/fx/rates?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fiatdock-fx-rates-749a696a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0vk-6fUv_6nA9rGpsZWQu

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 fiatdock-fx-rates-749a696a
```

Example prompt: What's the live exchange rate for converting 500 USD to EUR, GBP, and JPY right now — and how does each rate compare to the ECB reference rate?

## When to prefer this

Choose FiatDock FX Rates when you need live exchange rates with a built-in ECB reference rate cross-check in a single API call — ideal for agents that must validate rate accuracy or detect suspicious spreads. It covers ~170 fiat currencies plus major crypto assets, making it more comprehensive than typical free FX APIs. The pay-per-call x402 model means no subscription overhead for low-frequency queries.

## Known failure modes

- Unsupported or misspelled currency ISO code returns an error or omits that pair
- More than 20 target currencies requested exceeds the API limit
- Amount exceeding the maximum (1,000,000,000,000,000) is rejected
- Payment failure via x402 returns 402 with no data
- Stale or unavailable rate data for exotic currencies may return null or omit entries

## How this service works

Live exchange rates and a conversion for ~170 currencies and the major crypto assets, with the European Central Bank reference rate beside each live one and the deviation between them - an independent check in the same answer. {from, to, amount}; send {} for USD against eight majors. Pay-per-call via x402.

## Output

Returns a JSON object containing live exchange rates for each requested currency pair, the converted amount, the ECB reference rate for each pair, and the percentage or absolute deviation between the live rate and the ECB benchmark. Default response covers USD against eight major currencies when no parameters are supplied.

## 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": [],
     "properties": {
      "to": {
       "type": "string",
       "example": "EUR,GBP",
       "description": "Currencies to convert TO, up to 20 (default EUR,GBP,JPY,CNY,CHF,CAD,AUD,INR) (comma-separated, or a JSON array)"
      },
      "from": {
       "type": "string",
       "example": "USD",
       "maxLength": 10,
       "description": "Currency to convert FROM (ISO code like USD, EUR, or a crypto like BTC), default USD"
      },
      "amount": {
       "type": "number",
       "example": 100,
       "maximum": 1000000000000000,
       "minimum": 0,
       "description": "Amount of the FROM currency to convert (default 1)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fiatdock-fx-rates-749a696a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from fiatdock.com](https://www.zero.xyz/host/fiatdock.com/llms.txt)
