Phone Number Validator API

GET

Verify phone numbers and flag disposable lines at signup.

Phone Number Validator checks a phone number and country code to determine validity, line type, and country of origin. It flags disposable or VoIP numbers and outputs standardized international, national, RFC3966, and E.164 formats.

Try it — live request, no key required

Request
GETapi.apiverve.com/v1/phonenumbervalidator?number=816-555-1017&country=us
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",
    "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

Phone Number Validator works by validating the phone number format and the country code to ensure that the phone number is valid. It uses predefined rules and algorithms to validate the phone number, then returns the validation result.

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.

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

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.
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.

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