# x402 AI Gateway — FX/AOA to TZS Currency Converter

> x402 AI Gateway — FX/AOA to TZS Currency Converter 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 a specified amount from one currency (AOA) to another (TZS) via a micropayment-gated AI gateway endpoint.

## Facts

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

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-tzs-currency-converter-ce775cc4 -d '<json body>'
```

Example prompt: Convert 500 Angolan Kwanza (AOA) to Tanzanian Shillings (TZS) for me — this endpoint charges a small USDC micropayment per call.

## When to prefer this

Use this endpoint when you specifically need AOA-to-TZS currency conversion and are operating in an x402 micropayment-enabled agent context (USDC on Base). It is best suited for lightweight, per-call FX lookups where cost per query must be minimal ($0.0002 USDC). Prefer this over general-purpose FX APIs if you are already integrated into the x402 payment protocol and need Africa-corridor currency rates without setting up a separate FX subscription.

## Known failure modes

- Payment not provided or insufficient USDC micropayment — returns HTTP 402 Payment Required
- Invalid or missing amount field — malformed request or default of 1 used
- Exchange rate data unavailable — gateway may return an empty or error response
- Network timeout on self-hosted instance — no SLA guarantee
- Response schema is generic object — structure may vary or be undocumented

## 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 TZS for the given input amount, based on current exchange rate data processed through the self-hosted AI gateway.

## 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-tzs-currency-converter-ce775cc4/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)
