{"uid":"cap_xr1VgYfWmpK2AkWEN3wmd","slug":"farsi-tools-iran-province-lookup-64c3209b","name":"farsi-tools Iran Province Lookup","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/iran-province?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","properties":{"name":{"type":"string","description":"province name in Persian"},"text":{"type":"string","description":"alias for name"},"value":{"type":"string","description":"alias for name"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"found":true,"cities":["اهواز"],"capital":"اهواز","province":"خوزستان"}},"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_afRNbYsxtXjb3Spos11RJ","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":"Returns the capital city and list of cities for a given Iranian province, looked up by Persian province name.","exampleAgentPrompt":"Can you look up the capital city and all cities in خوزستان (Khuzestan) province for me?","exampleUseCases":[{"title":"Province capital lookup for shipping","prompt":"I need to know the capital city of فارس (Fars) province in Iran for a shipping address — can you look that up?"},{"title":"List cities in Iranian province","prompt":"What cities are located in مازندران province? Give me the full list including the capital."},{"title":"Validate user-entered province name","prompt":"A user submitted گیلان as their province — can you confirm that's a valid Iranian province and tell me its capital and cities?"}],"resultDescription":"A JSON object indicating whether the province was found, the province name in Persian, its capital city, and an array of all cities within that province.","failureModes":["Province name not recognized (found: false returned)","Query in non-Persian script may not match — input must be in Persian (Farsi) characters","Misspelled or variant Persian spellings may fail to match","Payment failure via x402 if USDC balance insufficient"],"whenToPreferThis":"Use this endpoint when you need structured geographic data about Iranian provinces — specifically the capital and city list — and your input is a Persian-language province name. Prefer this over general-purpose geocoding APIs when working with Persian text and Iranian administrative geography, especially if you need city enumeration rather than just coordinates.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:39:48.601Z","isFirstParty":false,"canonicalSlug":"farsi-tools-iran-province-lookup-64c3209b"}