# x402 AI Gateway — Currency Converter

> x402 AI Gateway — Currency Converter is a paid API for AI agents from api.fastapi.online, paid per call via x402, $0.0002/call, status unknown (last checked 2026-10-12).

Converts a specified amount from one currency to another, requiring a micropayment in USDC on Base before executing.

## Facts

- Endpoint: POST https://api.fastapi.online/f/fx/ang/mvr?utm_source=zero.xyz
- Price: $0.0002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-ai-gateway-currency-converter-d469fa81
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QueS8wPq7BNLoNni4LRbF

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-ai-gateway-currency-converter-d469fa81 -d '<json body>'
```

Example prompt: Convert 250 US dollars to Japanese yen for me.

## When to prefer this

Choose this endpoint when you need a pay-per-call currency conversion within an x402-enabled micropayment workflow on Base/USDC, or when integrating currency conversion into an autonomous agent that already handles x402 payment flows. It is a self-hosted, low-cost option at $0.0002 per call.

## Known failure modes

- Invalid or unsupported currency code returns an error
- Payment failure or insufficient USDC balance blocks execution with a 402 response
- Amount of 0 or negative values may return a validation error
- Network or gateway timeout results in a failed request
- Unsupported currency pairs may return null or error response

## How this service works

Self-hosted AI API gateway. Expensive endpoints require an x402 micropayment (USDC on Base) before executing.

## Output

Returns the converted currency amount and likely exchange rate details for the requested source amount and currency pair.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "amount": {
   "type": "number",
   "description": "Amount of the source currency to convert (default 1)"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-ai-gateway-currency-converter-d469fa81/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.fastapi.online](https://www.zero.xyz/host/api.fastapi.online/llms.txt)
