nit_validate $0.001 per call
Offline validator for a Colombian NIT (Número de Identificación Tributaria) using DIAN's modulo-11 check-digit algorithm: applies fixed positional weights (3,7,13,17,19,23,29,37,41,43,47,53,59,67,71,...) right-to-left to the base digits, sums, reduces mod 11, maps 0→0,1→1,else 11−remainder, and compares to the appended DV digit. No network access.
For AI agents: call nit_validate
POST https://toll402.dev/v1/t/nit_validate
{
"nit": "800197268-4"
}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": {
"nit": {
"type": "string",
"description": "NIT as base+DV, e.g. '800197268-4' or '8001972684'"
}
},
"required": [
"nit"
],
"additionalProperties": false
}
MCP
{"mcpServers":{"toll402":{"command":"npx","args":["-y","toll402-mcp"],"env":{"TOLL402_WALLET_KEY":"0x..."}}}}