Toll402 · Business directory · Tools · llms.txt · MCP

cif_es_validate $0.001 per call

Offline validator for a Spanish CIF (Código de Identificación Fiscal, tax ID for legal entities). Parses the entity-type letter, 7 digits and control character, applies AEAT's weighted alternating-sum algorithm (doubling digits at odd positions and summing their digits, summing digits at even positions directly, mod 10) to compute the expected control digit/letter, and checks it against the actual control character given the entity-type letter's required control kind (digit, letter, or either).

For AI agents: call cif_es_validate
POST https://toll402.dev/v1/t/cif_es_validate
{
 "cif": "A58818501"
}
Answers 402 with x402 payment requirements; pay with any x402 client (@x402/fetch, x402 for Python, toll402-client, toll402-mcp). Free trial without a wallet; paid calls via x402 (USDC on Base). Start at /llms.txt or connect the MCP server: npx -y toll402-mcp · remote https://toll402.dev/mcp.

Input schema

{
 "type": "object",
 "properties": {
  "cif": {
   "type": "string",
   "description": "Spanish CIF, e.g. A58818501"
  }
 },
 "required": [
  "cif"
 ]
}

MCP

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

All tools · OpenAPI

Toll402 is a pay-per-call tool gateway for AI agents (x402, USDC on Base, no API keys). Data aggregates dated public evidence; "unverified" means unknown, not fake. Referral bounty · Get listed