Apify example task · whoareyouanas/website-link-scraper
Extract public contacts and links
Extract public emails, telephone links, social links, and internal/external URLs from any website. Export page records as CSV or JSON.
- Actor
- Website Email Extractor & Contact Scraper
- Result limit
- Set by the input
- Estimated cost
- Per result, see pricing
- Run options
- 1 GB memory · 300 s timeout
Example updated 2026-09-10 · actor build 0.1.10 · runs in your own Apify account
01 / About the actor
Website Email Extractor & Contact Scraper
Crawl supplied website seeds to collect published emails, phone numbers, social links, and page references. Use full page records or an email-focused mode for contact research and link inventories.
Define the crawl
Control seed URLs, depth, page budget, same-domain behavior, and discovered-link patterns.
Choose extraction fields
Enable email, phone, social, link, image, or file-reference extraction as needed.
Review summaries
Use seed and run summaries to understand crawled pages, failures, and extracted contacts.
02 / Input
The exact input this example runs.
startUrls is required. Include/exclude patterns apply to discovered links, not the initial seeds. Use the final canonical hostname; maxPages bounds crawl work, not the number of extracted email rows.
{
"extractEmails": true,
"extractFiles": false,
"extractImages": false,
"extractLinks": true,
"extractPhones": false,
"extractSocial": true,
"includeSubdomains": false,
"sameDomainOnly": true,
"startUrls": [
{
"url": "https://www.whoareyouanas.com/"
}
]
}| Field | Value in this example | What it controls |
|---|---|---|
| extractEmailsChange this | true | Extract email addresses from page content and mailto links. |
| extractFilesChange this | false | Extract downloadable file links such as PDFs, docs, and archives. |
| extractImagesChange this | false | Extract image URLs from page markup and metadata. |
| extractLinksChange this | true | Extract and classify internal and external page links. |
| extractPhonesChange this | false | Extract phone numbers from tel: links. Plain-text phone numbers are not currently extracted. |
| extractSocialChange this | true | Extract profile links for major social platforms. |
| includeSubdomainsChange this | false | Treat subdomains as internal when same-domain crawling is enabled. |
| sameDomainOnlyChange this | true | If enabled, crawler follows only links from the same domain as each seed URL. |
| startUrlsChange this | https://www.whoareyouanas.com/ | Seed URLs to crawl. |
Other inputs you can add (8)
| Field | Type / required | Default | Purpose |
|---|---|---|---|
| mode | string | "full" | Use full for page-wise link intelligence or emails_only for one row per email. Options: full, emails_only |
| crawlerType | string | "http" | HTTP is cheaper and faster. Browser handles heavy JS websites. Options: http, browser |
| maxPages | integer | 200 | Maximum pages across the entire run, shared by all start URLs. Concurrent crawling may slightly exceed this limit. Minimum: 1 |
| maxDepth | integer | 2 | How deep to follow links from each start URL. Minimum: 0 |
| includeUrlGlobs | array | [] | If non-empty, only URLs matching at least one glob are crawled. |
| excludeUrlGlobs | array | [] | URLs matching any glob are skipped. |
| maxConcurrency | integer | 25 | Maximum number of parallel requests while crawling. Minimum: 1 |
| requestTimeoutSecs | integer | 20 | Timeout in seconds for each page request. Minimum: 1 |
03 / Make it yours
Change these fields for your own research.
01 · startUrls
Start URLs
Seed URLs to crawl.
Example: https://www.whoareyouanas.com/
02 · extractLinks
Extract links
Extract and classify internal and external page links.
Example: true
03 · extractEmails
Extract emails
Extract email addresses from page content and mailto links.
Example: true
04 · extractPhones
Extract phone numbers
Extract phone numbers from tel: links. Plain-text phone numbers are not currently extracted.
Example: false
05 · extractSocial
Extract social links
Extract profile links for major social platforms.
Example: true
06 · extractImages
Extract image URLs
Extract image URLs from page markup and metadata.
Example: false
07 · extractFiles
Extract file URLs
Extract downloadable file links such as PDFs, docs, and archives.
Example: false
08 · maxPages
Max pages
Maximum pages across the entire run, shared by all start URLs. Concurrent crawling may slightly exceed this limit.
09 · sameDomainOnly
Same domain only
If enabled, crawler follows only links from the same domain as each seed URL.
Example: true
10 · includeSubdomains
Include subdomains
Treat subdomains as internal when same-domain crawling is enabled.
Example: false
Run it in three steps
- Open the example on Apify and select Try for free to copy it into your Apify account.
- Replace the sample values above with your own target and keep the limit small.
- Start the run, then export the dataset as JSON, CSV or Excel.
04 / Output
What the results table shows.
- The dataset can contain page records or email records plus a summary per seed and a run summary. Use recordType when counting contacts.
- An Emails column view does not remove summary records. Published emails are not validated for deliverability or ownership.
Columns in the “Overview” view
recordType
recordType
seedUrl
seedUrl
pageUrl
pageUrl
url
url
emails
emails
phoneNumbers
phoneNumbers
socialLinks
socialLinks
files
files
images
images
internalLinks
internalLinks
externalLinks
externalLinks
pagesCrawled
pagesCrawled
failedRequests
failedRequests
uniqueEmails
uniqueEmails
A view selects columns for the table. The full JSON export keeps every field, including nested arrays and objects.
05 / Cost
What this example costs to run.
Charges follow the billable events in the pricing table below and the number of records the run returns. This example has no single total result cap, so start with it as is and check the run's charges before widening it.
Actor Start
$0.00005 per event · per GB of memory
result
$0.004 per event
Prices checked 2026-11-22. Set a run spending limit in Apify when you widen the input.
06 / API
Run the same input from your code.
This call starts a billable run of Website Email Extractor & Contact Scraper with this example's input and returns the dataset items when it finishes. Synchronous calls wait up to five minutes; for longer runs, POST to /runs instead and read the run's default dataset when it succeeds. Keep the token in an environment variable.
curl --request POST \
'https://api.apify.com/v2/acts/whoareyouanas~website-link-scraper/run-sync-get-dataset-items?format=json' \
--header "Authorization: Bearer $APIFY_TOKEN" \
--header 'Content-Type: application/json' \
--data '{"extractEmails":true,"extractFiles":false,"extractImages":false,"extractLinks":true,"extractPhones":false,"extractSocial":true,"includeSubdomains":false,"sameDomainOnly":true,"startUrls":[{"url":"https://www.whoareyouanas.com/"}]}'Coverage & interpretation
Check the result before relying on it.
- The crawler follows discovered links; it does not guess missing contact paths or visit listed companies merely because a directory mentions them.
- Protected or obfuscated contacts may be missed or misidentified. Review extraction quality before CRM use.
Questions
About this example.
What does the "Extract public contacts and links" example collect?
Extract public emails, telephone links, social links, and internal/external URLs from any website. Export page records as CSV or JSON. It runs Website Email Extractor & Contact Scraper, published by whoareyouanas on Apify.
Which input does this example use?
Extract emails (extractEmails) set to true; Extract file URLs (extractFiles) set to false; Extract image URLs (extractImages) set to false; Extract links (extractLinks) set to true; Extract phone numbers (extractPhones) set to false; Extract social links (extractSocial) set to true. The full JSON input is shown on this page.
How much does it cost to run this example?
Charges follow the billable events in the pricing table below and the number of records the run returns. This example has no single total result cap, so start with it as is and check the run's charges before widening it.
How do I change it for my own research?
Open the example on Apify and select Try for free to copy it into your account, then edit Start URLs, Extract links, Extract emails, Extract phone numbers, Extract social links, Extract image URLs, Extract file URLs, Max pages, Same domain only, Include subdomains. Keep the result limit small for the first run and check the output before scaling up.
Can I run it from the API or on a schedule?
Yes. Send the same JSON input to the Website Email Extractor & Contact Scraper run endpoint with your Apify API token, or save the copied task in your Apify account and add a schedule. Results land in the run's default dataset as JSON, CSV or Excel.
More examples
Related tasks you can copy.
AI Ad Analyzer
Score an ad creative with your own AI API key
Analyze one sample image ad for hooks, visible text, creative attributes and improvement suggestions. Add your own OpenAI API key in the secret apiKey field before running. Provider charges apply in addition to Apify usage; AI scores are not measured ad performance.
View exampleFacebook Group & Page Scraper
Collect images and video links from ESA Facebook posts
Sample public ESA Facebook posts with media extraction enabled. Review available image links, video links and source post URLs.
View exampleGoogle Ads Transparency Scraper
Export Samsung UK YouTube ads to CSV
Get up to five Samsung YouTube ads shown in the UK from Google's Ads Transparency Center. Export the available advertiser and creative data to CSV.
View exampleGoogle Maps Reviews Export to CSV, Excel & JSON
Export recent Google Maps reviews to CSV
Collect up to 20 recent Google Maps reviews from a business URL, including ratings, review text and owner replies. Inspect quality status, then export the dataset to CSV.
View exampleLinkedIn Profile Scraper
Review public LinkedIn executive career history
Look up Satya Nadella’s public LinkedIn profile to inspect available headline, roles and education fields. Use a different public profile URL for your own research.
View exampleMeta (Facebook) Ad Library Scraper
Find active Adidas video ads on Meta
Search the US Meta Ad Library for active Adidas video ads. Review available creative URLs, ad copy, calls to action and start dates.
View exampleGuides
Read more about this workflow.
How to Scrape Website Emails, Phone Numbers and Social Links
Learn how to scrape website emails, phone numbers, social links, internal links, external links, images, and files for lead generation, audits, and CRM enrichment.
Top 7 Web Scrapers for Competitor Research in 2026
Compare the best web scrapers for competitor ad research, social listening, lead generation, and market research across Meta, Google, TikTok, Reddit, websites, and Facebook Groups.