# x402 AI Gateway — ARS to CUC Currency Converter

> x402 AI Gateway — ARS to CUC 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 given amount from Argentine Peso (ARS) to Cuban Convertible Peso (CUC), gated behind an x402 USDC micropayment on Base.

## Facts

- Endpoint: POST https://api.fastapi.online/f/fx/ars/cuc?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-to-cuc-currency-converter-b42f5caa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gymA6RVM-Cjg-9WXRPWN5

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-to-cuc-currency-converter-b42f5caa -d '<json body>'
```

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

## When to prefer this

Choose this endpoint when you need a quick, programmatic ARS-to-CUC conversion and are already operating in an x402 micropayment environment on Base. It is well-suited for agents that handle Latin American currency workflows, travel planning, or remittances between Argentina and Cuba, especially when you want a pay-per-call model without subscription overhead.

## Known failure modes

- Missing or invalid x402 micropayment header — returns HTTP 402 Payment Required
- Amount field provided as non-numeric value — may return 400 or validation error
- Exchange rate data unavailable or stale — may return an error or unexpected value
- Network timeout to the self-hosted gateway — returns connection error
- Amount of 0 or negative values may return an error or zero result

## 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 CUC. The response object likely includes the converted amount and possibly the exchange rate applied, though the exact response schema is an open object.

## 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-to-cuc-currency-converter-b42f5caa/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)
