# PennyRail FX Currency Conversion

> PennyRail FX Currency Conversion 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, returning the converted value

## Facts

- Endpoint: POST https://pennyrail.vercel.app/api/p/network/fx.convert--currency-conversion
- 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-conversion-3098a412
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_f-RoZttJS7408meBCOfuX

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-conversion-3098a412 -d '<json body>'
```

Example prompt: Convert 250 USD to EUR for me using the current exchange rate.

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call currency conversion without managing API keys or subscriptions — especially suitable for AI agents making occasional FX conversions as part of a broader workflow, billed via x402 micropayment protocol at $0.003 USDC per call.

## Known failure modes

- Unsupported or unrecognized currency code returns an error
- Missing or malformed input object causes validation failure
- Rate data unavailable for exotic currency pairs
- Service downtime or Vercel cold-start timeout
- Payment of $0.003 USDC required per call; unpaid requests are rejected with HTTP 402

## How this service works

Machine-readable settlement service

## Output

Returns the converted currency amount based on current FX rates, typically including the resulting value in the target currency and the applicable exchange rate used for the conversion.

## 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-conversion-3098a412/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)
