Home / Developer Tools / Global Phone Number Validator API
Global Phone Number Validator API logo

Global Phone Number Validator API

Published by @mdforge · Verified
99.99% uptime ~5ms avg AI Score 94/100

Validate and format phone numbers across 240+ countries to E.164, detect mobile/landline/VoIP types, and clean CRM lists.

Try it live
https://api.indieapis.com/v1/phone-validator/validate
Validate phone number, convert to E.164/international/national format, and detect line type.
Response Press Run to call the live API
{
  "ok": true,
  "data": {
    "input": "+14155552671",
    "valid": true,
    "possible": true,
    "e164": "+14155552671",
    "international": "+1 415 555 2671",
    "national": "(415) 555-2671",
    "country_code": "US",
    "country_name": "United States",
    "calling_code": "+1",
    "type": "FIXED_LINE_OR_MOBILE"
  }
}

            

Overview

Powered by Google's complete libphonenumber metadata (max ruleset) for instant, deterministic validation without SMS/telecom lookup surcharges.

Returns:

  • valid and possible booleans
  • Normalized e164, international, national, and tel: URI formats
  • Country ISO code, English country name, calling code, and exact line type (MOBILE, FIXED_LINE, VOIP, TOLL_FREE, etc.)
  • POST /bulk validates up to 50 numbers per call.

Gateway Headers & Hard Caps

Every response includes X-Quota-Limit, X-Quota-Used, X-Quota-Remaining, and X-Quota-Reset. When your monthly quota is reached, the gateway returns 429 QUOTA_EXCEEDED so you are never billed surprise overages.

2 endpoints

Base URL
https://api.indieapis.com/v1/phone-validator
MCP
https://indieapis.com/mcp/phone-validator
Method Path Parameters Description
GET /validate phone*, country Validate phone number, convert to E.164/international/national format, and detect line type.
POST /bulk phones*, default_country Validate and normalize up to 50 phone numbers in one call.