# PennyRail FX Currency Converter

> PennyRail FX Currency Converter is a paid API for AI agents from pennyrail.vercel.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Converts a monetary amount from one currency to another using real-time or near-real-time exchange rates

## Facts

- Endpoint: POST https://pennyrail.vercel.app/api/f/fx.convert
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pennyrail-fx-currency-converter-2cdc6003
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WixM1SwLSo6hzgAy7QGte

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 pennyrail-fx-currency-converter-2cdc6003 -d '<json body>'
```

Example prompt: Can you convert 500 USD to EUR for me using PennyRail's FX converter?

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call FX conversion with no subscription overhead, especially in agentic or automated payment workflows already using x402/USDC micropayments. Prefer it when you need a simple amount+from+to conversion rather than full market data, historical rates, or order book depth.

## Known failure modes

- Unsupported currency code returns an error or null result
- Missing required 'amount', 'from', or 'to' fields in input causes validation failure
- Payment of 0.001 USDC not completed triggers 402 Payment Required
- Invalid amount format (non-numeric) may cause computation error
- Stale or unavailable rate data may result in an error or approximate result

## How this service works

Machine-readable settlement service

## Output

Returns an object containing an 'operation' string describing the conversion performed and a 'result' field with the converted amount or conversion details, along with any additional metadata fields.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "description": "{amount,from,to}"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "operation",
  "result"
 ],
 "properties": {
  "result": {},
  "operation": {
   "type": "string"
  }
 },
 "additionalProperties": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pennyrail-fx-currency-converter-2cdc6003/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pennyrail.vercel.app](https://www.zero.xyz/host/pennyrail.vercel.app/llms.txt)
