# x402 AI Gateway – ARS/BAM Currency Converter

> x402 AI Gateway – ARS/BAM 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 an amount from Argentine Peso (ARS) to Bangladeshi Taka (BAM) with a micropayment required via x402 protocol.

## Facts

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

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-bam-currency-converter-29e76599 -d '<json body>'
```

Example prompt: Convert 500 Argentine pesos to Bangladeshi taka for me.

## When to prefer this

Use this endpoint when you specifically need to convert Argentine Pesos (ARS) to Bangladeshi Taka (BAM) and are operating in an x402-capable agent environment that can handle USDC micropayments on Base. It is purpose-built for this currency pair and costs only $0.0002 USDC per call, making it suitable for high-frequency or automated conversion lookups.

## Known failure modes

- Payment not provided or rejected — 402 Payment Required response before execution
- Invalid or missing amount field — may return a validation error or default to 1
- Service unavailable or gateway timeout — 5xx error from self-hosted infrastructure
- Stale exchange rate data if the self-hosted instance is not updated frequently
- Unexpected response schema — the response schema is unspecified (empty object)

## 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 representing the given ARS amount expressed in Bangladeshi Taka (BAM), likely including the converted figure 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/x402-ai-gateway-ars-bam-currency-converter-29e76599/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)
