# Extract B2B Emails & Socials from Websites

**Use case:** 

Automatically extract verified business emails, phone numbers, LinkedIn, X, and Instagram profiles, plus tech stack signals from any list of company domains. Ideal for B2B lead generation, outbound prospecting, and CRM enrichment.

## Input

```json
{
  "urls": [
    {
      "url": "https://apify.com"
    },
    {
      "url": "https://n8n.io"
    }
  ],
  "maxPagesPerDomain": 3,
  "extractSocials": true,
  "extractTechStack": true,
  "onlyWithEmails": false,
  "maxConcurrency": 5,
  "requestTimeoutSecs": 15
}
```

## Output

```json
{
  "domain": {
    "label": "Domain",
    "format": "string"
  },
  "emailsCount": {
    "label": "Emails Found",
    "format": "integer"
  },
  "emails": {
    "label": "Business Emails",
    "format": "array"
  },
  "phones": {
    "label": "Phone Numbers",
    "format": "array"
  },
  "linkedin": {
    "label": "LinkedIn URL",
    "format": "string"
  },
  "techStack": {
    "label": "Detected Tech Stack",
    "format": "array"
  },
  "title": {
    "label": "Company / Page Title",
    "format": "string"
  },
  "pagesCrawled": {
    "label": "Pages Crawled",
    "format": "integer"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The B2b Lead Contact Extractor Actor is ready to run with the inputs already set for "Extract B2B Emails & Socials from Websites". [Sign up or log in](https://console.apify.com/create-task-from-example/EqoHJLiCknJykdHXE) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Extract B2B Emails & Socials from Websites" task

The B2b Lead Contact Extractor Actor will start running based on the input automatically. You can also change all the input fields, like company website urls, max internal pages per domain, and more, to match your specific use case.

### 3. Receive the "Extract B2B Emails & Socials from Websites" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as domain, emails found, business emails, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Extract B2B Emails & Socials from Websites" task via API](https://apify.com/riquelme_labs/b2b-lead-contact-extractor.md).

## FAQ

### What data does the B2B Lead Contact Extractor task return?

The B2B Lead Contact Extractor task returns the domain, verified business emails, phone numbers, LinkedIn, X (Twitter), Instagram profiles, tech stack signals, and the page title.

### What kind of websites can I use this task on?

The task can extract data from any list of company domains or full URLs, such as apify.com and n8n.io.

### How does the task find social media profiles?

The task detects official social media profiles, including LinkedIn, X (Twitter), and Instagram, by crawling the homepage and key internal pages.

### Is there a limit on how many pages the task inspects per domain?

The task inspects a maximum of 3 internal pages per domain by default, which can be adjusted in the input parameters.

### How can I schedule this task to run automatically?

The task can be scheduled to run automatically through the Apify Console.

### Can I connect this task to other automation tools?

Yes, this task can be integrated with tools like n8n, Make, and Zapier for further automation.

## About this Actor

This example demonstrates how to use [B2b Lead Contact Extractor](https://apify.com/riquelme_labs/b2b-lead-contact-extractor.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/riquelme_labs/b2b-lead-contact-extractor.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/riquelme_labs/b2b-lead-contact-extractor.md

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`).
