☎
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.
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 | |
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 | |
mode | Lets you use our Development Environment to test the API without affecting your available requests (Learn more). |
All parameters with (*) are required.
{
"data": {
"carrier": "",
"reason": "Invalid phone number structure.",
"isValid": false
},
"status": "success",
"executionTime": 1
}
Key | Values |
---|---|
data.score | Float |
data.reason | String |
data.isValid | Boolean |
Last modified 3mo ago