Validate a number
Validates a single phone number and returns line type, carrier, portability, and reachability details.
Authorizations
Wavix API key. Pass as Authorization: Bearer <api_key>. Keys support per-resource scopes (none / read / write). See Restricted keys and scopes.
Query Parameters
The phone number to validate, in E.164 format with or without the leading +.
"971569483322"
Depth of validation to perform. Accepts a PhoneNumberValidationType value.
Depth of validation to perform on the phone number. One of format (checks number syntax only), analysis (returns number metadata such as type and country), or validation (performs a live network lookup of the number's current status).
format, analysis, validation Response
Returns the phone number validation details.
Phone number.
"971569483322"
Indicates whether the phone number is valid.
true
ISO 3166-1 alpha-2 country code of the phone number.
null if the number is invalid.
"AE"
Phone number in international E.164 format.
"+971569483322"
Phone number in the national format of the identified country.
"056 948 3322"
Charge for the validation.
"0.015"
Error code for the request. 000 indicates success.
Possible values:
013: — Internal service error021: — Invalid phone number length or format041: — Request timeout042: — Request failed091: — Insufficient funds
"000"
Indicates whether the phone number was ported or not. null if the phone number is invalid.
false
Mobile Country Code of the phone number carrier. For mobile phone numbers only. null if the phone number is invalid.
"424"
Mobile Network Code of the phone number carrier. For mobile phone numbers only. null if the phone number is invalid
"004"
Number type. Possible values are mobile, landline, or toll-free. null if the phone number is invalid.
"mobile"
Name of the phone number carrier. null if the phone number is invalid.
"Etisalat"
Indicates whether the phone number belongs to a number range associated with traffic pumping. null if the number is invalid.
false
Indicates whether the phone number belongs to an unallocated number range. null if the number is invalid
false
Indicates whether the number is registered in a mobile network. For mobile phone numbers only. null if the number is invalid
true
Indicates whether the number is roaming. For mobile phone numbers only. null if the number is invalid
false
Time zone based on the phone number's country and area code.
null if the number is invalid.
"UTC+04:00"