Verify email addresses for deliverability, catch-all detection, and inbox status. Clean your email lists before sending to reduce bounces and protect your sender reputation.
Powered by Enrow -- works on catch-all domains, only charged for verified results.
pip install email-verifierRequires Python 3.8+. Only dependency: httpx.
from enrow_email_verifier import verify_email, get_verification_result
verification = verify_email(
api_key="your_api_key",
email="tcook@apple.com",
)
result = get_verification_result("your_api_key", verification["id"])
print(result["email"]) # tcook@apple.com
print(result["qualification"]) # validverify_email returns a verification ID. The verification runs asynchronously -- call get_verification_result to retrieve the result once it's ready. You can also pass a webhook URL to get notified automatically.
from enrow_email_verifier import verify_emails, get_verification_results
batch = verify_emails(
api_key="your_api_key",
emails=[
"tcook@apple.com",
"satya@microsoft.com",
"jensen@nvidia.com",
],
)
# batch["batchId"], batch["total"], batch["status"]
results = get_verification_results("your_api_key", batch["batchId"])
# results["results"] -- list of verification result dictsUp to 5,000 verifications per batch. Pass a webhook URL to get notified when the batch completes.
try:
verify_email(api_key="bad_key", email="test@test.com")
except Exception as e:
# str(e) contains the API error description
# Common errors:
# - "Invalid or missing API key" (401)
# - "Your credit balance is insufficient." (402)
# - "Rate limit exceeded" (429)
print(e)Register at app.enrow.io to get your API key. You get 50 free credits (= 200 verifications) with no credit card required.
Each verification costs 0.25 credits. Paid plans start at $17/mo up to $497/mo. See pricing.
- Enrow API documentation
- Full Enrow SDK -- includes email finder, phone finderand more
MIT -- see LICENSE for details.