{"uid":"cap_n-My25Cdxfui29zvc4mPy","slug":"farsi-tools-iranian-postal-code-validator-d0ccfc99","name":"farsi-tools Iranian Postal Code 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-postal-code?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":"10-digit postal code"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"valid":true,"region":"تهران"}},"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_mfb8U_tfSenxEyNHfQPWf","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 a 10-digit Iranian postal code and returns whether it is valid along with its associated region/province","exampleAgentPrompt":"Can you check if the Iranian postal code 1234567891 is valid and tell me what region it belongs to?","exampleUseCases":[{"title":"E-commerce address form validation","prompt":"A customer entered 1456395859 as their postal code on our Iranian checkout form — can you verify if it's a valid Iranian postal code and what region it's in?"},{"title":"CRM data quality check","prompt":"I have a contact record with Iranian postal code 9876543210 — can you validate it and tell me which province it's associated with?"},{"title":"Onboarding KYC address verification","prompt":"During user registration, someone provided 3715136544 as their Iranian postal code — please confirm if it's valid and what region it maps to."}],"resultDescription":"A JSON object with a boolean 'valid' field indicating whether the postal code is a legitimate 10-digit Iranian postal code, and a 'region' field containing the associated Iranian province or region name in Persian (e.g. تهران) if valid.","failureModes":["Missing or malformed 'value' query parameter returns an error","Postal code that is not exactly 10 digits is flagged as invalid","Non-numeric characters in postal code cause validation failure","Valid-format but non-existent postal code area returns valid: false","Payment failure (402) if USDC balance is insufficient on Base network"],"whenToPreferThis":"Use this endpoint when you need to validate Iranian (Persian) postal codes specifically, including resolving the associated geographic region. It is purpose-built for Iranian address data workflows, supports pay-per-call with no API key or signup required, and returns results in Persian script alongside a boolean validity flag — making it ideal for agent pipelines handling Iranian user data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:39:41.568Z","isFirstParty":false,"canonicalSlug":"farsi-tools-iranian-postal-code-validator-d0ccfc99"}