# Website Contact & Business Information Extractor (`yuktiai/website-contact-extractor`) Actor

Find publicly listed emails, phone numbers and social profiles from websites automatically.

- **URL**: https://apify.com/yuktiai/website-contact-extractor.md
- **Developed by:** [Pankaj Singh](https://apify.com/yuktiai) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.01 / 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.

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

## Website Contact & Business Information Extractor

Find publicly available contact information on websites—without manually checking every page.

**Website Contact & Business Information Extractor** crawls a website and its relevant internal pages to discover publicly listed email addresses, phone numbers, and social media profiles.

Enter a website URL, choose your crawl limit, and let the Actor do the work.

***

### What can it find?

- 📧 **Email addresses** – emails publicly displayed on the website
- 📞 **Phone numbers** – phone numbers found in page content and contact links
- 🌐 **Social media profiles** – links to LinkedIn, Facebook, Instagram, X/Twitter, YouTube, and other supported social platforms
- 📄 **Website pages** – the pages visited and their extraction results

All discovered contacts are collected from publicly accessible website content.

### How to use

#### 1. Enter a website

Add the website you want to explore in the **Start URLs** field.

For example:

`https://example.com`

#### 2. Choose your crawl limit

Specify how many pages the Actor can visit for each starting website.

- **Max pages:** Limits the number of pages crawled per website.
- **Request timeout:** Controls how long the Actor waits for a page to respond.
- **Respect robots.txt:** Allows the Actor to respect website crawling rules.

If you're trying it for the first time, start with a small page limit.

#### 3. Run the Actor

Click **Start** and the Actor will visit the starting page and prioritize relevant internal pages, such as contact, about, and other pages that may contain contact information.

#### 4. Explore your results

Review the results in the Apify Dataset. You can see the information found on individual pages as well as a consolidated summary of unique contacts for each website.

***

### What you'll get

Results are organized to make them easy to review and use.

#### Contact information

| Field | Description |
|---|---|
| Emails | Email addresses discovered on the website |
| Phones | Phone numbers found during crawling |
| Social links | Social media profile URLs |

#### Website information

| Field | Description |
|---|---|
| Website URL | Original website submitted |
| Page URL | Specific page where information was found |
| Page title | Title of the visited page |
| Status code | HTTP response status |
| Error | Any error encountered while processing the page |

#### Consolidated summary

At the end of the crawl, the Actor also provides a summary for each website containing:

- Total pages crawled
- Unique email addresses
- Unique phone numbers
- Unique social profile links

Duplicates are removed from the consolidated contact summary.

***

### Who can use it?

**Sales & Business Development**

Discover publicly listed contact information when researching prospective businesses.

**Marketing Professionals**

Collect website contact details to support research and outreach planning.

**Small Businesses & Freelancers**

Find contact information on websites without manually navigating multiple pages.

**Researchers**

Gather publicly available contact information as part of website and business research.

**Recruiters**

Explore company websites to locate publicly listed contact channels.

***

### Simple, lightweight & transparent

- No API key required for the extraction process
- No AI-generated contact information
- Extracts information from website content rather than inventing contacts
- Crawls internal pages of the same website
- Prioritizes relevant pages for contact discovery
- Consolidates duplicate contacts in the final summary
- Uses crawl limits to help control execution

***

### Important limitations

- The Actor can only find information that is publicly accessible and present on the pages it visits.
- Not every website publishes email addresses or phone numbers.
- Some websites may block automated requests or limit access.
- Email addresses and phone numbers are **not independently verified** for accuracy or active status.
- The Actor does not guarantee that all contacts on a website will be discovered.
- It does not bypass authentication, CAPTCHAs, paywalls, or other access restrictions.
- Results depend on website structure, content, accessibility, and the configured page limit.

***

### Responsible use

Use this Actor responsibly and only on websites you are authorized to access.

Respect website terms of service, robots.txt instructions, applicable privacy laws, and data-protection requirements. Contact information should be used for legitimate purposes. This Actor is not intended for indiscriminate harvesting of personal information or spam.

***

### Get started

Enter a website URL, set your page limit, and start discovering publicly available business contact information.

**Less manual browsing. More organized contact research.**

# Actor input Schema

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

One or more website URLs you are authorized to crawl.

## `maxPages` (type: `integer`):

Includes the homepage. Keep this low and respect website policies.

## `requestTimeoutSecs` (type: `integer`):

Maximum time to wait for each website request.

## `respectRobotsTxt` (type: `boolean`):

Whether to honor robots.txt rules before crawling pages.

## `userAgent` (type: `string`):

User-Agent header sent with website requests.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://python.org/"
    }
  ],
  "maxPages": 10,
  "requestTimeoutSecs": 20,
  "respectRobotsTxt": true,
  "userAgent": "WebsiteContactExtractor/1.0 (+https://apify.com)"
}
```

# Actor output Schema

## `results` (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://python.org/"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("yuktiai/website-contact-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 = { "startUrls": [{ "url": "https://python.org/" }] }

# Run the Actor and wait for it to finish
run = client.actor("yuktiai/website-contact-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 '{
  "startUrls": [
    {
      "url": "https://python.org/"
    }
  ]
}' |
apify call yuktiai/website-contact-extractor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,yuktiai/website-contact-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/AI9kA1xdq20dQdVo8/builds/aowQ4FgALrELX8Jqm/openapi.json
