π§β¨ Extract Emails From Any Website
1 day trial then $20.00/month - No credit card required now
π§β¨ Extract Emails From Any Website
1 day trial then $20.00/month - No credit card required now
(fastest) An advanced Actor for extracting email addresses from websites. This tool is perfect for web scraping, contact collection, and lead generation.
Extract Emails From a Website
An advanced Apify Actor for extracting email addresses from websites, including JavaScript-rendered pages. This tool is perfect for web scraping, contact collection, and lead generation.
Features
- π High Accuracy: Extracts valid and relevant email addresses using robust filtering.
- π JavaScript Support: Handles JS-rendered pages via Playwright.
- π Contact Page Detection: Prioritizes contact-related pages for better results.
- β‘ Concurrency: Processes multiple websites simultaneously with a configurable limit.
- π Error Handling: Comprehensive error logging ensures reliability.
Use Cases
- Lead Generation: Collect contact information from company websites.
- Market Research: Gather emails for outreach campaigns.
- Web Crawling: Efficiently scan and extract emails from multiple pages.
How It Works
The actor performs the following steps:
- Fetches the HTML content of the given URLs using HTTPX.
- If required, renders the page using Playwright to handle JavaScript.
- Extracts all email addresses from the page content using regex patterns.
- Scans all internal links (prioritizing contact-related pages).
- Outputs a consolidated list of unique and valid email addresses.
Input Format
The actor accepts a JSON object with the following structure:
1{ 2 "urls": [ 3 "https://example.com", 4 "https://another-example.com" 5 ] 6}
urls
(required): An array of website URLs to scrape.
Output Format
The actor produces an output dataset in the following format:
1[ 2 { 3 "url": "https://example.com", 4 "emails": ["info@example.com", "support@example.com"], 5 "scanned_pages": [ 6 "https://example.com", 7 "https://example.com/contact" 8 ], 9 "status": "success", 10 "error": null 11 }, 12 { 13 "url": "https://another-example.com", 14 "emails": [], 15 "scanned_pages": ["https://another-example.com"], 16 "status": "error", 17 "error": "Timeout while fetching the URL" 18 } 19]
url
: The processed website URL.emails
: List of extracted email addresses.scanned_pages
: Pages scanned during the process.status
:"success"
or"error"
.error
: Details of any encountered error (if applicable).
Example Use Cases
1. Extract Emails from Multiple Websites
Provide a list of URLs in the input JSON, and the actor will output all the emails it finds.
2. Scan Contact Pages for Specific Emails
The actor prioritizes scanning Contact Us or About Us pages for higher relevance.
3. Automate Email Extraction for Marketing
Integrate this actor into your automation pipeline to gather contact leads regularly.
Keywords
Email Extractor, Web Scraper, Lead Generation Tool, Apify Actor, Playwright Email Extraction, Contact Page Scanner, JavaScript Rendering Scraper, Bulk Email Scraping.
For more information or support, feel free to open an issue or reach out on Apify Community Forum.
Happy Scraping! π
Actor Metrics
4 monthly users
-
0 No stars yet
>99% runs succeeded
Created in Jan 2025
Modified 3 days ago