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

phone_e164_normalize $0.001 per call

Offline normalizer/validator for phone numbers to E.164 format. Detects country from a leading '+' calling code or an optional defaultCountry (ISO2) hint, and checks the national number length against a basic rules table for LatAm, US/CA, EU (ES,PT,FR,DE,IT,GB). No network calls; approximate validation only (length-based, not full carrier rules).

For AI agents: call phone_e164_normalize
POST https://toll402.dev/v1/t/phone_e164_normalize
{
 "phone": "+5511987654321"
}
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": {
  "phone": {
   "type": "string",
   "description": "Phone number, digits with optional +, spaces, dashes, parentheses"
  },
  "defaultCountry": {
   "type": "string",
   "description": "ISO2 country code to assume if phone has no country code, e.g. US, BR, MX"
  }
 },
 "required": [
  "phone"
 ],
 "additionalProperties": false
}

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