Number Verification API, powered by Numverify, offers a full-featured yet simple RESTful JSON API for national and international phone number validation and information lookup across 232 countries around the world.
Requested numbers are processed in real time, cross-checked against international numbering plan databases, and returned in handy JSON format enriched with useful carrier, geographical location, and line type data.
Integrating the Number Verification API into your application enables you to verify phone numbers at the point of entry, helping protect against fraud and improve lead quality.
Features
International Numbers: Validate international phone numbers across 232 countries using their unique international dialing codes.
National Numbers: Validate national (local) phone numbers by providing the appropriate two-letter country code alongside the phone number.
Location Data: Retrieve valuable geographical identifiers, including country and location, with each API request.
Carrier Detection: Retrieve details about the carrier associated with a phone number.
Line Type Detection: Identify phone line types to help reduce undelivered messages and choose the right communication channels.
Example Request
Use your Numverify API access key and the phone number you want to validate. The following example uses the Numverify API endpoint:
curl --request GET \
'https://api.apilayer.net/numverify/validate?access_key=YOUR_ACCESS_KEY&number=14158586273'
Example Response
Numverify returns validation data in a universal and lightweight JSON format. A successful response looks like this:
{
"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"
}
Get started with Numverify: Explore the Numverify API on APILayer.