# Validate Phone Number
Validates any given phone number and returns its carrier and location information
Request Method: GET
Request URL: https://api.numlookupapi.com/v1/validate/[[ phone_number ]]
# Request Parameters
Parameter | Type | Mandatory | Description |
---|---|---|---|
apikey | string | ️ | Your API Key |
phone_number | string, Path Parameter | ️ | The phone number you want to query (Either: including the country prefix, or without and you specify the country_code ) |
country_code | string | An ISO Alpha 2 Country Code for the phone number (e.g. US) |
# Sample Response
{
"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"
}
Possible line_type values
landline
mobile
satellite
paging
special_services
premium_rate
toll_free
N/A