# x402 AI Gateway – FX/AOA to UAH Currency Converter

> x402 AI Gateway – FX/AOA to UAH 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 a source currency (likely Angolan Kwanza, AOA) to Ukrainian Hryvnia (UAH) using a self-hosted AI gateway with x402 micropayment gating.

## Facts

- Endpoint: POST https://api.fastapi.online/f/fx/aoa/uah?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-fx-aoa-to-uah-currency-converter-347505f5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TBZLVQg264Pn3t9GvQCOU

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-fx-aoa-to-uah-currency-converter-347505f5 -d '<json body>'
```

Example prompt: Can you convert 250 Angolan Kwanza (AOA) to Ukrainian Hryvnia (UAH) for me?

## When to prefer this

Choose this endpoint when you need AOA-to-UAH currency conversion in an x402-enabled agent workflow that handles USDC micropayments on Base automatically, and when a self-hosted, low-cost per-call pricing model ($0.0002 USDC) is acceptable over a dedicated FX data provider.

## Known failure modes

- Payment not fulfilled — 402 response if x402 micropayment is not provided or invalid
- Invalid amount input — non-numeric or missing amount field returns an error
- Gateway unavailable — self-hosted infrastructure may have downtime
- Stale or inaccurate exchange rate — self-hosted model may not reflect real-time FX data
- USDC balance insufficient — agent wallet lacks funds for the $0.0002 per-call fee

## How this service works

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

## Output

Returns a JSON object containing the converted currency value from AOA to UAH for the given input amount, computed via a self-hosted AI gateway after an x402 USDC micropayment on Base is fulfilled.

## 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-fx-aoa-to-uah-currency-converter-347505f5/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)
