{"uid":"cap_lPSSX9wKfp03hpTDXlEuH","slug":"code402-kra-pin-check-21823e38","name":"code402 KRA PIN 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/kra-pin-check/call?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"object","required":["pin"],"properties":{"pin":{"type":"string","description":"11-character KRA PIN (e.g. P051112223Z)."}}}}},"responseSchema":{"type":"json","schema":{"type":"object","required":["valid","reason"],"properties":{"tool":{"type":"string"},"scope":{"type":"string"},"valid":{"type":"boolean"},"reason":{"type":"string"},"country":{"type":"string"},"normalized":{"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_joRNkvcbUkrRygzRx_woH","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 Kenya Revenue Authority (KRA) Personal Identification Number using offline deterministic format/checksum rules, returning validity, reason, and normalized form.","exampleAgentPrompt":"Can you check whether this KRA PIN is valid: A001234567Z? I need to know if the format and checksum pass before I onboard this Kenyan supplier.","exampleUseCases":[{"title":"Kenyan supplier onboarding check","prompt":"I'm about to onboard a new supplier in Kenya and they gave me KRA PIN P051234567A — can you run an offline validation to confirm it's a legitimate, correctly formatted PIN before I add them to our system?"},{"title":"Rental tenant due diligence","prompt":"A prospective tenant in Nairobi handed me KRA PIN A003456789B as part of their application. Can you verify that PIN passes the KRA checksum and format rules?"},{"title":"Bulk invoice compliance review","prompt":"I have an invoice from a Kenyan vendor showing KRA PIN G012345678C — please validate whether that PIN is structurally correct and properly checksummed so I can flag it for compliance review."}],"resultDescription":"A JSON object with: `valid` (boolean indicating whether the KRA PIN passes all format and checksum rules), `reason` (human-readable explanation such as 'checksum valid' or a specific failure reason), `scope` (indicating whether checksum verification or format-only was applied), `normalized` (the canonical form of the PIN), `country` (always KE for Kenya), and `tool` (endpoint identifier).","failureModes":["Malformed or empty PIN input returns valid:false with a descriptive reason","PIN with correct format but invalid checksum returns valid:false with checksum failure reason","Payment not included or insufficient USDC results in HTTP 402 payment required","Network errors or service unavailability return HTTP 5xx","Passing a non-KRA identifier (e.g. an IBAN) to this endpoint will return valid:false with an unexpected format reason"],"whenToPreferThis":"Choose this endpoint when you need fast, offline, deterministic validation of Kenyan KRA PINs without relying on scraping, ML, or live government database lookups. It is ideal for compliance pipelines, supplier onboarding, and rental due diligence workflows where you need a cryptographically receipted, auditable validation result at $0.005/call with the first 3 calls/day free. Prefer it over web-scraping approaches when privacy, latency, and cost are concerns.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T18:34:33.343Z","isFirstParty":false,"canonicalSlug":"code402-kra-pin-check-21823e38"}