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.
Get started
This API is part of the Phone number and Email verification package and is available in free and paid plans. Please visit the Phone number and Email verification package page for limits and pricing information.
Endpoint
Request
Responses
Example query
https://api.bigdatacloud.net/data/phone-number-validate-by-ip?number=884633490&ip=193.114.112.1&localityLanguage=en&key=[YOUR API KEY]
Example response
- 1{
- 2"isValid": true,
- 3"e164Format": "+61884633490",
- 4"internationalFormat": "+61 8 8463 3490",
- 5"nationalFormat": "(08) 8463 3490",
- 6"location": "Adelaide",
- 7"lineType": "FIXED_LINE",
- 8"country": {...}
- 51}
Schema
Indicates whether the number is valid
The number formatted in E164 standard format
The number formatted in International dial format
The number formatted in local dial format
Estimated location localised to the language as defined by 'localityLanguage' request parameter
Line type detected. Possible values are: 'FIXED_LINE', 'MOBILE', 'FIXED_LINE_OR_MOBILE', 'TOLL_FREE', 'PREMIUM_RATE', 'SHARED_COST', 'VOIP', 'PERSONAL_NUMBER', 'PAGER', 'UAN', 'VOICEMAIL', 'UNKNOWN'
country object