# IranTools Iranian Bank Card Validator

> IranTools Iranian Bank Card Validator is a paid API for AI agents from irantools.johnaio281.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-22).

Validates an Iranian bank card number using the Luhn algorithm and Iranian banking standards, returning validity status and card metadata

## Facts

- Endpoint: POST https://irantools.johnaio281.workers.dev/api/iran/iran_bank_card?utm_source=zero.xyz
- Price: $0.005/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-bank-card-validator-8360fbea
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VEZ7p5HG4yoi_KcjzOHAr

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-bank-card-validator-8360fbea -d '<json body>'
```

Example prompt: Can you check if this Iranian bank card number is valid: 6037997599999999?

## When to prefer this

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.

## Known failure modes

- 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

## 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

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.

## 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-bank-card-validator-8360fbea/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)
