# Currency Exchange by OpenVerbs

> Currency Exchange by OpenVerbs 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).

Converts an amount from one ISO 4217 currency to another, with optional historical date support

## Facts

- Endpoint: POST https://fx.openverbs.com/v1/convert
- 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-by-openverbs-41c0e7cb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8MB_0vB39HcB0gOIgSbZd

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-by-openverbs-41c0e7cb -d '<json body>'
```

Example prompt: Convert 750 US dollars to Japanese yen using today's exchange rate.

## When to prefer this

Use this endpoint when you need a straightforward, low-latency currency conversion between any two of the 30 supported major world currencies, with optional historical date lookup. Ideal for financial calculations, invoice reconciliation, travel budget estimation, and cross-border payment normalization where a per-call micropayment model ($0.006 USDC) is acceptable. Prefer this over free-tier services when you need reliable, API-native access without rate-limit concerns.

## Known failure modes

- Unsupported currency code passed for 'from' or 'to' — only the 30 listed ISO 4217 codes are accepted
- Invalid date format not matching YYYY-MM-DD pattern
- Amount value of 0 or negative — exclusiveMinimum constraint requires a positive number
- Historical date too far in the past may return no data or stale rates
- Network or payment failure (x402 micropayment not processed)

## How this service works

Convert an amount from one currency to another using reference rates (latest or a historical date). Amount defaults to 1.

## Output

Returns the converted monetary value in the target currency, derived from the source amount and the applicable exchange rate for the requested date (or latest available).

## 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": [
      "from",
      "to"
     ],
     "properties": {
      "to": {
       "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": "Target currency (ISO 4217)."
      },
      "date": {
       "type": "string",
       "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
       "description": "Historical date (YYYY-MM-DD). Defaults to latest."
      },
      "from": {
       "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": "Source currency (ISO 4217)."
      },
      "amount": {
       "type": "number",
       "description": "Amount in the source currency. Defaults to 1.",
       "exclusiveMinimum": 0
      }
     },
     "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-by-openverbs-41c0e7cb/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)
