nik_id_validate $0.001 per call
Offline structural validator for Indonesia's NIK (Nomor Induk Kependudukan, 16-digit national ID). Verifies digits-only length-16 format, plausible province code (01-94), city/regency code (01-99) and district code (01-99), and a valid birthdate encoded as DDMMYY (day 01-31 for males, day+40 i.e. 41-71 for females). Performs no checksum or registry check.
For AI agents: call nik_id_validate
POST https://toll402.dev/v1/t/nik_id_validate
{
"nik": "3273010101990001"
}Answers 402 with x402 payment requirements; pay with any x402 client (@x402/fetch, x402 for Python, toll402-client, toll402-mcp) or send a prepaid-credits key as x-toll402-key (https://toll402.dev/credits). Paid per call via x402 (USDC on Base) or with a prepaid-credits key (x-toll402-key, card at /credits); charged only on success. Start at /llms.txt or connect the MCP server:
npx -y toll402-mcp · remote https://toll402.dev/mcp.Input schema
{
"type": "object",
"properties": {
"nik": {
"type": "string",
"description": "NIK value, digits with optional spaces/dots/dashes"
}
},
"required": [
"nik"
],
"additionalProperties": false
}
MCP
{"mcpServers":{"toll402":{"command":"npx","args":["-y","toll402-mcp"],"env":{"TOLL402_WALLET_KEY":"0x..."}}}}