Number validator
Validate a number
Validates a single phone number and returns line type, carrier, portability, and reachability details.
get/v1/validation
Query parameters
phone_numberstring required
Example:971569483322
The phone number to validate, in E.164 format with or without the leading +.
type'format' | 'analysis' | 'validation' required
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).
Depth of validation to perform. Accepts a PhoneNumberValidationType value.
Response
Returns the phone number validation details.
Example response
{
"phone_number": "971569483322",
"valid": true,
"country_code": "AE",
"e164_format": "+971569483322",
"national_format": "056 948 3322",
"ported": false,
"mcc": "424",
"mnc": "02",
"number_type": "mobile",
"carrier_name": "Etisalat",
"risky_destination": false,
"unallocated_range": false,
"reachable": true,
"roaming": false,
"timezone": "UTC+04:00",
"charge": "0.015",
"error_code": "000"
}