Back to Blog

How to extract emails from a list of websites in bulk

Goldmine
7 min read
Updated

To extract emails from a list of websites in bulk, give a crawler the list of URLs and let it read each site's home, contact and about pages. Goldmine's Actor "Extract Emails, Socials and Contacts from Any Website" on Apify returns one row per website with the emails, phone numbers and social links it found.

You paste the URLs into one input field. It collects only what a site publishes. It does not guess addresses.

What does "extracting emails from a website" actually mean?

It means reading a site's public pages and collecting the email addresses that appear on them. Most websites publish no API for their contact information, so the addresses live on the contact, about and footer pages, and a tool has to visit those pages to find them.

Three things this Actor does not do are worth stating up front:

  • It does not guess or pattern-generate addresses. Nothing is inferred from a name and a domain.
  • It does not run an SMTP deliverability check. Addresses are checked by format and filtering rules only.
  • It does not get past a contact form. A site that offers a form and no written address returns no email.

Which pages does it visit on each site?

For each website the Actor reads the URL you gave it, plus up to five pages linked from it whose address contains a contact-related word such as contact, about, team, support, company or service. It does not crawl the whole site. A page that shows no contact details as plain HTML is loaded again with JavaScript rendering.

Each output row lists the pages that were read in scanned_pages, so you can check this for your own sites after a run.

How do I extract emails from a list of websites, step by step?

  1. Prepare your list. Collect the website URLs, one per company, including https://. A spreadsheet column or a CRM export works.

  2. Open the Actor. Go to the Actor on Apify and sign in to your Apify account.

  3. Enter the URLs. The Actor has a single input field, urls, which is required. It takes a list of website URLs, and the list can hold one URL or many. In JSON, using the value the Actor prefills as the first entry:

    {
      "urls": [
        "https://www.newtondentalassociates.com",
        "https://example.com"
      ]
    }
    

    Replace https://example.com with your own sites and add as many lines as you need. There are no other input fields to set.

  4. Run it. The Actor processes up to five websites at the same time. How long a run takes for a given number of sites: Data not currently verified. Pages that need JavaScript rendering take longer per URL than plain ones.

  5. Read the results. The dataset holds one row per input URL. Check scanned_pages on any row with an empty emails list to see which pages were read before you conclude the site publishes no address.

  6. Automate it if you need to. Every Apify Actor is also a REST API: start a run with a list of URLs and read the results back as JSON, or use the synchronous run endpoint to get the dataset in one call. The README also lists webhooks, Zapier, Make, Google Sheets and the Apify MCP server as ways to connect it to a pipeline.

What data do I get back?

One row per website, with these fields:

Field Label Type What it holds
url URL link The website that was processed
emails Email Addresses array Email addresses found on the scanned pages
social_links Social Media Links object Social profile links, grouped by platform
phone_numbers Phone Numbers array Phone numbers found, in the formats the site wrote them
scanned_pages Scanned Pages array The pages that were read for this website
status Status string success, or error when the website could not be read
error Error string The error message when status is error, otherwise empty

The README shows social_links grouped under keys such as facebook, twitter, linkedin and instagram, and lists further supported platforms including YouTube, TikTok, Pinterest, Telegram, WhatsApp and GitHub. Phone numbers are picked up in international and domestic formats and from tel: links.

What are the limitations?

  • Published addresses only. If a site hides its contact details behind a form, the Actor returns nothing for it.
  • No deliverability check. A returned address is well-formed and passed the filters. Whether the mailbox exists and accepts mail is not tested, so verify addresses before sending.
  • JavaScript-heavy pages are slower. They are supported, but they take longer per URL.
  • Coverage depends on the site. The crawler prioritises contact-style pages. An address that appears only on a deeper page of a large site is not reached.
  • Obfuscated addresses. Whether the Actor decodes addresses written as "name at domain dot com", rendered as images or otherwise disguised: Data not currently verified. As a general caveat, any page-reading tool can miss addresses that a site deliberately hides from automated readers.
  • Some sites will fail. As with any crawler, a site can time out or refuse automated visitors. A site that could not be read still gets a row, with status set to error and the reason in error, so you can filter those and retry. Treat a success row with no emails as "nothing found on this run", not as proof that no address exists.

Is it legal to collect and use these email addresses?

The Actor reads publicly available pages. What you do with the results is your responsibility. An address such as info@ belongs to a business, but an address of a named individual is personal data. Under laws such as GDPR and CCPA you need a lawful basis to store and use it, and anti-spam laws set rules for sending unsolicited email. Check the rules that apply to you and to your recipients before you email anyone. This is not legal advice.

FAQ

How much does it cost to extract emails from websites?

The Actor is pay per event: $0.00999 per website on the Apify Free plan, so 1,000 websites cost $9.99, down to $0.00899 per website on Gold and higher Apify plans (as listed on Apify on 2026-11-12). The price is set on the Actor's Apify listing and can change, so check the listing for the current figure.

Does it guess email addresses from names and domains?

No. It returns only addresses that are published on the pages it visits. Nothing is inferred from name-and-domain patterns.

Does it verify that the emails work?

No. Addresses are checked by format and filtering rules, not by an SMTP deliverability check. Run the list through a verification step of your own before sending.

Does it work on JavaScript-heavy sites?

Yes. It handles JavaScript-rendered pages as well as static ones, though heavier pages take longer per URL.

How many websites can I run at once?

The urls field takes a list of any length, and the input schema sets no maximum. The largest list tested in a single run: Data not currently verified.

Can I use it as an email extractor API?

Yes. Every Apify Actor is also a REST API, so you can start a run with a list of URLs and read the emails, phone numbers and social links back as JSON.

Try it

Scrapers mentioned in this post

Need something this post didn't cover?

Browse every Goldmine scraper, or get in touch about a custom one.