# x402 AI Gateway — ARS/CUP Currency Converter

> x402 AI Gateway — ARS/CUP 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 Argentine Peso (ARS) to Cuban Peso (CUP), gated by an x402 USDC micropayment on Base.

## Facts

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

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-cup-currency-converter-80a8ea0e -d '<json body>'
```

Example prompt: Can you convert 1000 Argentine pesos to Cuban pesos for me?

## When to prefer this

Choose this endpoint when you specifically need to convert Argentine Peso (ARS) to Cuban Peso (CUP) and are operating in an x402-enabled payment environment using USDC on Base. Best for agents that already handle x402 micropayments and need lightweight, per-call FX data for this specific currency pair without a full FX subscription.

## Known failure modes

- Payment not submitted or invalid x402 micropayment header — 402 Payment Required returned
- Invalid or missing amount parameter — may default to 1 or return an error
- Upstream exchange rate data unavailable — service may return an error or stale data
- Amount of zero or negative value may produce unexpected output

## 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 from ARS to CUP for the specified input amount, delivered as a JSON object with the result.

## 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-cup-currency-converter-80a8ea0e/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)
