Phone Number Lookup API
Validate and enrich phone numbers with carrier information, number type, and location data. Support for 200+ countries worldwide.
Example response (trimmed)numlookupapi.com
{
"valid": true,
"number": "14158586273",
"local_format": "4158586273",
"international_format": "+14158586273",
"country_prefix": "+1",
"country_code": "US",
"country_name": "United States of America",
"location": "Novato",
"carrier": "AT&T Mobility LLC",
"line_type": "mobile",
"e164_format": "+14158586273",
"national_format": "(415) 858-6273",
"timezones": ["America/Los_Angeles"]
}
Use cases
Use Cases
01
Number Validation
Verify phone numbers during signup and checkout to reduce errors and improve data quality.
02
2FA & Security
Validate mobile numbers before sending OTP codes. Detect VoIP and landline numbers.
03
Lead Enrichment
Enrich contact data with carrier and location information for better targeting.
04
Fraud Detection
Identify suspicious numbers and prevent fraud with carrier and type detection.
05
SMS Routing
Optimize SMS delivery routes based on carrier information and number type.
06
International Support
Format and validate phone numbers from 200+ countries with local rules.
Code
API Examples
cURL
curl "https://api.numlookupapi.com/v1/validate/+14158586273" \
-H "apikey: YOUR_API_KEY"
JavaScript
const response = await fetch(
`https://api.numlookupapi.com/v1/validate/${encodeURIComponent(number)}`,
{ headers: { apikey: 'YOUR_API_KEY' } }
);
const data = await response.json();
console.log(data.valid, data.carrier, data.line_type);
Ready to Get Started?
Start validating phone numbers today.
