# Indian PAN Validator

> Indian PAN Validator is a paid API for AI agents from toll402.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Offline validates an Indian Permanent Account Number (PAN) by normalizing case, checking the 10-character AAAAA9999A format, and verifying the holder-type character against the official enum.

## Facts

- Endpoint: POST https://toll402.dev/v1/t/pan_in_validate
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/indian-pan-validator-4da528ea
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SiDhESG0ZSgaun9Jvgi-4

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 indian-pan-validator-4da528ea -d '<json body>'
```

Example prompt: Can you check if ABCPD1234E is a valid Indian PAN number and tell me what type of entity it belongs to?

## When to prefer this

Use this endpoint when you need a fast, offline, zero-latency check of whether a string conforms to the Indian PAN format and want to extract the holder type — ideal for pre-submission form validation, KYC pipelines, or agent workflows where you need a structural check before hitting a live government API. Not suitable when you need live government database verification of PAN existence or ownership.

## Known failure modes

- PAN string shorter or longer than 10 characters returns invalid format error
- Non-alphabetic characters in the alphabetic positions cause validation failure
- Unknown or invalid 4th-position holder-type character returns enum mismatch error
- Missing required 'pan' field in request body returns schema validation error
- Entirely numeric or empty string input returns invalid format

## How this service works

Offline validator for an Indian PAN (Permanent Account Number): normalizes input to uppercase, checks the 10-character AAAAA9999A pattern, and validates the 4th character against the known holder-type code enum (P=Individual, C=Company, H=HUF, F=Firm, A=AOP, T=Trust, B=BOI, L=Local Authority, J=Artificial Juridical Person, G=Government). Does not verify the undisclosed final check character.

## Output

Returns whether the PAN passes format validation (matches the 10-character AAAAA9999A pattern), the normalized uppercase form, and the decoded holder-type code (e.g. P=Individual, C=Company, H=HUF, F=Firm, A=AOP, T=Trust, B=BOI, L=Local Authority, J=Artificial Juridical Person, G=Government). Does not perform live government database lookup or verify the final check digit.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "pan"
     ],
     "properties": {
      "pan": {
       "type": "string",
       "description": "PAN string, e.g. ABCPD1234E"
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/indian-pan-validator-4da528ea/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from toll402.dev](https://www.zero.xyz/host/toll402.dev/llms.txt)
