# IranTools Rial/Toman Currency Converter

> IranTools Rial/Toman Currency Converter is a paid API for AI agents from irantools.johnaio281.workers.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-22).

Converts Iranian currency amounts between Rial and Toman units

## Facts

- Endpoint: POST https://irantools.johnaio281.workers.dev/api/iran/rial_toman_convert?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/irantools-rial-toman-currency-converter-d02a4506
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1i_SUMtENohK_BU7tgMPt

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 irantools-rial-toman-currency-converter-d02a4506 -d '<json body>'
```

Example prompt: Convert 500,000 Iranian Rial to Toman for me.

## When to prefer this

Use this endpoint when you need a simple, no-signup, pay-per-call conversion between Iranian Rial and Toman units. Prefer this over building the conversion manually when you need it as part of a larger Iranian-locale agent workflow, or when you want a consistent, API-driven unit for currency display in Persian-facing applications.

## Known failure modes

- Missing required 'amount' field returns validation error
- Non-numeric or malformed amount string may return error or unexpected result
- Invalid 'from' currency unit string may default to a unit or return error
- Network timeouts from Cloudflare Workers under load

## How this service works

Persian and Iranian utilities for AI agents, plus general text/Unicode tooling. Jalali (Solar Hijri) calendar conversion, Iranian national ID / SHEBA / bank card / postal code / economic code validation, province and city lookup, official public holidays, Persian text normalization, keyword extraction, sentence splitting, similarity, HTML stripping, RTL fixing, Unicode homoglyph folding, script detection, NFC/NFD normalization, grapheme counting, date description, business-day counting, slugify, FNV-1a hashing, Shannon entropy, format and encoding detection, byte sizes. Pay per call in USDC on Base via x402 - no signup, no API key, no KYC. The same tools are also exposed as MCP tools at /mcp.

## Output

Returns the converted currency amount with the target unit, showing the numeric result of converting between Iranian Rial and Toman (1 Toman = 10 Rial).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "amount"
 ],
 "properties": {
  "from": {
   "type": "string"
  },
  "amount": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/irantools-rial-toman-currency-converter-d02a4506/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from irantools.johnaio281.workers.dev](https://www.zero.xyz/host/irantools.johnaio281.workers.dev/llms.txt)
