# Currency Exchange – fx.openverbs.com

> Currency Exchange – fx.openverbs.com is a paid API for AI agents from fx.openverbs.com, paid per call via x402, $0.006/call, status unknown (last checked 2026-09-14).

Returns current or historical foreign exchange rates for a base currency against one or more target currencies

## Facts

- Endpoint: POST https://fx.openverbs.com/v1/rates
- Price: $0.006/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/currency-exchange-fx-openverbs-com-a769da4d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9pJa3YFyKgEkg3zlMLRe7

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-exchange-fx-openverbs-com-a769da4d -d '<json body>'
```

Example prompt: What's the current exchange rate from USD to EUR, GBP, and JPY?

## When to prefer this

Choose this endpoint when you need spot or historical foreign exchange rates for any of 30 major world currencies, especially when you need rates relative to a non-USD base or for a specific historical date. Prefer it over generic currency converter widgets when you need programmatic, structured rate data for multiple currency pairs in one call.

## Known failure modes

- Unsupported currency code in base or symbols → validation error
- Invalid date format (not YYYY-MM-DD) → schema validation failure
- Date too far in the past with no historical data → empty or error response
- Missing required 'base' field → request rejected
- Network or upstream forex data provider outage → service unavailable

## How this service works

Reference exchange rates for a base currency against some or all supported currencies (latest or a historical date).

## Output

Returns a structured map of exchange rates for the requested target currencies relative to the base currency, along with the effective date of the rates. If no target currencies are specified, rates for all 30 supported ISO 4217 currencies are returned.

## 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",
     "required": [
      "base"
     ],
     "properties": {
      "base": {
       "enum": [
        "AUD",
        "BRL",
        "CAD",
        "CHF",
        "CNY",
        "CZK",
        "DKK",
        "EUR",
        "GBP",
        "HKD",
        "HUF",
        "IDR",
        "ILS",
        "INR",
        "ISK",
        "JPY",
        "KRW",
        "MXN",
        "MYR",
        "NOK",
        "NZD",
        "PHP",
        "PLN",
        "RON",
        "SEK",
        "SGD",
        "THB",
        "TRY",
        "USD",
        "ZAR"
       ],
       "type": "string",
       "description": "Base currency (ISO 4217)."
      },
      "date": {
       "type": "string",
       "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
       "description": "Historical date (YYYY-MM-DD). Defaults to latest."
      },
      "symbols": {
       "type": "array",
       "items": {
        "enum": [
         "AUD",
         "BRL",
         "CAD",
         "CHF",
         "CNY",
         "CZK",
         "DKK",
         "EUR",
         "GBP",
         "HKD",
         "HUF",
         "IDR",
         "ILS",
         "INR",
         "ISK",
         "JPY",
         "KRW",
         "MXN",
         "MYR",
         "NOK",
         "NZD",
         "PHP",
         "PLN",
         "RON",
         "SEK",
         "SGD",
         "THB",
         "TRY",
         "USD",
         "ZAR"
        ],
        "type": "string"
       },
       "minItems": 1,
       "description": "Target currencies. Omit for all supported currencies."
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

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