# ARS to AFN Currency Converter

> ARS to AFN 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-10).

Converts an amount from Argentine Peso (ARS) to Afghan Afghani (AFN) using a self-hosted AI gateway with x402 micropayment gating.

## Facts

- Endpoint: POST https://api.fastapi.online/f/fx/ars/afn?utm_source=zero.xyz
- Price: $0.0002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ars-to-afn-currency-converter-00a88903
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NGCc8X76t-rp2sWv-6RuQ

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 ars-to-afn-currency-converter-00a88903 -d '<json body>'
```

Example prompt: Convert 1000 Argentine pesos to Afghan afghani for me.

## When to prefer this

Choose this endpoint when you specifically need ARS-to-AFN currency conversion via a pay-per-call micropayment model (USDC on Base), particularly in autonomous agent workflows where x402 payment flows are already integrated. Prefer alternatives for bulk conversions or when you need a free-tier API.

## Known failure modes

- Payment not provided or invalid x402 micropayment — returns 402 Payment Required
- Invalid or non-numeric amount input — returns 400 Bad Request
- Exchange rate data unavailable — may return 503 or empty result
- Malformed request body — returns validation error

## 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 from ARS to AFN, likely including the result value and possibly the exchange rate used.

## 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/ars-to-afn-currency-converter-00a88903/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)
