{"uid":"cap_xGNbOrPOFvd5AiZTnSLmO","slug":"iranian-landline-number-validator-56bd4d86","name":"Iranian Landline Number Validator","description":"Persian (Farsi) and Iranian utility API for AI agents. Text normalization, transliteration, Jalali (Solar Hijri) calendar conversion, Persian digits and number-to-words, Iranian national ID / Sheba (IBAN) / mobile / landline / postal code / bank card (Luhn PAN) / company ID / economic code validators, Iranian provinces and cities, official Jalali holidays, Rial-Toman conversion. Also a FIXED-PRICE deliverable SKU: Persian/Arabic data cleanup at $0.90, $9 or $25 flat per file (not per call) - upload a CSV, TSV or text file and get it back normalized, with an optional Latin transliteration column. Pay per request in USDC on Base via x402 - no signup, no API key, no KYC.","url":"https://farsi-tools.johnaio281.workers.dev/api/fa/validate-landline?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["value"],"properties":{"value":{"type":"string","description":"landline in any common format"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"city":"تهران","valid":true,"areaCode":"021","normalized":"02112345678"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Z9_nv1SMHtJcKOYxpNDo2","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates an Iranian landline phone number and returns its validity, area code, normalized form, and associated city","exampleAgentPrompt":"Check if 021-12345678 is a valid Iranian landline number and tell me which city it belongs to.","exampleUseCases":[{"title":"User registration form phone validation","prompt":"A new user entered '02112345678' as their phone number on our Iranian e-commerce site — can you confirm it's a valid landline number and which city it's from?"},{"title":"Customer data cleanup for Iranian contacts","prompt":"I have this Iranian phone number '04433221100' in my database — validate it and tell me if it's a real landline and what area code and city it maps to."},{"title":"Fraud detection on Iranian phone submissions","prompt":"Someone submitted the phone number '09121234567' as a landline for an Iranian address — validate it as a landline and tell me if it checks out or looks suspicious."}],"resultDescription":"A JSON object containing: `valid` (boolean indicating if the number is a valid Iranian landline), `normalized` (standardized 11-digit format starting with 0), `areaCode` (e.g. '021' for Tehran), and `city` (the Persian/Farsi city name associated with the area code, e.g. 'تهران').","failureModes":["Missing or empty `value` query parameter returns an error","Non-landline numbers (e.g. mobile numbers starting with 09) may return valid:false","Malformed or non-Iranian numbers return valid:false","Numbers with unsupported area codes may not resolve a city even if structurally valid","Payment failure via x402 results in 402 response before validation occurs"],"whenToPreferThis":"Choose this endpoint when you need to validate Iranian landline phone numbers specifically — it provides richer output than a simple format check by also returning the normalized form, area code, and associated Iranian city. Prefer it over generic phone validators when working with Persian-language or Iran-focused applications where city identification matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:37:00.417Z","isFirstParty":false,"canonicalSlug":"iranian-landline-number-validator-56bd4d86"}