How to find any one email using api and getemail.io

Eran Goldman-Malka · February 6, 2018

So I got an email from a nice guy in email.io offering me their services.
Finding someone’s email is a nice tool to have. So I wrote a python script to automate it.

  1. Register to (https://getemail.io/register)[getemail.io]
  2. Goto (https://getemail.io/dash/integration/api)[API Documentation] to find your API key
  3. open a getEmail.py file or get it from (Github)[link]
import requests
import sys
import argparse

parser = argparse.ArgumentParser()
parser.add_argument('--domain',
                    required=True,
                    help='The domain of the company')

parser.add_argument('--firstname',
                    required=True,
                    help='The firstname of the person')

parser.add_argument('--lastname',
                    required=True,
                    help='The lastname of the person')

parser.add_argument('--apikey',
                    required=True,
                    help='Your API key')

args = parser.parse_args()
url = "https://api.getemail.io/v1/find-mail"

querystring = {"firstname": args.firstname,
               "lastname": args.lastname,
               "domain": args.domain,
               "api_key": args.apikey
               }

headers = {
    'Cache-Control': "no-cache"
    }

response = requests.request("GET", url, headers=headers, params=querystring)

print(response.text)
  1. execute
python3 getEmail.py --domain google.com --firstname Larry --lastname Page --apikey [Your_API_Key]

and the results:

{"firstname":"larry","lastname":"page","domain":"google.com","email":"lpage@google.com","is_terminated":true,"id":"aa33aa9b-6ff8-4c67-ac34-f38612a0103b","verif_email_status":"good_mail","message":"Email address successfully found and verified. This email is accurate with a probability of approx. 95%","is_success":true}

Twitter, Facebook