# x402 AI Gateway – FX/ANG/MYR Currency Converter

> x402 AI Gateway – FX/ANG/MYR 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 (ANG/MYR) using live FX rates, requiring a $0.0002 USDC micropayment via x402 protocol before executing.

## Facts

- Endpoint: POST https://api.fastapi.online/f/fx/ang/myr?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-ang-myr-currency-converter-d48d07bd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Fo0EdK8yVhb6hjyPBZasz

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-ang-myr-currency-converter-d48d07bd -d '<json body>'
```

Example prompt: Convert 250 ANG to MYR — what's the current exchange rate and how much would I get?

## When to prefer this

Choose this endpoint when you need ANG (Netherlands Antillean Guilder) to MYR (Malaysian Ringgit) currency conversion and are operating in an x402-enabled payment environment using USDC on Base. Ideal for agents already integrated with the x402 micropayment protocol that need niche currency pair conversions not always available in mainstream FX APIs.

## Known failure modes

- Payment not received or insufficient USDC micropayment — 402 Payment Required returned
- Invalid or missing amount parameter — may default to 1 or return validation error
- Upstream FX rate data unavailable — service may return an error or stale rate
- Network timeout on self-hosted infrastructure — intermittent availability possible

## 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 value and FX rate data for the ANG to MYR currency pair, given the input amount. Response is a JSON object with conversion results.

## 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-ang-myr-currency-converter-d48d07bd/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)
