# x402 AI Gateway — ARS to BHD Currency Converter

> x402 AI Gateway — ARS to BHD 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 Bahraini Dinar (BHD), paid via x402 USDC micropayment on Base.

## Facts

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

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-bhd-currency-converter-8839e85c -d '<json body>'
```

Example prompt: Can you convert 5000 Argentine Pesos to Bahraini Dinars for me?

## When to prefer this

Choose this endpoint when you specifically need ARS-to-BHD currency conversion and are operating in an x402-enabled agent environment that can handle USDC micropayments on Base. It is well-suited for AI agents that already integrate x402 payment flows and need a low-cost ($0.0002 USDC) per-call conversion. Prefer alternatives (free public forex APIs) if x402 payment capability is not available in your stack.

## Known failure modes

- Missing or invalid amount field may return an error or default to converting 1 ARS
- Payment not fulfilled (x402 micropayment in USDC on Base not completed) results in a 402 Payment Required response before execution
- Service unavailability on the self-hosted gateway may yield a 5xx error
- Exchange rate data may be stale if the underlying data source is not updated in real-time

## 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 (Argentine Peso) to BHD (Bahraini Dinar) for the specified input amount. The exact structure of the response object is not fully specified beyond a generic object type.

## 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-bhd-currency-converter-8839e85c/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)
