How to Extract Emails from a Website (Plus Phones and Social Profiles)
Finding a public contact email should not require clicking through five pages of a corporate site. Most businesses still publish an address on a Contact, About or Imprint page, along with a LinkedIn or X profile. Doing that once is easy; doing it for a list of domains is tedious. This guide shows how to extract emails from a website in bulk, and how to pick up phone numbers and social profiles in the same pass.
You will use the Website Email & Contact Scraper on Apify. You give it a list of website URLs and get one row per site: emails, phones, and social links (LinkedIn, X, Facebook, Instagram, YouTube, TikTok, GitHub and others). It tries contact, about and imprint pages first.
By the end of this article you will have a CSV or JSON file on your machine, and a short Python snippet you can rerun or schedule. The same Actor is also callable from JavaScript and from AI agents through the Apify MCP server.
What you need
- An Apify account. The Free plan is enough to try a small run.
- A list of inputs for the Actor (URLs, IDs or search terms — details in the steps below).
- Optional: Python 3 with the
apify-clientpackage if you want to automate the run.
No browser extension and no login to the target sites are required. A short page cap is enough for most brochure sites.
How to run it in the Apify Console
Step 1: Open the Actor
Open https://apify.com/veenkes/veenkes-website-contacts and click Try for free.
Step 2: Paste websites
Use homepages such as https://apify.com. Add as many sites as you want to process in the run.
Step 3: Tune the crawl
Set max pages per site to 3–5 for a first test. Keep exclude generic emails on so noreply@ and postmaster@ are dropped. Choose whether phones should come only from click-to-call links or also from numbers in the page text.
Step 4: Export
Run the Actor and download CSV or JSON. Each website is one row, which is the right shape for a CRM import.
Subdomains are off by default so you do not wander into docs or status sites. You are billed per website processed, not per email found, so empty results still consume a website event — start with a short list.
How to run it from Python
Install the official client and call the Actor by its Store id veenkes/veenkes-website-contacts. Replace YOUR_APIFY_TOKEN with a token from Apify Console > Integrations. Do not commit the token to a public repository.
pip install apify-client
from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("veenkes/veenkes-website-contacts").call(run_input={
"websites": [
"https://apify.com"
],
"maxPagesPerSite": 5,
"excludeGenericEmails": True
})
# Write every dataset item, then export from the Console or keep going in code.
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)
The JavaScript client (apify-client on npm) uses the same Actor id and the same input object. You can also start the run with a plain HTTP POST to the Apify API if you prefer.
Sample output
Here is a shortened example of one dataset record (field values are illustrative of the schema, taken from a real sample run shape):
{
"website": "https://apify.com/",
"finalUrl": "https://apify.com/",
"domain": "apify.com",
"title": "Apify: Marketplace of ready-to-run tools for AI",
"description": "Thousands of tools to automate your business. Get real-time web data, track competitors, generate leads, and integrate your apps and AI agents.",
"emails": [
"support@apify.com",
"hello@apify.com"
],
"emailSources": {
"support@apify.com": "https://apify.com/",
"hello@apify.com": "https://apify.com/contact"
},
"phones": [],
"linkedin": [
"https://linkedin.com/company/apify"
],
"twitter": [],
"facebook": [],
"instagram": [],
"youtube": [],
"tiktok": [
"https://tiktok.com/@apifytech",
"https://tiktok.com/@apifyoffice"
],
"github": [
"https://github.com/apify"
],
"pinterest": [],
"telegram": [],
"whatsapp": [],
"discord": [
"https://discord.com/invite/jyEM2PRvMU",
"https://discord.gg/w3e2v7rWDw"
],
"threads": [],
"bluesky": [],
"contactPageUrl": "https://apify.com/contact",
"pagesCrawled": 5,
"scrapedAt": "2026-11-12T22:11:57.229Z"
}
Once the run has finished, open the dataset in the Console and use Export > CSV if a spreadsheet is your destination. JSON is usually better for code and for language models.
What to use the data for
Sales and partnerships teams enrich a list of company websites. Recruiters find a public hiring email. Journalists and researchers collect on-the-record contacts. Agencies audit whether their clients' contact pages actually expose a usable address. The social profile fields are often as useful as the email.
Pricing
Pay-per-result pricing starts at $3.00 per 1,000 websites processed on the Apify Free plan, with lower unit prices on paid Apify plans, plus a small per-run start fee. You are billed per website, not per email found. Always check the live pricing on the Actor page, because plans and unit prices can change. For a first test, keep the input tiny so you can inspect the schema before you scale up.
Scheduling and automations
In the Apify Console you can schedule the Actor (daily or hourly) and leave the same input in place. For incremental jobs, prefer a "since" or "posted after" style filter when the Actor offers one, so you are not paying to re-collect old rows. When a run finishes you can send a webhook, or connect the Actor in Zapier, Make or n8n. AI agents can discover and call veenkes/veenkes-website-contacts through Apify's MCP server using the same input.
Good practices and limits
Only collect publicly published addresses, and use them in line with anti-spam and privacy law (including GDPR where it applies). This is not a tool for scraping personal inboxes or login-protected directories. The fact that an email is on a website does not always mean the owner wants cold outreach.
If a run returns fewer rows than you expected, check the input caps, language or country filters, and the Actor log. A zero-row run is usually a filter or an unavailable source, not a silent crash — read the log before you increase limits.
Next step
Open the Actor and run a small job: Website Email & Contact Scraper: Phones & Social Profiles.
If you later want this on a schedule, save the input that worked, add a date filter where it applies, and export CSV automatically from the dataset or from the API snippet above.
Top comments (0)