NewAPIVerve Academy: free courses and certifications anyone can verify.Explore the Academy →

Phone Number Validator API

GET

Validate phone numbers, see line type and carrier, and flag disposable lines.

Phone Number Validator checks a phone number and returns whether it is valid, its line type, country, area and time zone, and the carrier its mobile range was allocated to. It flags disposable and VoIP numbers and outputs E.164, international, national and RFC3966 formats.

Try it — live request, no key required

Request
GETapi.apiverve.com/v1/phonenumbervalidator?number=816-555-1017
Query parameters
Verification
Format

No key required to try it. Get a key to use it in your app.

Example
{
  "status": "ok",
  "error": null,
  "data": {
    "country": "US",
    "detectedCountry": "US",
    "countryName": "United States",
    "countrycode": 1,
    "numberNational": 8165551017,
    "extension": null,
    "isValid": true,
    "isMobile": true,
    "isVoip": false,
    "isDisposable": false,
    "type": "fixed_line_or_mobile",
    "isValidNumber": true,
    "nationalSignificantNumber": "8165551017",
    "location": "Missouri",
    "carrier": null,
    "timezones": [
      "America/Chicago"
    ],
    "formatted": {
      "international": "+1 816-555-1017",
      "national": "(816) 555-1017",
      "rfc": "tel:+1-816-555-1017",
      "e164": "+18165551017"
    },
    "riskScore": 0,
    "riskLevel": "low"
  }
}

Start from a template — a working app you can deploy in a minute

About the Phone Number Validator API

A phone validation API that answers in JSON from one REST call. Send a number in +E.164 form on its own, or a national number with its two-letter country code. Validation runs on Google's libphonenumber numbering-plan data, so each number is checked against the real number ranges of its country rather than a generic pattern. Location, carrier and time zones come from libphonenumber's offline geocoding and carrier maps. The carrier is the operator the number range was first allocated to, so a ported number still shows its original network, and US and Canadian numbers carry no carrier data. The disposable flag checks the number against numbers published on temporary SMS-receiving sites.

What people use it for

Account Signup Verification
When users register, check validity and flag disposable or VoIP lines before sending one-time verification SMS codes.
CRM Lead Scrubbing
Sales platforms inspect incoming prospect numbers and standardize them into E.164 format to keep contact records clean and dialable.
Outbound SMS Routing
To prevent wasted spend on unroutable text messages, delivery systems verify that recipient numbers are mobile lines rather than landlines.
Checkout Risk Screening
Payment gateways identify virtual and disposable phone numbers during checkout to detect suspicious buyer profiles before processing charges.
Contact Time Windows
Contact centers read the returned time zone and area so calls and texts go out during the recipient's local business hours.

Ways to call it

One endpoint, many ways in — REST with JSON, XML, YAML and CSV, plus GraphQL and an MCP interface for AI agents.

JSON
Default REST response
XML
Markup format
YAML
Human-readable
CSV
Tabular export
Beta
GraphQL
Query language
New
MCP
For AI agents

How it compares

Side by side with the tools people weigh Phone Number Validator against — what each one is better at, in plain terms.

Other ways to use Phone Number Validator

Same data, same APIVerve account, same credit balance — one key works on all of them.

Questions.

Common questions about the Phone Number Validator API.

Read the docs →
How far does the Starter plan go for phone number checks?
Starter provides 200,000 monthly credits, which covers 20,000 phone number checks at 10 credits per call. That works out to about $0.0015 per check, or $1.50 per 1,000 calls. The Free plan includes 20 checks each month for testing.
Are the risk score and risk level included on the Free plan?
No. The composite 0-100 risk score and its corresponding risk level band are premium fields that require any paid plan, starting with Starter. The Free plan still provides line validation, line type identification, and flags for VoIP and disposable numbers.
Can it tell whether a phone number is a mobile line or VoIP?
Yes. Each lookup categorizes the line type into categories such as mobile, fixed line, toll-free, and VoIP. It also provides dedicated flags indicating if the number is mobile, VoIP, or a known disposable virtual line.
Does it format numbers for SMS delivery and international dialing?
Yes. Every valid response provides standardized formats including E.164, RFC3966, national, and international formats. It also separates the country calling code and the national significant number into distinct fields.
Does the phone lookup return the carrier and location?
Yes, where the numbering data has them. Location is the city or region a fixed-line or other geographic number range is assigned to, such as London or Sydney. Carrier is the network a mobile range was first allocated to, such as Airtel or Optus, so a number that has been ported still shows its original carrier. US and Canadian numbers return no carrier, and both fields are null when no data exists for the range.
Do I need to send a country code with every number?
Only for national numbers like (415) 858-6273. A number in international format starting with + carries its own country, so you can send it alone; in a query string, encode the plus sign as %2B. If you send a country that doesn't match the number, isValid checks it against the country you sent, while isValidNumber tells you whether it is valid in its own country.
What happens if a phone number contains an extension?
The API extracts the phone extension into a dedicated extension field when present, and returns null when no extension is found. The core national number is parsed cleanly without the extension.
Is this a phone verification API, and can I verify a list of numbers?
It verifies the number itself: whether it is valid, its country, its line type, and whether it is mobile, VoIP or disposable. It does not send an SMS or one-time code to confirm who owns the number. Each call checks one phone number, so to validate a list you call it once per number from a script or from the spreadsheet add-in.

Ready to build with Phone Number Validator? Start with 200 free credits — one key unlocks all 300+ APIs.

Explore the catalog

300+ APIs on the same key and the same response shape.

Browse all APIs