# fx-rates — Real-Time Multi-Currency Exchange Rates (USD Base)

> fx-rates — Real-Time Multi-Currency Exchange Rates (USD Base) is a paid API for AI agents from agentdatum.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns real-time exchange rates for multiple currencies relative to USD, sourced from open.er-api, with no registration required.

## Facts

- Endpoint: GET https://agentdatum.com/api/v1/d/fx-rates
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fx-rates-real-time-multi-currency-exchange-rates-usd-base-43c9a4ab
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YHzPki3na7qKCibEbUMp6

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-rates-real-time-multi-currency-exchange-rates-usd-base-43c9a4ab
```

Example prompt: What are the current real-time exchange rates for all major currencies relative to USD? I need the latest FX rates right now, no registration needed.

## When to prefer this

Choose this endpoint when you need real-time, no-registration FX rates for a broad set of currencies relative to USD, especially in agent workflows requiring live currency conversion without API key management. Prefer it over manual integration with open.er-api when you want a pay-per-call micro-payment model via x402.

## Known failure modes

- Upstream open.er-api outage returns stale or error response
- Rate limit or payment failure returns 402 Payment Required
- Missing or malformed query params return 400 Bad Request
- Unsupported currency code returns empty or null rate

## How this service works

实时汇率 — open.er-api 实时多币种汇率（基于USD），免注册。

## Output

Returns a JSON object containing real-time exchange rates for multiple global currencies, all priced relative to USD, including currency codes, rate values, and a timestamp indicating data freshness. Sourced from open.er-api.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "raw": {
   "rates": {
    "AED": 3.6725,
    "AFN": 65.773304,
    "ALL": 80.785937,
    "AMD": 366.081469,
    "ANG": 1.79,
    "AOA": 925.102181,
    "ARS": 1498.4355,
    "AUD": 1.418164,
    "AWG": 1.79,
    "AZN": 1.700163,
    "BAM": 1.693627,
    "BBD": 2,
    "BDT": 123.777032,
    "BGN": 1.693627,
    "BHD": 0.376,
    "BIF": 2994.401747,
    "BMD": 1,
    "BND": 1.279631,
    "BOB": 12.120155,
    "BRL": 5.107069,
    "BSD": 1,
    "BTN": 95.249221,
    "BWP": 13.888473,
    "BYN": 2.963399,
    "BZD": 2,
    "CAD": 1.395557,
    "CDF": 2270.462859,
    "CHF": 0.808987,
    "CLF": 0.023164,
    "CLP": 915.607525,
    "CNH": 6.745161,
    "CNY": 6.765066,
    "COP": 3180.15419,
    "CRC": 454.413281,
    "CUP": 24,
    "CVE": 95.482633,
    "CZK": 21.007139,
    "DJF": 177.721,
    "DKK": 6.462066,
    "USD": 1
   },
   "result": "success",
   "provider": "https://www.exchangerate-api.com",
   "base_code": "USD",
   "terms_of_use": "https://www.exchangerate-api.com/terms",
   "documentation": "https://www.exchangerate-api.com/docs/free",
   "time_eol_unix": 0,
   "time_last_update_utc": "Sun, 09 Aug 2026 00:02:31 +0000",
   "time_next_update_utc": "Mon, 10 Aug 2026 00:29:01 +0000",
   "time_last_update_unix": 1786233751,
   "time_next_update_unix": 1786321741
  },
  "source": "generic_json",
  "data_type": "外汇",
  "collected_at": "2026-08-09T18:13:17Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fx-rates-real-time-multi-currency-exchange-rates-usd-base-43c9a4ab/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentdatum.com](https://www.zero.xyz/host/agentdatum.com/llms.txt)
