{"uid":"cap_WJFFdF-0oDIhxOm3rrmDF","slug":"code402-pan-format-check-b4bf79c5","name":"code402 PAN Format Check","description":"Offline deterministic checks (no ML, no scraping) for business identifiers and rental due-diligence, paid per call via x402 (gasless EIP-3009 USDC on Base). Checksum-verifiable (IBAN, LEI, VAT, ABA, ISBN, SEDOL…) vs format-only (EIN, IFSC, SWIFT/BIC…) — every response returns a scope field. Non-custodial, signed receipts. First 3 calls/day free.","url":"https://hcrb.in/v1/tools/pan-format-check/call?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"object","required":["pan"],"properties":{"pan":{"type":"string","description":"10-character PAN string (e.g. 'AAACP1234M')"}}}}},"responseSchema":{"type":"json","schema":{"type":"object","required":["tool","valid"],"properties":{"tool":{"type":"string"},"scope":{"type":"string"},"valid":{"type":"boolean"},"reason":{"type":"string"},"country":{"type":"string"},"normalized":{"type":"string"},"entity_code":{"type":"string"},"entity_type":{"type":"string"}}},"example":{"valid":true,"reason":"checksum valid"}},"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_tZOgGZnE5RD1jLHOa5Jok","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 Indian Permanent Account Number (PAN) offline using deterministic format rules, returning validity, reason, and entity type without ML or external lookups.","exampleAgentPrompt":"Can you check whether the PAN 'ABCDE1234F' is a valid Indian Permanent Account Number and tell me what type of entity it belongs to?","exampleUseCases":[{"title":"KYC pre-flight PAN check","prompt":"Before we submit this customer's KYC form, can you validate whether the PAN 'AAAPA1234C' is correctly formatted and tell me the entity type it encodes?"},{"title":"Batch onboarding vendor PAN validation","prompt":"We received a vendor PAN of 'BBBPB5678G' — can you run a quick offline format check to confirm it's valid and what kind of entity it represents before we add them to our payment system?"},{"title":"Tax form pre-submission check","prompt":"I'm about to file a tax form and I want to make sure the PAN 'CCCPC9012H' I've entered is correctly structured — can you validate its format and tell me whether it's an individual or company PAN?"}],"resultDescription":"Returns a JSON object with: 'valid' (boolean indicating format correctness), 'scope' (whether check is checksum or format-only), 'reason' (human-readable explanation of result), 'entity_type' (individual, company, etc. as encoded in PAN), 'entity_code' (the encoded character), 'normalized' (cleaned PAN string), and 'tool' (identifier of the check performed). Response is deterministic and offline — no external database lookup is performed.","failureModes":["Invalid or malformed PAN input returns valid:false with a reason string","Missing required PAN field in request body returns an error","Payment not attached or insufficient USDC balance causes 402 Payment Required response","Non-PAN identifiers passed to this endpoint return format mismatch errors","Rate limiting beyond free tier without payment fails with 402"],"whenToPreferThis":"Choose this endpoint when you need a fast, cheap, privacy-preserving offline check of Indian PAN numbers without sending data to a third-party registry or KYC service. Ideal for pre-flight validation before expensive KYC pipelines, bulk onboarding deduplication, or any workflow where deterministic format correctness (not live registry lookup) is sufficient. At $0.005 USDC per call with 3 free calls/day, it is cost-effective for low-to-medium volume checks. Prefer over ML-based or scraping-based validators when auditability and determinism matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:39:34.553Z","isFirstParty":false,"canonicalSlug":"code402-pan-format-check-b4bf79c5"}