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.
Endpoints
IPv4 only API Endpoint
Use this endpoint to force API calls routed over the IPv4 network only
Dual-Stack API Endpoint
This endpoint has native IPv6 support and backs the API calls routed over both IPv4 and IPv6 networks
Request
Responses
Example query
https://api-bdc.net/data/phone-number-validate-by-ip?number=884633490&ip=193.114.112.1&localityLanguage=en&key=[YOUR API KEY]
Example response
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