# x402 Currency Converter API

> x402 Currency Converter API is a paid API for AI agents from x402-apis-eta.vercel.app, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-13).

Converts a currency amount from one currency to another and returns the converted value, accessible via micropayment with no API key required.

## Facts

- Endpoint: GET https://x402-apis-eta.vercel.app/api/currency
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-currency-converter-api-8d034c0d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sI_pZe1Is53nqGf0OcHQ4

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 x402-currency-converter-api-8d034c0d
```

Example prompt: Convert 250 USD to AED for me — how much is that in UAE dirhams right now?

## When to prefer this

Choose this endpoint when you need a quick, one-off currency conversion without setting up API keys or accounts, especially in agent workflows that support x402 micropayments (USDC). Ideal for AI agents that need lightweight, pay-per-use forex data at $0.003 per call.

## Known failure modes

- Invalid or unsupported currency code returns an error
- Missing required 'from' or 'to' parameters returns 400 bad request
- Payment not provided or insufficient results in 402 Payment Required
- Network or upstream forex data source unavailable returns 5xx
- Malformed amount string may cause computation error

## How this service works

AI-agent-friendly APIs with instant micropayments via x402 protocol. No API keys, no accounts - just pay and access.

## Output

Returns the converted currency amount for the given source and target currency pair, likely including the exchange rate and result value.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "to",
  "from"
 ],
 "properties": {
  "to": {
   "type": "string",
   "description": "Target currency (e.g., AED)"
  },
  "from": {
   "type": "string",
   "description": "Source currency (e.g., USD)"
  },
  "amount": {
   "type": "string",
   "description": "Amount to convert"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-currency-converter-api-8d034c0d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-apis-eta.vercel.app](https://www.zero.xyz/host/x402-apis-eta.vercel.app/llms.txt)
