# AmanChain Fiat FX Rates

> AmanChain Fiat FX Rates is a paid API for AI agents from preview-chat-c6089071-758a-449d-b4a7-6fa19ebc955c.space-z.ai, paid per call via x402, $0.001244/call, status unknown (last checked 2026-09-14).

Returns live fiat foreign exchange rates and performs currency conversion across 30+ currencies, paid per call via x402 in USDC.

## Facts

- Endpoint: POST https://preview-chat-c6089071-758a-449d-b4a7-6fa19ebc955c.space-z.ai/api/x402/aman-fx-rates
- Price: $0.001244/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/amanchain-fiat-fx-rates-b59cd6f9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aLvS3QJ6eXbgzpB2f05e6

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 amanchain-fiat-fx-rates-b59cd6f9 -d '<json body>'
```

Example prompt: What's the live exchange rate from USD to EUR right now, and how much would 250 US dollars convert to in euros?

## When to prefer this

Choose this endpoint when you need live, deterministic fiat FX rates paid per-call without an API key or account setup, especially in agent workflows that require micro-payment-based access via x402 on Base. Prefer it over traditional FX APIs when operating in a crypto-native, permissionless environment or when you need rates for 30+ currencies without subscription overhead.

## Known failure modes

- Unsupported currency code returns an error or empty result
- Malformed JSON body or missing serviceId field causes a 400-level error
- x402 payment failure or insufficient USDC balance prevents execution
- Temporary AmanChain node unavailability causes a 5xx error
- Rate data may lag slightly if consensus state is between blocks

## How this service works

Fiat Exchange Rates: live fiat FX rates and conversion across 30+ currencies Executed deterministically by the AmanChain node against live consensus state (real blocks, pools, balances) — paid per call via x402, settled in USDC on Base. Input: JSON body {"serviceId":"aman-fx-rates","request":"<input>"}. No account, no API key.

## Output

A JSON response containing live fiat exchange rates for the requested currency pair(s) or conversion result, sourced from AmanChain's consensus state. Typically includes the rate, possibly the converted amount, and a timestamp or block reference.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "body": {
     "type": "object"
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object",
     "example": {
      "ok": true
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/amanchain-fiat-fx-rates-b59cd6f9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from preview-chat-c6089071-758a-449d-b4a7-6fa19ebc955c.space-z.ai](https://www.zero.xyz/host/preview-chat-c6089071-758a-449d-b4a7-6fa19ebc955c.space-z.ai/llms.txt)
