# x402 AI Gateway – FX/Currency Conversion (FX/ANG/MWK)

> x402 AI Gateway – FX/Currency Conversion (FX/ANG/MWK) 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-11).

Converts a given amount from one currency to another (likely ANG to MWK or a related FX pair) via a self-hosted AI gateway that requires a micropayment before execution.

## Facts

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

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-currency-conversion-fx-ang-mwk-fcf11531 -d '<json body>'
```

Example prompt: Convert 250 ANG to MWK for me — what's the current exchange rate and how much would I get in Malawian Kwacha?

## When to prefer this

Choose this endpoint when you need a programmatic, per-call FX conversion between ANG and MWK (or the specific pair served at this path) and are operating in an x402 micropayment-capable environment. It is suitable for lightweight, on-demand currency lookups at very low cost ($0.0002 USDC per call) without requiring a subscription to a major FX API provider.

## Known failure modes

- Payment not received or x402 micropayment rejected — gateway returns 402 Payment Required
- Invalid or missing amount parameter — may return a validation error
- Exchange rate data unavailable — service may return an error or stale rate
- Network timeout on self-hosted gateway — possible 503 or connection error
- Amount of 0 or negative value may cause unexpected behavior

## 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 amount and likely the exchange rate applied for the specified ANG-to-MWK (or similar FX pair) conversion. Exact response fields depend on the gateway implementation.

## 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-currency-conversion-fx-ang-mwk-fcf11531/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)
