# IranTools – Number to Persian Words

> IranTools – Number to Persian Words is a paid API for AI agents from irantools.johnaio281.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-22).

Converts a numeric value into its full Persian (Farsi) word representation

## Facts

- Endpoint: POST https://irantools.johnaio281.workers.dev/api/iran/number_to_words_fa?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/irantools-number-to-persian-words-24813eea
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nizMwz-l4LNG1hY67VqY_

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-number-to-persian-words-24813eea -d '<json body>'
```

Example prompt: Convert the number 1402500 into Persian words so I can display it in a Farsi-language invoice.

## When to prefer this

Use this endpoint when you need to render a numeric value as spelled-out Persian text, such as for Farsi-language invoices, legal documents, cheques, or UI labels. It is the only known x402-pay-per-call API offering this specific Persian number verbalization capability without requiring signup or API keys.

## Known failure modes

- Missing 'number' field returns a validation error
- Non-numeric or malformed string may return an error or unexpected output
- Very large numbers beyond supported range may fail or truncate
- Payment not attached or insufficient USDC will result in 402 Payment Required

## 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

A JSON object containing the Persian (Farsi) word spelling of the input number, e.g. {"result": "یک میلیون و چهارصد و دو هزار و پانصد"}.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/irantools-number-to-persian-words-24813eea/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)
