# Email Extractor: Emails from Pages or Pasted Text, No Login (`one_dollar_store/email-extractor`) Actor

Email extractor for web pages and pasted text: one row per address with domain, type (personal, role, free-mail), source and context. Each page is read once, no crawling. $1 per 1,000 results, platform usage included.

- **URL**: https://apify.com/one_dollar_store/email-extractor.md
- **Developed by:** [One Dollar Store](https://apify.com/one_dollar_store) (community)
- **Categories:** Lead generation, Marketing, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.70 / 1,000 results

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?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Email Extractor: emails from web pages or pasted text

**$1 per 1,000 emails. Platform usage included. No rental, no minimum.**

Email Extractor finds every email address in the web pages and the blocks of text you give it. Each page is fetched once and its links are not followed, so you decide exactly what is read. You get one row per address with its domain, a type (personal, role or free-mail), the page or text block it came from and the words around it.

[Open it in Apify Console](https://console.apify.com/actors/s5wEazNfm3hFgXAif/input)

### How much does Email Extractor cost?

| Emails | Price |
|---|---|
| 1,000 | $1.00 |
| 10,000 | $10.00 |
| 100,000 | $100.00 |

One flat price, platform usage included, so there is no separate compute or proxy bill. A weekly run over 200 contact pages that yields about 400 addresses costs about $0.40 a run, or about $1.70 a month.

### Why use it

- **Only what you give it.** One request per page, no crawling, no link following. A list of 50 pages is 50 requests, and the bill follows the addresses found.
- **Pages and pasted text in one run.** Paste e-mail headers, notes, spreadsheet cells or the source of a page into the text list. Nothing is fetched for those.
- **Hidden addresses are decoded.** Text such as `name [at] site [dot] com`, `mailto:` links, JSON-LD data, the addresses Cloudflare scrambles, and addresses kept in HTML attributes or page scripts.
- **Every row says where it came from.** The page address, the title, how the address was found (`foundVia`), up to 120 characters of context and how often it appears.
- **Clean results.** Placeholder addresses (`user@example.com`), file names that look like addresses (`logo@2x.png`) and ids are left out, and each address appears once per run unless you ask otherwise.

### How to use Email Extractor

1. Open the actor, add one page address per line, press **Start**.
2. Or paste this input:

```json
{ "urls": ["https://www.eff.org/about/contact", "https://www.python.org/about/help/"], "maxItems": 50 }
```

3. Download the results as JSON, CSV or Excel, or read them through the API.

To search text instead, use `rawText` (one list item per block of text):

```json
{ "rawText": ["Write to Ana <ana@firma.test> or to sales [at] firma [dot] test."], "maxItems": 10 }
```

### Use it from code

```bash
curl -X POST "https://api.apify.com/v2/acts/one_dollar_store~email-extractor/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"urls": ["https://www.eff.org/about/contact"], "maxItems": 50}'
```

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("one_dollar_store/email-extractor").call(
    run_input={"urls": ["https://www.eff.org/about/contact"], "maxItems": 50}
)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["email"], item["type"], item["source"])
```

### Use it from an AI assistant

Claude, ChatGPT, Cursor and other assistants can call this actor through Apify's MCP server. Add it with this server address:

```
https://mcp.apify.com?tools=one_dollar_store/email-extractor
```

Then ask, for example: "Pull every email address from these 30 contact pages and tell me which ones are role addresses."

### Switching from another email extractor

Most email extractors on the Store take start URLs, a crawl depth and a page limit. Here the pages you list are the only pages read: `urls` for web pages, `rawText` for pasted text, `maxItems` for the total. The core output fields are `email`, `domain`, `type`, `source`, `context` and `count`. If you need an address list for a whole company website, use a crawler such as Website Contact Scraper from this store instead.

### Input

| Field | Type | Default | What it does |
|---|---|---|---|
| `urls` | list of text | none | Web pages to read, one per line. Each is fetched once and none of its links are followed. A bare domain such as `example.com` is read as its home page. HTML, plain text, XML and JSON pages are read. |
| `rawText` | list of text | none | Blocks of text to search, such as e-mail headers, notes or the source of a page. Nothing is fetched. In the editor every line is one block; through the API one block can hold many lines. |
| `includeObfuscated` | true or false | true | Also decode `name [at] site [dot] com`, `name (at) site.com`, `name AT site DOT com`, Cloudflare protected addresses, and addresses in HTML attributes or scripts. Addresses in visible text, `mailto:` links and JSON-LD are always found. |
| `deduplicate` | true or false | true | On: each address appears once in the whole run, with the first source that holds it. Off: one row per address for every page or text block it appears on. |
| `maxItems` | number | 100 | The run stops after this many rows. Minimum 10, maximum 100,000. |

You need at least one page address or one block of text.

### What data does Email Extractor return?

| Field | What it holds |
|---|---|
| `email` | The address, in lower case. |
| `domain`, `localPart`, `tld` | The part after the `@`, the part before it, and the last label of the domain. |
| `type` | `personal`, `role` or `free-mail`. Free-mail providers are checked first, then role mailboxes, then everything else is personal. |
| `isRole`, `role`, `isFreeMail` | `isRole` is true for shared or job mailboxes such as info, sales, support, press or a mailing list host, whatever the domain. `role` is the word that matched. `isFreeMail` is true for Gmail, Yahoo, Outlook and similar. |
| `source` | The page address as you gave it, or `text block N`. |
| `sourceType`, `sourceIndex` | `url` or `text`, and the position in your list, counting from 1. |
| `finalUrl`, `pageTitle` | Where a page finally loaded after redirects (only when different), and its title. |
| `onSourceDomain` | True when the address belongs to the website of the page it was found on. |
| `foundVia` | How it was read: `text`, `mailto`, `json-ld`, `spelled`, `cloudflare`, `attribute` or `script`. |
| `context` | Up to 120 characters of text around the address, on one line. |
| `count` | How many times it appears on that page or in that block. A `mailto:` link that shows the address itself counts once. |
| `scrapedAt` | When the page or block was read, in UTC. |

### Sample results

Real rows from test runs. The last one comes from a pasted text block.

```json
[
  {
    "email": "press@eff.org",
    "domain": "eff.org",
    "type": "role",
    "isRole": true,
    "role": "press",
    "isFreeMail": false,
    "localPart": "press",
    "tld": "org",
    "source": "https://www.eff.org/about/contact",
    "sourceType": "url",
    "sourceIndex": 1,
    "pageTitle": "Contact EFF | Electronic Frontier Foundation",
    "onSourceDomain": true,
    "foundVia": [
      "text",
      "mailto",
      "attribute"
    ],
    "context": "put“Media Request”in the email subject line): press@eff.org 415-436-9333 x177 Both email and voice messages",
    "count": 1,
    "scrapedAt": "2026-11-10T15:39:22.054Z"
  },
  {
    "email": "press@apache.org",
    "domain": "apache.org",
    "type": "role",
    "isRole": true,
    "role": "press",
    "isFreeMail": false,
    "localPart": "press",
    "tld": "org",
    "source": "https://www.apache.org/foundation/contact",
    "sourceType": "url",
    "sourceIndex": 2,
    "pageTitle": "Contact Us | Apache Software Foundation",
    "onSourceDomain": true,
    "foundVia": [
      "text",
      "mailto"
    ],
    "context": "Incubator Press and analyst inquiries Newsroom press@apache.org Sponsorship or donation inquiries Foundation",
    "count": 2,
    "scrapedAt": "2026-11-10T15:39:22.054Z"
  },
  {
    "email": "psf@python.org",
    "domain": "python.org",
    "type": "personal",
    "isRole": false,
    "isFreeMail": false,
    "localPart": "psf",
    "tld": "org",
    "source": "https://www.python.org/about/help/",
    "sourceType": "url",
    "sourceIndex": 3,
    "pageTitle": "Help | Python.org",
    "onSourceDomain": true,
    "foundVia": [
      "text",
      "mailto"
    ],
    "context": "to contact the Python Software Foundation? Contact psf@python.org and let us know how we can help! Problems with this",
    "count": 1,
    "scrapedAt": "2026-11-10T15:39:22.054Z"
  },
  {
    "email": "a.one@firma.test",
    "domain": "firma.test",
    "type": "personal",
    "isRole": false,
    "isFreeMail": false,
    "localPart": "a.one",
    "tld": "test",
    "source": "text block 1",
    "sourceType": "text",
    "sourceIndex": 1,
    "foundVia": [
      "text"
    ],
    "context": "Write to a.one@firma.test and b.two@firma.test",
    "count": 1,
    "scrapedAt": "2026-11-10T15:44:02.952Z"
  }
]
```

### Limits

- **Plain HTTP only.** Pages that build their content with JavaScript after loading can come back without addresses. Addresses inside images and PDFs are not read.
- **Pages you name, once each.** No crawling and no link following. Use Website Contact Scraper to cover a whole company site.
- **Size caps.** A page is read up to 2 MB, a text block up to 2,000,000 characters. Cut-off pages are counted in the run summary.
- **Polite rate.** Eight pages are read at once, with at least 0.4 seconds between two requests to the same website. A page that times out, answers 429 or fails on the server side is tried again, at most three tries in all.
- **No logins and no challenges.** Pages behind a login are not read. If a site answers with a CAPTCHA or "verify you are human" page, the page is skipped and listed in the run summary. Nothing is solved or bypassed. After three refusals in a row (HTTP 403, 429 or a challenge page) the rest of that website's pages are skipped.
- **Local and private addresses are refused**, and at most five redirects are followed.
- **Type is a guess from the mailbox name.** `personal` means the name does not look like a shared mailbox. Addresses are not checked for delivery.
- **Left out:** placeholder addresses such as `user@example.com`, file names such as `logo@2x.png`, and long hexadecimal ids.
- **Pages that cannot be read** (not found, refused, not a text page, no such host) give no row and are not charged. They are listed in the run summary (`skippedList`) and the log.
- **Rows follow the order of your lists:** pages first, then text blocks.

### FAQ

**How much does it cost to extract 10,000 emails?**
$10.00. Pages that give no address cost nothing.

**Do I pay for compute or proxy on top?**
No. The price covers platform usage. The actor uses no proxy and no browser.

**Does it crawl a website?**
No. It reads the pages you list, once each, and never follows links. For every contact and about page of a company site, use Website Contact Scraper or Email Finder from this store.

**Which hidden addresses does it find?**
With `includeObfuscated` on (the default): `name [at] site [dot] com` and similar spellings, Cloudflare "email protection" addresses, and addresses kept in HTML attributes or page scripts. `mailto:` links and JSON-LD data are read in every case. Addresses drawn as images, or written backwards with CSS tricks, are not found.

**What do personal, role and free-mail mean?**
`free-mail` is any address at a public provider such as Gmail, Yahoo or Outlook. `role` is a shared or job mailbox such as `info@`, `sales@`, `support@`, `press@`, `jobs@` or an address on a mailing list host. `personal` is everything else, such as `jane.doe@company.com`. The type comes from the mailbox name and the domain only, so treat it as a good guess.

**Does it check that an address works?**
No. It reads addresses off pages and text. It does not contact any mail server.

**Can I search a PDF?**
Not directly. Run the PDF through PDF Text Extractor from this store and paste the text into `rawText`.

**Why did a page give no rows?**
The page may build its content with JavaScript, hold addresses only in images, sit behind a login, or answer with a challenge page. Each skipped input, with the reason, is listed in the run summary (`skippedList` in the key-value store record `RUN_SUMMARY`) and in the log.

**Is it legal?**
The actor reads only the public pages and text you give it, the way a visitor's browser would, and it never logs in or gets past a challenge page. It does not check robots.txt for the exact pages you name, because you choose which addresses are read. Email addresses can be personal data. Whether you may collect and use them depends on the law where you and the people live (for example GDPR) and on the rules for sending marketing e-mail (for example CAN-SPAM, ePrivacy and CASL), and the terms of the websites you read apply to you. You are responsible for lawful use. This is not legal advice.

**Do I need an Apify account?**
Yes. Actors run from an Apify account, and a free account is enough to start: it includes $5 of platform usage every month. You can [sign up here](https://www.apify.com?fpr=ymnoit). This is a referral link and it costs you nothing.

### Feedback and support

Found a problem or want a field added? Open an issue on the Issues tab of this actor and it gets read. If the actor saved you time, an honest rating on the Reviews tab helps other people find it.

### More from The One Dollar Store

Every actor here costs $1 per 1,000 results, platform usage included. See the whole store: https://apify.com/one_dollar_store

**Website tools**

- [Website Technology Detector](https://apify.com/one_dollar_store/website-technology-detector): Frameworks, CMS, analytics and ad tags on any site.
- [Website to Markdown Converter](https://apify.com/one_dollar_store/website-to-markdown-converter): Clean Markdown text from any web page.
- [Email Scraper](https://apify.com/one_dollar_store/website-emails-phones-scraper): Emails, phones and social links from company sites.
- [SEO Page Audit](https://apify.com/one_dollar_store/seo-page-audit-scraper): On-page SEO checks for any URL.
- [PDF Text Extractor](https://apify.com/one_dollar_store/pdf-text-extractor-scraper): Text and page data from PDF links.
- [Company Enrichment](https://apify.com/one_dollar_store/company-domain-enrichment-scraper): Company profile from a website domain: contacts, socials, tech, DNS and registry data.
- [Email Finder](https://apify.com/one_dollar_store/email-finder-scraper): Public emails for companies, from their own websites, with the source page.
- [Phone Number Scraper](https://apify.com/one_dollar_store/phone-number-scraper): Phone numbers from websites in international E.164 form, with the source page.

### Changelog

- 10 November 2026: clearer description and headings, field details for AI tools. Price and output unchanged.
- November 2026: first release.

# Actor input Schema

## `urls` (type: `array`):

Web pages to read, one per line, for example https://example.com/contact. Each page is fetched once and none of its links are followed. A bare domain such as example.com is read as its home page. HTML, plain text, XML and JSON pages are read; PDFs and images are skipped. Local and private addresses are refused.

## `rawText` (type: `array`):

Optional. Blocks of text to search for email addresses, for example e-mail headers, notes, spreadsheet cells or the source of a page. Nothing is fetched for these. In the editor every line is one block; through the API one block can hold many lines. Text that contains HTML tags is read like a web page.

## `includeObfuscated` (type: `boolean`):

Also finds addresses written as name \[at] site \[dot] com, name (at) site.com or name AT site DOT com, addresses scrambled by Cloudflare email protection, and addresses kept in HTML attributes or page scripts. Addresses in visible text, mailto links and JSON-LD are always found. Turn off if you only want addresses written out in full.

## `deduplicate` (type: `boolean`):

On: each address appears once in the whole run, with the first page or text block where it was found. Off: one row per address for every page or text block it appears on, so you can see where each one is used.

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

The run stops after this many rows. Minimum 10.

## Actor input object example

```json
{
  "urls": [
    "https://www.eff.org/about/contact",
    "https://www.apache.org/foundation/contact",
    "https://www.python.org/about/help/",
    "https://www.debian.org/contact",
    "https://www.fsf.org/about/contact/"
  ],
  "includeObfuscated": true,
  "deduplicate": true,
  "maxItems": 50
}
```

# Actor output Schema

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

No description

## `summary` (type: `string`):

No description

# 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 = {
    "urls": [
        "https://www.eff.org/about/contact",
        "https://www.apache.org/foundation/contact",
        "https://www.python.org/about/help/",
        "https://www.debian.org/contact",
        "https://www.fsf.org/about/contact/"
    ],
    "maxItems": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("one_dollar_store/email-extractor").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 = {
    "urls": [
        "https://www.eff.org/about/contact",
        "https://www.apache.org/foundation/contact",
        "https://www.python.org/about/help/",
        "https://www.debian.org/contact",
        "https://www.fsf.org/about/contact/",
    ],
    "maxItems": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("one_dollar_store/email-extractor").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 '{
  "urls": [
    "https://www.eff.org/about/contact",
    "https://www.apache.org/foundation/contact",
    "https://www.python.org/about/help/",
    "https://www.debian.org/contact",
    "https://www.fsf.org/about/contact/"
  ],
  "maxItems": 50
}' |
apify call one_dollar_store/email-extractor --silent --output-dataset

```

## MCP server setup

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

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/s5wEazNfm3hFgXAif/builds/n4WJqMqUCcNeAX5CS/openapi.json
