# x402 AI Gateway — FX Currency Converter (ANG/HUF)

> x402 AI Gateway — FX Currency Converter (ANG/HUF) 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 ANG (Netherlands Antillean Guilder) to HUF (Hungarian Forint) via a micropayment-gated API endpoint.

## Facts

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

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-converter-ang-huf-e7329842 -d '<json body>'
```

Example prompt: Convert 250 ANG to HUF and tell me how much that is in Hungarian Forint.

## When to prefer this

Choose this endpoint when you specifically need ANG-to-HUF conversion, are comfortable with per-call USDC micropayments via x402, and want a lightweight self-hosted alternative to large FX API providers. Well-suited for agents that already handle x402 payment flows and need ultra-low-cost FX lookups at $0.0002 per call.

## Known failure modes

- Payment not provided or insufficient — returns HTTP 402 requiring USDC micropayment on Base before execution
- Invalid or missing amount field — may return a validation error or default to amount=1
- Service unavailable — self-hosted endpoint may be offline or rate-limited
- Unsupported or stale exchange rate data — conversion may reflect a cached or outdated FX rate

## How this service works

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

## Output

Returns an object containing the converted currency amount from ANG to HUF, likely including the exchange rate applied and the resulting value in Hungarian Forint.

## 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-converter-ang-huf-e7329842/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)
