# Contact Details Scraper: Emails, Phones $0.80/1K (`moggedhq/contact-details-scraper-cheap`) Actor

Website email scraper for public business contacts. Get email addresses, phone numbers, linked social profiles and source pages. Enrich Google Maps leads or any website list. $0.80 per 1,000 contributing pages. 100 pages cost $0.08 plus run fees. No login.

- **URL**: https://apify.com/moggedhq/contact-details-scraper-cheap.md
- **Developed by:** [mogged](https://apify.com/moggedhq) (community)
- **Categories:** Lead generation, 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.64 / 1,000 contact pages

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

## Contact Details Scraper: Emails, Phones $0.80/1K

Turn a list of business websites into a contact dataset for directory maintenance, lead enrichment, supplier research or local market analysis. Use the website column from Google Maps or paste your own URLs. Get one row per domain with published emails, phone numbers, social profile links and the page behind each value.

**A contact page costs $0.0008. A run with 100 contributing pages costs $0.08165 at the undiscounted HTTP price and default memory.** That includes a $0.0016 successful-run fee and Apify's $0.00005 minimum start charge. A page only contributes when it supplies a contact you have not already received for that domain. No site login or third-party API key is needed.

The five-site cloud example returned contacts for all five domains from eight contributing pages. A separate 1,618-domain cloud run found contacts on 1,062 sites and delivered 1,280 contributing pages. The full example is prefilled in the input form.

### What the Actor reads

Enter a public home page or the specific page where you want to begin. The crawler reads the page, then prioritizes contact, imprint and about links it finds on that site. You can limit each domain to the page you entered or allow a few more pages for deeper coverage.

The Actor checks visible text, email and telephone links, organization markup and linked social profiles. When the country is clear, phone numbers are normalized to international E.164. You can see the original phone string, the normalized value and any extension in the source information. The Actor does not guess email addresses or use a directory of third-party contacts.

If an email appears in both the home-page footer and a contact page, you receive it once with both source URLs. A second page contributes a charge only if it adds a distinct contact. LinkedIn company, school and showcase links, Facebook business pages, and profiles on Instagram, X, TikTok and YouTube are read from the business website itself.

### Three steps

1. Add business domains to **Domain names**, paste a JSON array into **Business websites**, or paste exported place rows into **Google Maps or lead dataset rows**.
2. Choose a page cap and depth. Use two pages and depth one to check a homepage and its best linked contact page. Leave JavaScript rendering off for the HTTP price.
3. Run the Actor and export **Website contacts** as JSON, CSV, Excel or another Apify dataset format. Use **Source pages** to trace values and see where a request was refused.

Filter the dataset to `type: "website"` for website rows. The free summary row, or the `SUMMARY` key-value record, shows counts and the reason for an early stop. For downstream enrichment, filter website rows to `status: "ok"` to keep rows with contact details.

### Inputs

| Field | Default | What to enter |
|---|---|---|
| `startUrls` | Five cafe websites in the form prefill | Public URLs as strings or objects with `url` or `website`. A full contact URL starts from that page. |
| `domains` | Empty | Domains such as `coffeecollective.dk`. A bare domain starts with HTTPS and may fall back to HTTP on a connection problem. |
| `leads` | Empty | JSON place or lead rows with a `website` field. Optional two-letter `countryCode` helps normalize national phone numbers. |
| `maxPagesPerDomain` | 5, form prefill 2 | Attempt 1 to 25 website pages per domain, including starting pages. Robots checks do not count against this page cap. |
| `maxDepth` | 1 | 0 reads supplied URLs only. 1 follows relevant links on them. 2 or 3 permits another level or two within the page cap. |
| `sameDomainOnly` | `true` | Keep navigation on the same registrable domain, including its subdomains. |
| `includeSocials` | `true` | Include supported social profiles linked from the website. |
| `renderJavaScript` | `false` | Opt into a browser pass on an empty JavaScript shell. Select at least 512 MB memory and budget for the rendered-page price. |
| `proxyConfiguration` | Automatic | Apify's default datacenter selection, followed by direct HTTP and a bounded residential retry for qualifying transient connection failures. A working direct fallback is reused on that website. Large automatic runs can prefer direct HTTP after repeated gateway failures and verified direct recoveries. |

URLs from the three input fields are combined in that order. Identical URLs are skipped. Multiple URLs on one domain share a page budget and return one row. A lead entry with both a website and a URL uses its website. Provide up to 12,000 entries in one run. Split large inputs if you reach your account's API request size limit. Large runs may also need a higher Apify timeout.

#### Find contact details on specific websites

```json
{
  "domains": ["coffeecollective.dk", "houndstoothcoffee.com"],
  "maxPagesPerDomain": 3,
  "maxDepth": 1,
  "includeSocials": true
}
```

#### Check only contact pages you already know

```json
{
  "startUrls": [{"url": "https://www.kerbeylanecafe.com/contact"}],
  "maxPagesPerDomain": 1,
  "maxDepth": 0,
  "includeSocials": false
}
```

#### Pass through a Google Maps export

```json
{
  "leads": [
    {"website": "https://coffeecollective.dk/", "countryCode": "DK"},
    {"website": "https://www.monmouthcoffee.co.uk/", "countryCode": "GB"}
  ],
  "maxPagesPerDomain": 2,
  "maxDepth": 1
}
```

For large lists, export JSON from Google Maps Scraper and keep `website` and `countryCode`. Skip rows without a website. Several stores can share one domain, so store rows can be more numerous than contact rows. Keep your original store identifiers alongside your workflow's URLs so you can join the results back to stores independently.

### Output fields

| Field | Meaning |
|---|---|
| `type` | `website`, `note` or `summary` |
| `summary` | Readable outcome and contact counts |
| `status` | `ok`, `no_contacts` or `unavailable` for website rows |
| `domain` | Registrable domain used to group supplied URLs |
| `website` | First URL supplied for the domain, suitable for joining with the input |
| `url` | Resolved URL of the first page read, or the supplied URL when none could be read |
| `countryCode` | Available two-letter country hint, or `null` |
| `emails` | Distinct published email addresses |
| `phones` | Distinct phone strings, normalized where the country is clear |
| `socialLinks` | List of objects with `platform` and profile `url` |
| `contactPageUrl` | First contact page read, or `null` |
| `pagesCrawled` | Count of readable HTML pages included in the extraction |
| `contributingPages` | Pages that provided distinct contacts and whether each was rendered |
| `sourcePages` | Readable page URLs, indicating rendered or size-truncated pages |
| `sources` | Per-value URLs and extraction methods, including raw phone strings and extensions |
| `pageNotes` | Individual page failures and reasons, such as a robots.txt restriction |
| `scrapedAt` | UTC timestamp for the observation |

Unpublished fields come back as empty arrays or `null`. A free `no_contacts` row means the Actor read a page and found no qualifying value in the content it processed. An `unavailable` row means the attempted pages were inaccessible or unsupported. Both cases can appear alongside useful results from other websites.

### Pricing and spending limit

| Plan | HTTP contact page | Rendered contact page |
|---|---:|---:|
| Undiscounted | $0.0008 | $0.0055 |
| Bronze | $0.00076 | $0.005225 |
| Silver | $0.00072 | $0.00495 |
| Gold and above | $0.00064 | $0.0044 |

Add the $0.0016 fee to a successful run and the $0.00005 minimum start charge at the default memory. No successful-run, HTTP or rendered-page charge applies if there are no contributing pages. Repeated contact values, blocked pages and checks of robots.txt have no page charge. A rendered page is charged once at the rendered price. Platform usage is included in the Actor's event prices.

| Example at undiscounted price | Total |
|---|---:|
| 1 contributing HTTP page | $0.00245 |
| 5 contributing HTTP pages | $0.00565 |
| 100 contributing HTTP pages | $0.08165 |
| 1,000 contributing HTTP pages | $0.80165 |
| 10 contributing HTTP pages and 1 rendered page | $0.01515 |

Set **Maximum charge per run** before starting. A contributing page can be delivered only if its charge and any first-success fee fit. If the cap falls partway through a website, the row contains the contacts supplied by its affordable contributing pages. Remaining websites may be skipped. The summary reports the spending stop and the dataset retains delivered rows.

### Schedule repeat checks

Save a task with the same domain list, page cap and depth for each scheduled run. Use the domain as your join key and compare the email, phone and profile sets. Keep prior exports if you need contact history. The Actor deduplicates within each run, and a later run gives you a fresh snapshot of what the sites publish.

For a directory workflow, map the `website` from each existing business to a domain and update its contact fields from a successful row. In a monitoring workflow, use `sources` to verify changes before overwriting a value. A failed fetch alone is insufficient evidence that a business has removed its contacts.

### Use from the API

Use your own Apify API token. A small list can be submitted and retrieved in one request.

```bash
curl -X POST \
  'https://api.apify.com/v2/acts/moggedhq~contact-details-scraper-cheap/run-sync-get-dataset-items' \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{"domains":["coffeecollective.dk","houndstoothcoffee.com"],"maxPagesPerDomain":2}'
```

For large jobs, start an asynchronous run and page through its `defaultDatasetId` after it finishes. This JavaScript example passes selected fields from the Maps model.

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

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const mapsItems = client.dataset(process.env.MAPS_DATASET_ID);
const { items: places } = await mapsItems.listItems({ fields: ['type', 'website', 'countryCode'] });
const leads = places
  .filter(row => row.type === 'place' && row.website)
  .map(({ website, countryCode }) => ({ website, countryCode }));

const run = await client.actor('moggedhq/contact-details-scraper-cheap').call({
  leads,
  maxPagesPerDomain: 2,
  maxDepth: 1,
});
const { items: websites } = await client.dataset(run.defaultDatasetId).listItems();
for (const row of websites.filter(entry => entry.type === 'website' && entry.status === 'ok')) {
  console.log(row.domain, row.emails, row.phones);
}
```

`listItems` returns one page. Set `limit` and `offset` as needed for wider Maps and contact exports. Apify supplies an API client for Python as well.

### Use with AI agents (MCP)

Connect the client to `https://mcp.apify.com/?tools=moggedhq/contact-details-scraper-cheap` and authenticate with Apify. Ask the agent to run **Contact Details Scraper** on your chosen sites. Give it a charge cap, the list of domains and the crawl depth. Ask it to return results with source page URLs so you can check where each value came from.

For example, ask “Extract public emails and phone numbers from these 40 cafe websites. Read their homepages and one contact page each. Turn off social links. Return the domain, email, phone and source page, and keep the maximum charge at $0.10.”

To combine it with Maps in one workflow, first ask for public place listings with websites, then pass the website and country columns into `leads`. Request `type: "website"` rows from the contact dataset and check the summary before merging. A dataset export can also feed a spreadsheet, an internal directory, or a webhook.

### Limits

- Reads publicly accessible business sites over HTTP or HTTPS. The Actor follows robots.txt and site refusals. Login walls, CAPTCHAs and sites that require a session remain outside coverage.
- Contact discovery follows links identified by their label or path. It does not crawl every page of a site or search the web for domain names. Contact forms can appear as a contact page without exposing an email address.
- Emails are as published. The Actor does not guess addresses, verify mailboxes or submit forms. Social links can be stale. It never visits social networks to enrich them.
- Visible phone formatting and the business's country affect normalization. Explicit domestic numbers can remain in their published format when the country is unclear. Use the raw value, source page and extension when accuracy matters.
- Large pages can be truncated. Results can miss contacts placed late in a page or moved dynamically into a cross-domain widget. Each website row includes up to 150 contact values. The optional renderer runs bounded same-domain GET requests on an empty page shell. It does not execute cross-site resources, replay logins or visit refused pages.
- When a buyer supplies a proxy group, country, disable setting or public custom proxy, that selection governs retrieval. Automatic mode uses a small residential retry allowance and cannot guarantee access to every host.
- Use contacts in line with each website's terms and the laws that apply to your use.

### FAQ

**Why do I see fewer domain rows than Maps places?** A chain can use one domain for many stores. The Actor combines those inputs into one domain row and keeps the first submitted URL as the reference.

**Can I choose which pages to read?** Yes. Supply the exact URLs and set depth to zero. All the URLs for a domain still share its page cap. For automatic discovery, start on the homepage and use depth one.

**Why did a readable site have no email?** It may publish a phone number, social profile or contact form instead. Check the row's arrays and source pages. You can enable social links or try a known contact page.

**Where can I see how a number was normalized?** Open the Source pages view or inspect `sources.phones` in JSON. Each value includes `raw`, `e164`, `extension` and the URLs where it appeared.

**Can I monitor changes without collecting the whole site?** Yes. Schedule a task with the exact list of known contact pages and compare each new snapshot with your previous successful export.

# Actor input Schema

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

Public business homepages or contact URLs. Enter URL strings, objects with url, or rows with a website field.

## `domains` (type: `array`):

Paste one business domain per line. Domains and explicit website URLs are combined and grouped by domain.

## `leads` (type: `array`):

Paste exported JSON rows with a website column. A countryCode such as US may help interpret domestic phone numbers.

## `maxPagesPerDomain` (type: `integer`):

Maximum website pages attempted per domain, including each supplied starting URL.

## `maxDepth` (type: `integer`):

0 reads supplied URLs only. 1 also follows linked contact and about pages.

## `sameDomainOnly` (type: `boolean`):

Keep navigation within the registrable domain, including subdomains. Turn off to follow explicitly linked contact pages on other public sites.

## `includeSocials` (type: `boolean`):

Collect business profile links from the pages read. Social networks are never opened.

## `renderJavaScript` (type: `boolean`):

Optional browser pass for an empty JavaScript shell, with a separate rendered-page price. Select 512 MB or more.

## `proxyConfiguration` (type: `object`):

Automatic Apify datacenter with limited residential retry on transient errors. Explicit proxy disable, group, country or custom configuration is preserved.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://coffeecollective.dk/"
    },
    {
      "url": "https://houndstoothcoffee.com/"
    },
    {
      "url": "https://www.monmouthcoffee.co.uk/"
    },
    {
      "url": "https://www.kerbeylanecafe.com/"
    },
    {
      "url": "https://www.cafecapriccio.com/"
    }
  ],
  "maxPagesPerDomain": 2,
  "maxDepth": 1,
  "sameDomainOnly": true,
  "includeSocials": true,
  "renderJavaScript": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `contacts` (type: `string`):

No description

## `sources` (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 = {
    "startUrls": [
        {
            "url": "https://coffeecollective.dk/"
        },
        {
            "url": "https://houndstoothcoffee.com/"
        },
        {
            "url": "https://www.monmouthcoffee.co.uk/"
        },
        {
            "url": "https://www.kerbeylanecafe.com/"
        },
        {
            "url": "https://www.cafecapriccio.com/"
        }
    ],
    "maxPagesPerDomain": 2
};

// Run the Actor and wait for it to finish
const run = await client.actor("moggedhq/contact-details-scraper-cheap").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": [
        { "url": "https://coffeecollective.dk/" },
        { "url": "https://houndstoothcoffee.com/" },
        { "url": "https://www.monmouthcoffee.co.uk/" },
        { "url": "https://www.kerbeylanecafe.com/" },
        { "url": "https://www.cafecapriccio.com/" },
    ],
    "maxPagesPerDomain": 2,
}

# Run the Actor and wait for it to finish
run = client.actor("moggedhq/contact-details-scraper-cheap").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": [
    {
      "url": "https://coffeecollective.dk/"
    },
    {
      "url": "https://houndstoothcoffee.com/"
    },
    {
      "url": "https://www.monmouthcoffee.co.uk/"
    },
    {
      "url": "https://www.kerbeylanecafe.com/"
    },
    {
      "url": "https://www.cafecapriccio.com/"
    }
  ],
  "maxPagesPerDomain": 2
}' |
apify call moggedhq/contact-details-scraper-cheap --silent --output-dataset

```

## MCP server setup

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

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/SHE6IMp56bWaR9mmV/builds/PEli9qqcLFC9bYo8a/openapi.json
