Phone Number Validation by IP Address API
Introduction
This API provides a similar validation check as the Phone Number Validation API by using the user’s IP address.
This API can be useful when you want to avoid asking for too many input parameters from a user during form submission.
https://api.bigdatacloud.net/data/phone-number-validate-by-ip
CURL Example
Visit our SDK page to access API clients in specific languages like Javascript, Python + PHP.
Response
Response Format
Field |
Data type |
Description |
---|---|---|
isValid |
boolean |
Indicates if the number is valid |
e164Format |
string |
The number formatted in E164 standard format |
internationalFormat |
string |
The number formatted in International dialing format |
nationalFormat |
string |
The number formatted in local dial format |
location |
string |
Estimated location localised to the language as defined by ‘localityLanguage’ request parameter |
lineType |
string |
Line type detected. Possible values:
|
country |
<Country> object |
Detected Country info |
API Endpoint
Endpoint: | /data/phone-number-validate-by-ip |
---|---|
Full URL: | https://api.bigdatacloud.net/data/phone-number-validate-by-ip |