Python 3 Email Validation API Example to Check Whether Input Email Address Exists or Not in Terminal
import requests api_key = '####yourapikey####' email = input("Enter the email address") response = requests.get('https://isitarealemail.com/api/email/validate',params={'email':email},headers={'Authorization':"Bearer " + api_key}) status = response.json()['status'] if status == "valid": print("Email is valid") elif status == "invalid": print("Email is invalid")