# Website Email Scraper (`reapx/website-email-scraper`) Actor

Collect published contact emails from the open web. Start with web page URLs; each returned email record keeps unique email count, email addresses, email sources, site title, and response status.

- **URL**: https://apify.com/reapx/website-email-scraper.md
- **Developed by:** [ReapX](https://apify.com/reapx) (community)
- **Categories:** Lead generation, SEO tools, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.60 / 1,000 emails

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Website Email Scraper

Collect published contact emails from the open web. Start with web page URLs; each returned email record keeps unique email count, email addresses, email sources, site title, and response status.

![Website Email Scraper interface](https://reapx.dev/assets/products/website-email-scraper/readme.png)

### What it returns

Each row keeps the the web source record beside the fields needed to use it. The opening set is `requestedUrl`, `finalUrl`, `siteTitle`, `route`, `scrapedAt`, `wireBytes`, `decodedBytes`, `responseStatus`, `uniqueEmailCount`, `emailAddresses`, and `emailSources`. The complete schema is declared before the run, and dataset views keep related fields together without changing the underlying row.

### Input

Website Email Scraper accepts source URLs. Run controls stay in the same form.

| Field | What it controls | Starting value |
| --- | --- | --- |
| `startUrls` | Paste exact URLs from the open web, one per line. | `["https://www.iana.org"]` |
| `maxItems` | Stop after this many dataset rows. | `20` |
| `maxSeconds` | Stop after this many seconds and keep completed rows. | `180` |

#### Example input

```json
{
  "startUrls": [
    "https://www.iana.org"
  ],
  "maxItems": 3,
  "maxSeconds": 180
}
```

No field is required. Start with the filled example, then replace only the target values needed for the job. Run controls can stay at their starting values for the first collection.

### Dataset fields

| Field | Type |
| --- | --- |
| `requestedUrl` | `string` |
| `finalUrl` | `string` |
| `siteTitle` | `string` |
| `route` | `string` |
| `scrapedAt` | `string` |
| `wireBytes` | `integer` |
| `decodedBytes` | `integer` |
| `responseStatus` | `integer` |
| `uniqueEmailCount` | `integer` |
| `emailAddresses` | `array:string` |
| `emailSources` | `array:object` |

### Dataset views

Views are working surfaces for review and export. They select and order fields while leaving the stored row unchanged.

| View | Opening fields |
| --- | --- |
| `overview` | `siteTitle`, `uniqueEmailCount`, `emailAddresses`, `emailSources`, `scrapedAt`, `requestedUrl`, `finalUrl`, and `route` |
| `identity` | `siteTitle` |
| `contact` | `siteTitle`, `requestedUrl`, `uniqueEmailCount`, `emailAddresses`, and `emailSources` |
| `timing` | `siteTitle`, `requestedUrl`, and `scrapedAt` |
| `provenance` | `requestedUrl`, `finalUrl`, and `route` |
| `details` | `siteTitle`, `requestedUrl`, `wireBytes`, `decodedBytes`, and `responseStatus` |

![Website Email Scraper input and result demonstration](https://reapx.dev/assets/products/website-email-scraper/demo.webp)

### Output and exports

| Output | Type | Destination |
| --- | --- | --- |
| `results` | `string` | `{{links.apiDefaultDatasetUrl}}/items` |
| `json` | `string` | `{{links.apiDefaultDatasetUrl}}/items?clean=true&format=json` |
| `csv` | `string` | `{{links.apiDefaultDatasetUrl}}/items?clean=true&format=csv` |
| `excel` | `string` | `{{links.apiDefaultDatasetUrl}}/items?clean=true&format=xlsx` |
| `jsonl` | `string` | `{{links.apiDefaultDatasetUrl}}/items?clean=true&format=jsonl` |

Completed rows are available in the Apify dataset as JSON, CSV, Excel, and JSONL exports. The run output also carries the declared links above for API clients and automations.

### Pricing

$8 per 1,000 emails on the Free plan. Other Apify plans use the rates shown in the Pricing tab.

### Console, API, schedules, and MCP

Runs can begin in Apify Console, from a saved task, or through the Actor API. A schedule can reuse the same input, and a run-finished webhook can pass the dataset or run ID to the next system.

```text
POST https://api.apify.com/v2/acts/XDWnD2Y9Nk46VKgpt/runs
GET  https://api.apify.com/v2/datasets/{datasetId}/items
```

For MCP selection, use **Website Email Scraper**. Its machine entry carries the same description, input field names, no-required-field contract, output types, dataset fields, views, and pricing facts as this document.

### Saved tasks

Twenty saved-task products cover distinct lookup, comparison, research, operations, automation, and export jobs:

- **Website Email download detail handoff**: buyer-job; opens `overview`.
- **Website Email site title and final URL reading list**: buyer-job; opens `identity`.
- **Website Email unique email count contact file**: buyer-job; opens `contact`.
- **Website Email collection times timing time window**: buyer-job; opens `timing`.
- **Website Email source requested URLs result lineage**: buyer-job; opens `provenance`.
- **Website Email download sizes detail handoff**: buyer-job; opens `details`.
- **Website Email core decoded bytes detail file**: buyer-job; opens `overview`.
- **Website Email identity site title text file**: buyer-job; opens `identity`.
- **Website Email addresses and email sources contact list**: buyer-job; opens `contact`.
- **Website Email collection times site title timing**: buyer-job; opens `timing`.
- **Website Email final URL source trail**: buyer-job; opens `provenance`.
- **Website Email decoded bytes and download sizes detail file**: buyer-job; opens `details`.
- **Website Email download sizes core record view**: buyer-job; opens `overview`.
- **Website Email site title identity copy review**: buyer-job; opens `identity`.
- **Website Email contact email sources routing file**: buyer-job; opens `contact`.
- **Website Email collection times timeline**: buyer-job; opens `timing`.
- **Website Email routes requested URLs source**: buyer-job; opens `provenance`.
- **Website Email detail download sizes record view**: buyer-job; opens `details`.
- **Website Email decoded bytes download sizes core**: buyer-job; opens `overview`.
- **Website Email site title decoded bytes identity**: buyer-job; opens `identity`.

### Integrations

Use the dataset API from any HTTP client, export rows to a spreadsheet, or send the run ID through an Apify webhook. Saved tasks give schedules and automation tools a stable input without changing the Actor contract.

### Related products

- [Website Lead Scraper](https://apify.com/reapx/website-lead-scraper)
- [Website Contact Scraper](https://apify.com/reapx/website-contact-scraper)
- [Website Profile Scraper](https://apify.com/reapx/website-profile-scraper)
- [Web Event Data Scraper](https://apify.com/reapx/web-event-data-scraper)
- [Website Data Scraper](https://apify.com/reapx/website-data-scraper)

### When a run needs attention

- **No rows:** Open the target in a browser, check spelling and source visibility, then retry the saved example before widening the input.
- **A field is empty:** Check the field beside its source URL. A missing source value stays empty instead of being replaced with a guess.
- **A target fails:** Keep successful targets in the dataset, then retry only the affected input.
- **An automation cannot find results:** Read the dataset ID from the run and request its items endpoint directly.

### FAQ

#### What do I get back from one run?

One row per email with 11 declared fields, opening on requestedUrl, finalUrl, siteTitle and route. The schema is published before the run, so you know the shape before you spend anything.

#### Do I need a website account or login?

No. The run works from the website sources you supply in the input. Nothing is posted, changed or accessed on your behalf.

#### What does a run cost?

The current rate is shown on the Pricing tab and is charged per row you receive, so a run that finds nothing costs close to nothing. Cap the run with the item limit when you want a predictable ceiling.

#### Can I try it before committing budget?

Yes. Cap the run with the item limit in the input and inspect the first rows. The cap is enforced before charging, so a trial run stays a trial.

#### What do I put in the input?

The staged input is already usable: startUrls, maxItems and maxSeconds. Replace the staged target with your own list when you are ready to run for real.

#### Are any fields required?

No field is required. Every input carries a working default, so the Actor can be started as-is and refined afterwards.

#### Why is a value empty on some rows?

website does not expose every field on every email. An absent value stays empty rather than being filled with a guess, so a row never invents a fact it did not receive.

#### A run returned fewer rows than I expected. Why?

The usual causes are a narrow source list, an item cap still set low, or a source that genuinely holds less than expected. Widen the input or raise the cap and run again.

#### Can I schedule this to run on its own?

Yes. Save the input as an Apify task and attach a schedule. Keep separate tasks when different teams need different targets or delivery paths.

#### Do I need to configure proxies?

No. Network access is handled inside the Actor and needs no proxy configuration from you.

#### How fresh is the data?

Every row is collected during the run you start, not served from a cache. Re-run the same input whenever you need the current state of a website email.

#### Can I use the results commercially?

The Actor collects publicly accessible website information. You remain responsible for how you use it, including any privacy or contractual obligations that apply to your business.

#### How do I compare two runs?

Keep requestedUrl and finalUrl as your join key and diff the exports. The identity fields stay stable across runs, which is what makes a comparison meaningful.

#### What happens if a source fails mid-run?

The run continues through the remaining sources and finishes with what it collected. Partial results are still written to the dataset rather than discarded.

#### Can I limit how long a run takes?

Yes. The maxItems input caps the run. Use it when you need a predictable cost and a predictable finish time.

#### How do I report a problem?

Open an issue on the Actor with the run ID, the input you used and the field or row that needs attention. The run ID lets the exact execution be inspected.

#### How is this different from Website Lead Scraper?

Website Email Scraper answers one job: Collect published contact emails from the open web.. Website Lead Scraper covers a different question on the same platform. Run both when you need both sides.

#### What is `responseStatus` for?

It records how the row was resolved, so you can filter to the rows you trust instead of treating every row as equally certain.

#### How do I read the output without scrolling through JSON?

Open the overview view on the Output tab. 6 views ship with the Actor (overview, identity, contact, timing, provenance and details), each grouping the fields that belong to one question.

#### How do I get the data into my own tools?

Export the dataset as JSON, CSV, Excel or XML, call the dataset API directly, or attach a run-finished webhook and collect the dataset reference as soon as the run ends.

#### Can an agent or LLM call this?

Yes. Website Email Scraper is exposed over MCP with the same description, no-required-field input contract and output types shown here, so an agent can select and call it without a human in the loop.

### Support

Use the Actor issue form for product questions, broken source routes, schema mismatches, and feedback. Include the smallest input that reproduces the problem. That is enough to locate the run and its dataset without sharing an entire working list.

Use this Actor only for data you are allowed to collect. Follow source terms, privacy law, and your own retention policy.

# Actor input Schema

## `startUrls` (type: `array`):

Paste exact URLs from the open web, one per line.

## `maxItems` (type: `integer`):

Stop after this many dataset rows.

## `maxSeconds` (type: `integer`):

Stop after this many seconds and keep completed rows.

## Actor input object example

```json
{
  "startUrls": [
    "https://www.iana.org"
  ],
  "maxItems": 20,
  "maxSeconds": 180
}
```

# Actor output Schema

## `results` (type: `string`):

Open all returned Website Email Scraper rows with 11 declared fields and 6 working views.

## `json` (type: `string`):

Retrieve clean Website Email Scraper records for API, MCP, or webhook use.

## `csv` (type: `string`):

Download the Website Email Scraper table for spreadsheets and data tools.

## `excel` (type: `string`):

Open the Website Email Scraper rows as an Excel workbook.

## `jsonl` (type: `string`):

Stream one clean Website Email Scraper record per line for downstream processing.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "startUrls": [
        "https://www.iana.org"
    ],
    "maxItems": 20,
    "maxSeconds": 180
};

// Run the Actor and wait for it to finish
const run = await client.actor("reapx/website-email-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "startUrls": ["https://www.iana.org"],
    "maxItems": 20,
    "maxSeconds": 180,
}

# Run the Actor and wait for it to finish
run = client.actor("reapx/website-email-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "startUrls": [
    "https://www.iana.org"
  ],
  "maxItems": 20,
  "maxSeconds": 180
}' |
apify call reapx/website-email-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,reapx/website-email-scraper"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/XDWnD2Y9Nk46VKgpt/builds/0NO81xj9KSmM2Vsak/openapi.json
