# IranTools Iranian Landline Phone Number Validator

> IranTools Iranian Landline Phone Number Validator 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).

Validates whether a given string is a valid Iranian landline telephone number

## Facts

- Endpoint: POST https://irantools.johnaio281.workers.dev/api/iran/iran_landline?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-iranian-landline-phone-number-validator-fb760dfa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OUNQ5nQ184EMrsG5cvnqF

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-iranian-landline-phone-number-validator-fb760dfa -d '<json body>'
```

Example prompt: Can you check if '02112345678' is a valid Iranian landline phone number?

## When to prefer this

Use this endpoint when you need to validate Iranian landline (fixed-line) phone numbers specifically, as opposed to mobile numbers. It is ideal for form validation, CRM data quality checks, fraud detection pipelines, or any workflow that ingests user-supplied Iranian phone numbers and needs to confirm they follow valid Iranian landline formatting and area code conventions. Prefer this over generic regex checks because it understands Iranian-specific area codes and regional number structures.

## Known failure modes

- Missing 'value' field in request body returns validation error
- Non-string input may cause parsing error
- Empty string returns invalid result
- Network timeout on Cloudflare Workers edge
- Payment failure via x402 if USDC balance insufficient

## 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 a JSON object indicating whether the provided string is a valid Iranian landline phone number, potentially including parsed components such as area code, validity status, and possibly the province or city associated with the number.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/irantools-iranian-landline-phone-number-validator-fb760dfa/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)
