cnp_ro_validate $0.001 per call

Offline validator for a Romanian CNP (Cod Numeric Personal, 13-digit personal numeric code). Checks 13-digit format, validates the sex/century digit (1-9), derives and checks a plausible birth date (YYMMDD) and county code (01-46,51,52), then verifies the checksum using key 2-7-9-1-4-6-3-5-8-2-7-9 applied to the first 12 digits, summed mod 11 (10 maps to 1), compared to the 13th digit.

For AI agents: call cnp_ro_validate
POST https://toll402.dev/v1/t/cnp_ro_validate
{
 "cnp": "1900122221232"
}
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": {
  "cnp": {
   "type": "string",
   "description": "13-digit Romanian CNP, digits only or with spaces"
  }
 },
 "required": [
  "cnp"
 ]
}

MCP

{"mcpServers":{"toll402":{"command":"npx","args":["-y","toll402-mcp"],"env":{"TOLL402_WALLET_KEY":"0x..."}}}}

All tools · OpenAPI