Skip to content

Validate phone numbers and tell mobile from landline

POST
/api/v1/phone/validate

For each number: status (valid | invalid | not_a_phone | duplicate), E.164, line_type (mobile / fixed_line / voip / toll_free), original carrier, country and region. Line type comes from the number block’s original carrier, so numbers ported later are not detected. 2 credits per unique number checked; repeats and non-phone text are free. Up to 1,000 numbers per call, synchronous.

object
phone

One number.

string
numbers
Array<string>
<= 1000 items
country

ISO-2 default for numbers without a +code.

string
default: US
Example
{
"numbers": ["+1 419-729-0766", "(316) 358-0199"],
"country": "US"
}

One result per number, in input order

object
results
Array<object>
object
input
string
status
string
Allowed values: valid invalid not_a_phone duplicate
e164
string
valid
boolean
line_type
string
carrier
string
country
string
region
string
charged
boolean
total
integer
checked
integer
valid
integer
invalid
integer
not_a_phone
integer
duplicate
integer
line_types

Valid numbers per line type

object
key
additional properties
integer
credits_per_check
integer
credits_charged
integer

Insufficient credits

Too many numbers