Your first 100,000 email verifications or 10,000 work emails found are on us.100K verifications or 10K finds, free.Sign up today

HomeIntegrationsPython

Find and verify emails from Python

Yes. Install requests, put your API key in an environment variable, and send a GET request to the verify or find address with the key in an X-API-Key header. The script below does both, waits between calls and retries on rate limits. Email Finder Verifier is one product, built by Cold Outreach, and it's free while in beta.

Free while in beta. No card needed.

Key takeaways

  • Two plain GET calls, /verify and /find, are all you need from Python.
  • The script keeps your key in an environment variable and retries on rate limits.
  • It's free while in beta, with no card needed.

Updated 2 Dec 2026

01Setup

How to set up Python for the API

Install requests, then store your API key in an environment variable named EFV_API_KEY. Create a key under API keys in the dashboard. See create and manage API keys.

pip install requests
export EFV_API_KEY=your_key_here

Keep the key out of your code. Call the API from your server or a script, not from a browser.

02Code

How to verify and find an email in Python

Send a GET request to /verify with the email, or to /find with a first name, last name and company domain. Save this as verify.py.

import os
import time
import requests

BASE = "https://api.emailfinderverifier.com/api/v1"
KEY = os.environ["EFV_API_KEY"]
RETRY = {429, 500, 503}  # 429 means slow down, 500 and 503 are on our side
_last = 0.0


class ApiError(Exception):
    def __init__(self, status, code):
        super().__init__(str(status) + " " + code)
        self.status = status
        self.code = code


def call(path, params, tries=5):
    global _last
    for i in range(tries):
        wait = 1.0 - (time.monotonic() - _last)  # new accounts: 1 request per second
        if wait > 0:
            time.sleep(wait)
        _last = time.monotonic()
        try:
            r = requests.get(BASE + path, params=params,
                             headers={"X-API-Key": KEY}, timeout=120)
        except requests.RequestException:
            if i == tries - 1:
                raise
            time.sleep(2 ** i)
            continue
        if r.status_code == 200:
            return r.json()
        if r.status_code in RETRY and i < tries - 1:
            time.sleep(2 ** i)  # back off, then try again
            continue
        try:
            code = r.json()["detail"]["code"]
        except (ValueError, KeyError, TypeError):
            code = ""
        raise ApiError(r.status_code, code)


def verify(email):
    return call("/verify", {"email": email})  # {"verified": True, "esp": "Outlook"}


def find(first_name, last_name, domain):
    return call("/find", {"first_name": first_name, "last_name": last_name,
                          "domain": domain})  # {"email": "...", "esp": "Google"}


if __name__ == "__main__":
    emails = ["jane@acme.com", "sam@example.com"]
    print([e for e in emails if verify(e)["verified"]])

    found = find("Jane", "Doe", "acme.com")
    if found["email"]:
        print(found["email"], verify(found["email"])["verified"])  # a found email still needs verifying
    else:
        print("No email found")

Run it with python verify.py. The first list comprehension keeps only the addresses that come back verified.

03Response

What does the response look like?

Both calls return JSON with the fields below. The field names match the API reference.

Call Field Type What it means
/verify verified boolean true only when the mailbox is confirmed
/verify esp string The mail provider the domain uses, like Google or Outlook
/find email string or null The work email found, or null when none was found
/find esp string The mail provider the domain uses

A found email hasn't been checked until you run it through /verify. A verified of false means we couldn't confirm the mailbox, and a real address can still come back false. See what verification results mean.

04Errors

How should Python handle errors and rate limits?

Retry 429, 500 and 503 with a growing pause, and fix the request on anything else. The script above does this for you and raises an ApiError with the status and code.

Status Code What the script does
400 INVALID_EMAIL, MISSING_DOMAIN, MISSING_FIRST_NAME, MISSING_LAST_NAME, INVALID_REQUEST Raises. Fix the input.
401 INVALID_API_KEY Raises. Check the key.
402 Raises. Your free allowance is used up, so ask us on Slack to extend it.
403 ACCOUNT_NOT_FOUND, ACCOUNT_NOT_ACTIVE Raises. Sign in to the dashboard to see why.
429 RATE_LIMIT_EXCEEDED, CONCURRENT_LIMIT_EXCEEDED Waits and retries.
500, 503 Waits and retries.

New accounts can send 1 request per second and run 5 at once. The script sends one request at a time, so it stays inside both. Use a timeout of at least 60 seconds, since some checks take several seconds. See limits and common errors.

Get your API key and run the script. Free while in beta.

Sign up for free

05Other routes

When another route fits better

Python is best when the check lives in your own code. Other routes can be simpler:

06FAQ

Python integration FAQ

01How do I verify an email in Python?

Send a GET request to https://api.emailfinderverifier.com/api/v1/verify with an email parameter and your key in the X-API-Key header. The JSON answer has a verified field that's true or false.

02Which Python library do I need?

requests. Install it with pip install requests. The script uses nothing else outside Python's standard library.

03How do I find an email from a name in Python?

Call /find with first_name, last_name and domain. You get an email, or null when none was found. Run any found email through /verify before you use it.

04What happens if I go over the rate limit?

The API returns 429. The script waits, then tries again. New accounts can send 1 request per second and run 5 at once.

05Where should I keep my API key?

In an environment variable, like EFV_API_KEY, never in your code. If a key leaks, revoke it in the dashboard and create a new one.

06What does it cost?

Email Finder Verifier is free while in beta. There are no paid plans.

08Start today

Get your API key in a minute

Sign up with email or Google. No card. Your key and a ready-made first request are waiting. Need more later? Message us on Slack.