Open Source phone number validation
NumValidate is a free, open-source REST API for validating and formatting phone numbers, now partnering with numverify.com.
import requests
api_key = 'YOUR_API_KEY'
phone_number = '14158586273'
country_code = 'US'
format_output = 1
params = {
'number': phone_number,
'country_code': country_code,
'format': format_output,
'access_key': api_key
}
response = requests.get('https://api.numvalidate.com/validate', params=params)
print(response.json())Last 50 checks (10 min intervals)