# x402 AI Gateway — ARS Currency Converter

> x402 AI Gateway — ARS 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 of Argentine Peso (ARS) to another currency, gated behind an x402 USDC micropayment on Base.

## Facts

- Endpoint: POST https://api.fastapi.online/f/fx/ars/awg?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-ars-currency-converter-7ec5e547
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0882WVpcYtRiE0lqg4rcQ

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-ars-currency-converter-7ec5e547 -d '<json body>'
```

Example prompt: Convert 5000 Argentine pesos (ARS) to USD for me — just give me the converted amount.

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-use ARS currency conversion that is gated behind a verifiable x402 USDC micropayment on Base — ideal for agents with a crypto wallet that want programmatic, trustless access to FX data without a subscription or API key. Prefer alternatives if you need batch conversions, multi-currency support beyond ARS, or guaranteed uptime SLAs.

## Known failure modes

- Missing x402 micropayment header results in 402 Payment Required response
- Invalid or missing 'amount' field may return an error or default to 1
- Malformed request body returns 422 Unprocessable Entity
- Upstream exchange rate source unavailable may return 5xx error
- Insufficient USDC balance for micropayment causes payment failure

## 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 value for the specified ARS amount, based on current exchange rates. The exact schema is unstructured but expected to include the result of the conversion.

## 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-ars-currency-converter-7ec5e547/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)
