# Gateway1 Currency Conversion API (x402)

> Gateway1 Currency Conversion API (x402) is a paid API for AI agents from x402-simple-data-api.parviz-gateway1.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-12).

Converts currency values between denominations via a paid GET endpoint on x402 protocol, charging $0.01 USDC per request on Base.

## Facts

- Endpoint: GET https://x402-simple-data-api.parviz-gateway1.workers.dev/api/convert?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gateway1-currency-conversion-api-x402-27eaeca9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sKUXU00k-F_VUmQS-OSVN

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 gateway1-currency-conversion-api-x402-27eaeca9
```

Example prompt: Can you convert 250 US dollars to euros for me?

## When to prefer this

Choose this endpoint when you need a simple, pay-per-use currency conversion lookup via the x402 micropayment protocol on Base, especially in automated agent pipelines where per-call USDC billing is acceptable and no subscription/API key management is desired.

## Known failure modes

- Missing or invalid source/target currency codes (e.g. unsupported ISO codes)
- Payment failure on Base network resulting in 402 response
- Invalid or non-numeric amount input
- Unsupported currency pair returning an error
- Network timeout from Cloudflare Workers edge node

## How this service works

Paid multi-service APIs via x402 on Base. $0.01 USDC per request.

## Output

A JSON object containing the converted currency amount and likely the exchange rate used for the given currency pair and input amount.

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gateway1-currency-conversion-api-x402-27eaeca9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-simple-data-api.parviz-gateway1.workers.dev](https://www.zero.xyz/host/x402-simple-data-api.parviz-gateway1.workers.dev/llms.txt)
