# x402 AI Gateway — Currency Conversion (AOA to ZMW)

> x402 AI Gateway — Currency Conversion (AOA to ZMW) is a paid API for AI agents from api.fastapi.online, paid per call via x402, $0.0002/call, status down (last checked 2026-10-13).

Converts an amount from Angolan Kwanza (AOA) to Zambian Kwacha (ZMW), gated by an x402 USDC micropayment on Base.

## Facts

- Endpoint: POST https://api.fastapi.online/f/fx/aoa/zmw?utm_source=zero.xyz
- Price: $0.0002/call
- Payment: x402
- Status: down
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-ai-gateway-currency-conversion-aoa-to-zmw-91a2abad
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RPHPcs3uNQG2tsUngb8Sd

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-conversion-aoa-to-zmw-91a2abad -d '<json body>'
```

Example prompt: How much is 500 Angolan Kwanza (AOA) worth in Zambian Kwacha (ZMW) right now?

## When to prefer this

Choose this endpoint when you specifically need to convert AOA (Angolan Kwanza) to ZMW (Zambian Kwacha) and are operating in an x402-compatible payment environment using USDC on Base. The $0.0002 per-call cost is negligible for automated agents. Prefer this over general FX APIs if you are already integrated with the x402 payment protocol and need African currency pair coverage.

## Known failure modes

- Payment not provided or insufficient USDC micropayment returns HTTP 402 Payment Required
- Invalid or non-numeric amount input returns a validation error
- Service unavailable if self-hosted backend is down
- Rate data may be stale if the underlying exchange rate feed is not refreshed
- Default amount of 1 used if amount field is omitted

## 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 value of the specified AOA amount expressed in Zambian Kwacha (ZMW), likely including the converted amount and possibly the exchange rate applied.

## 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-conversion-aoa-to-zmw-91a2abad/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)
