Links
☎

Phone Number Validation

This method can be used as an extra-layer of your system for validating phone numbers.
It validates phone number syntax and valid-possibility.
get
https://gregeoip.com
/validatePhone
Method endpoint.

Method Parameters

Here's a list of all parameters can be used for this method:
Parameter
Description
key *
Your API Key.
phone *
The phone number you want to validate.
countryCode
The ISO 3166-1 alpha-2 format of the country code of the phone number. Learn more​
lang
The language of the API output. (EN, AR, DE, FR, ES, JA, ZH or RU)
format
The format of the API response. (JSON, XML, CSV or Newline)
callback
Tells the API to return the response as a callback function (Check out Callback section).
mode
Lets you use our Development Environment to test the API without affecting your available requests (Learn more).
All parameters with (*) are required.

Sample Response

{
"data": {
"carrier": "",
"reason": "Invalid phone number structure.",
"isValid": false
},
"status": "success",
"executionTime": 1
}