# Currency Convert

> Currency Convert is a paid API for AI agents from x402currencyconvert.vercel.app, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-16).

Converts an amount from one fiat currency to another using live reference exchange rates.

## Facts

- Endpoint: GET https://x402currencyconvert.vercel.app/api/currency-convert
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/currency-convert-e25cb83d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_q1l129YglI57nJ5k2sIuz

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-convert-e25cb83d
```

Example prompt: Convert 250 US dollars to euros using the latest exchange rate.

## When to prefer this

Use this endpoint when you need a quick, live fiat-to-fiat currency conversion for a specific amount, especially in lightweight agent workflows where a simple GET request is preferred and cost per call must be minimal ($0.002 USDC). Ideal for travel budgeting, invoice generation, and real-time FX lookups across standard ISO 4217 currency pairs.

## Known failure modes

- Invalid or unsupported ISO 4217 currency code returns an error
- Missing required 'from' or 'to' parameters causes a bad request response
- Network or upstream exchange rate provider unavailability may cause a service error
- Negative or non-numeric amount values may be rejected

## How this service works

Convert an amount from one fiat currency to another using live reference exchange rates.

## Output

Returns the converted monetary amount in the target currency along with the exchange rate used, source and destination currency codes, and the original input amount.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "from",
      "to"
     ],
     "properties": {
      "to": {
       "type": "string",
       "description": "ISO 4217 currency code to convert to (e.g. EUR)."
      },
      "from": {
       "type": "string",
       "description": "ISO 4217 currency code to convert from (e.g. USD)."
      },
      "amount": {
       "type": "number",
       "description": "Amount to convert. Defaults to 1."
      }
     }
    }
   },
   "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-convert-e25cb83d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402currencyconvert.vercel.app](https://www.zero.xyz/host/x402currencyconvert.vercel.app/llms.txt)
