Table of Contents
24 Oct 2023
Given that this product performs all of its test in real-time, the response time largely depends on the SMTP server of the targeted domain/company.
Code
import os
PROSPEO_API_KEY = os.getenv("PROSPEO_API_KEY")
first = "Paul"
last = "Atreides"
domain = "thesandcompany.com"
import requests
url = "https://api.prospeo.io/email-finder"
required_headers = {
'Content-Type': 'application/json',
'X-KEY': PROSPEO_API_KEY
}
data = {
'first_name': first,
'last_name': last,
'company': domain'
}
response = requests.post(url, json=data, headers=required_headers)