# FX Currency Converter: FX to INR

> FX Currency Converter: FX to INR 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-11).

Converts a specified amount from a foreign currency (FX) to Indian Rupees (INR) using real-time exchange rates.

## Facts

- Endpoint: POST https://api.fastapi.online/f/fx/ang/inr?utm_source=zero.xyz
- Price: $0.0002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fx-currency-converter-fx-to-inr-d29e3247
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MyApUk4EYkg5BCe2Hq1Jw

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 fx-currency-converter-fx-to-inr-d29e3247 -d '<json body>'
```

Example prompt: Convert 250 US dollars to Indian rupees for me.

## When to prefer this

Use this endpoint when you need a quick, cheap (fractions of a cent per call) FX-to-INR conversion via a micropayment-gated API that accepts USDC on Base. Ideal for agents with x402 payment capability that need real-time or near-real-time Indian rupee conversion without committing to a subscription-based FX data provider.

## Known failure modes

- Invalid or unsupported source currency returns an error
- Amount of 0 or negative values may return an error or zero result
- Payment not fulfilled (x402 micropayment not sent) results in 402 Payment Required response
- Service unavailable if self-hosted backend is down

## 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 value in INR and likely the exchange rate used for the conversion, given the input amount in the source foreign currency.

## 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/fx-currency-converter-fx-to-inr-d29e3247/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)
