Live Demo

Categories

Communication

API Provider

APILayer
APILayer

Developer links

Number Verification API

Number Verification API

Global Phone Number Validation & Lookup JSON API.

Number Verification API offers a full-featured yet simple RESTful JSON API for national and international phone number validation and information lookup for a total of 232 countries around the world.

Requested numbers are processed in real-time, cross-checked with the latest 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 will enable you to verify the validity of phone numbers at the point of entry, protecting you from fraud and increasing good leads.

Features

International Numbers: Validate international phone numbers for 232 countries using their unique international dial codes.

National Numbers: Validate national (local) phone numbers by providing an additional 2-digit country code parameter.

Location Data: Retrieve valuable geographical identifiers, including country and location, with each API request.

Carrier Detection: Legitimize customers by retrieving details about the carrier their phone number is registered with.

Line Type Detection: Reduce undelivered messages and ensure right ways of communication by knowing the line type.

Example Request

There is only one required parameter (number) to start validating phone numbers.


curl --request GET 'https://api.apilayer.com/number_verification/validate?number=14158586273' \
--header 'apikey: YOUR API KEY'

Example Response

Validation data is returned in universal and lightweight JSON format. Find below a standard API result set:


{
    "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"
}

Simple Transparent Pricing

No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.

Free Plan

No credit cards required
20 Requests / Daily, 100 Requests / Monthly

Starter Plan

Monthly subscription
200 Requests / Daily, 5,000 Requests / Monthly

Pro Plan

Monthly subscription
2,000 Requests / Daily, 50,000 Requests / Monthly

Enterprise Plan

Monthly subscription
8,500 Requests / Daily, 250,000 Requests / Monthly

Custom Plan

Monthly subscription
Fully customizable
Number Validation in Real-time
Carrier & Line Type Detection
Country & Location Detection
 

Ready to try it out?

We offer a free plan. No credit cards required!


or see documentation

See Also

View All

Are you an API developer?

Market your API on APILayer and start making money now!