# AmanChain Fiat FX Rates

> AmanChain Fiat FX Rates is a paid API for AI agents from preview-chat-701ec510-82d7-4ee3-ae9d-8fdb8c4f421b.space-z.ai, paid per call via x402, $0.001244/call, status unknown (last checked 2026-09-15).

Fetches 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-701ec510-82d7-4ee3-ae9d-8fdb8c4f421b.space-z.ai/api/x402/aman-fx-rates
- Price: $0.001244/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/amanchain-fiat-fx-rates-8fe4eb19
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BXpKkgwfhv_uHr0TBSyUG

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-8fe4eb19 -d '<json body>'
```

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

## When to prefer this

Choose this endpoint when you need lightweight, pay-per-call live FX rate lookups without requiring an API key or account setup. Ideal for agents that infrequently need currency conversion and want to avoid subscription overhead, or when operating in a crypto-native payment context using x402/USDC on Base.

## Known failure modes

- Unsupported currency code returns an error or empty result
- Payment not settled (x402 failure) results in request rejection
- Malformed JSON body or missing serviceId/request fields cause a 400-level error
- Temporary node unavailability may result in a timeout or 503 response

## 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

Returns live fiat FX rates and/or converted amounts for the requested currency pair(s), sourced from consensus state via the AmanChain node. Typically includes the rate, source/target currency codes, and optionally the converted value.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "properties": {
      "request": {
       "type": "string",
       "description": "service input (see body example)"
      },
      "serviceId": {
       "type": "string",
       "description": "the service id, \"aman-fx-rates\""
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/amanchain-fiat-fx-rates-8fe4eb19/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from preview-chat-701ec510-82d7-4ee3-ae9d-8fdb8c4f421b.space-z.ai](https://www.zero.xyz/host/preview-chat-701ec510-82d7-4ee3-ae9d-8fdb8c4f421b.space-z.ai/llms.txt)
