# 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.003/call, status unknown (last checked 2026-09-14).

Converts an amount from one currency to another using real-time foreign exchange rates

## Facts

- Endpoint: POST https://pennyrail.vercel.app/api/p/network/fx.convert--currency-convert
- Price: $0.003/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-ae33536d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4-ox-HgctFG4faA_m660Y

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-ae33536d -d '<json body>'
```

Example prompt: Can you convert 250 US dollars to Japanese yen and tell me how much I'd get at the current exchange rate?

## When to prefer this

Use this endpoint when you need a lightweight, pay-per-call FX conversion without managing API keys for traditional forex providers. Particularly suited for agents embedded in payment or settlement workflows using the x402 micropayment protocol, where per-call billing at $0.003 USDC aligns with transactional usage patterns.

## Known failure modes

- Unsupported or invalid currency code returns an error
- Missing required input fields causes validation failure
- Exchange rate data unavailable for exotic currency pairs
- Network timeout from upstream FX rate provider
- Malformed input object structure causes rejection

## How this service works

Machine-readable settlement service

## Output

Returns the converted currency amount and likely the applied exchange rate for the given source-to-target currency pair.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "additionalProperties": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pennyrail-fx-currency-converter-ae33536d/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)
