# Currency Converter (Live Exchange Rates)

> Currency Converter (Live Exchange Rates) is a paid API for AI agents from currency-converter.pdfextractapi.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Converts a monetary amount from one currency to another using live exchange rates, given source and target ISO 4217 currency codes.

## Facts

- Endpoint: POST https://currency-converter.pdfextractapi.workers.dev/convert
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/currency-converter-live-exchange-rates-060c9e6d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lWN0pHbwAfK9n5iNtkE64

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-converter-live-exchange-rates-060c9e6d -d '<json body>'
```

Example prompt: Convert 250 US dollars to British pounds using the current exchange rate.

## When to prefer this

Use this endpoint when you need a simple, low-cost, real-time currency conversion between any two ISO 4217 currencies without requiring complex financial infrastructure. Ideal for agents that need to display prices in multiple currencies, reconcile international invoices, or assist users in travel budget planning.

## Known failure modes

- Invalid or unsupported ISO 4217 currency code returns an error
- Amount field missing or non-numeric causes a validation error
- Downstream exchange rate provider unavailable leads to a service error
- Network timeout on the Cloudflare Worker endpoint

## How this service works

Convert an amount between currencies using live exchange rates.

## Output

Returns the converted monetary amount in the target currency based on live exchange rates, along with any rate or conversion details provided by the service.

## 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": {
     "required": [
      "amount",
      "from",
      "to"
     ],
     "properties": {
      "to": {
       "type": "string",
       "description": "Target ISO 4217 currency code, e.g. 'GBP'."
      },
      "from": {
       "type": "string",
       "description": "Source ISO 4217 currency code, e.g. 'USD'."
      },
      "amount": {
       "type": "number",
       "description": "The amount to convert."
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/currency-converter-live-exchange-rates-060c9e6d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from currency-converter.pdfextractapi.workers.dev](https://www.zero.xyz/host/currency-converter.pdfextractapi.workers.dev/llms.txt)
