{"uid":"cap_VEZ7p5HG4yoi_KcjzOHAr","slug":"irantools-iranian-bank-card-validator-8360fbea","name":"IranTools Iranian Bank Card Validator","description":"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.","url":"https://irantools.johnaio281.workers.dev/api/iran/iran_bank_card?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["value"],"properties":{"value":{"type":"string"}}},"responseSchema":{"type":"object","additionalProperties":true},"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_ZBqGZwYkCArgIyozTtcMq","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 bank card number using the Luhn algorithm and Iranian banking standards, returning validity status and card metadata","exampleAgentPrompt":"Can you check if this Iranian bank card number is valid: 6037997599999999?","exampleUseCases":[{"title":"Validate card before payment flow","prompt":"Before we process this order, check whether the Iranian bank card number 6219861034751234 is valid so we don't fail at the payment gateway."},{"title":"KYC card verification for onboarding","prompt":"A new user submitted their Iranian Melli card number 6037701689095443 during sign-up — can you verify it's a legitimate card number?"},{"title":"Catch typos in card entry form","prompt":"The user just typed their Iranian bank card as 6274129005473742 — validate it so we can flag any digit errors before they submit the form."}],"resultDescription":"A JSON object indicating whether the submitted Iranian bank card number is valid, potentially including information about the issuing bank, card network (e.g. Shetab), and any detected format or checksum errors.","failureModes":["Missing or empty 'value' field returns a 400-level error","Non-numeric or malformed input may return invalid status rather than an error","Card numbers with incorrect length (not 16 digits) will fail validation","Network timeouts on the Cloudflare Worker edge may return 5xx errors","Payment failure (insufficient USDC balance) blocks the call via x402 protocol"],"whenToPreferThis":"Use this endpoint when you need to validate Iranian bank card numbers specifically — it understands Iranian Shetab network card issuer prefixes and local banking standards beyond a generic Luhn check. Prefer this over a generic credit card validator when working with Iranian e-commerce, fintech, or KYC flows where issuing bank identification matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:40:55.903Z","isFirstParty":false,"canonicalSlug":"irantools-iranian-bank-card-validator-8360fbea"}