# 🔥 Leads Scraper with Emails (`powerai/leads-scraper-ppe`) Actor

Find B2B leads with work emails, phones, LinkedIn profiles, and company firmographics. Filter by title, seniority, location, industry, revenue, and funding.

- **URL**: https://apify.com/powerai/leads-scraper-ppe.md
- **Developed by:** [PowerAI](https://apify.com/powerai) (community)
- **Categories:** Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.99 / 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/platform/actors/running/actors-in-store#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

## 🔥 Leads Scraper with Emails

Build high-volume B2B lead lists with work emails, phone numbers, LinkedIn profiles, and rich company firmographics. Filter by job title, seniority, department, person/company location, industry, revenue, funding, and more.

### ✨ Key Features

- 👤 Contact **name, title, seniority, and department**
- ✉️ **Work and personal emails** (optional enrichment)
- ☎️ **Phone numbers** when available
- 🔗 **LinkedIn** profile and company pages
- 🏢 Company name, website, industry, size, founded year, and specialties
- 📍 Person and company location filters (country / state)
- 📈 Revenue, funding type, and business-model filters
- 📋 Structured JSON output, streamed while the run is in progress

### 💪 Why Choose This Actor?

- **Focused**: Built for B2B lead generation similar to Apollo-style search
- **Flexible**: Combine title, seniority, geography, and firmographic filters
- **Efficient**: Results are pushed continuously while the job runs
- **Structured**: Renamed, integration-friendly field names
- **Clean**: Status / log-noise rows from upstream are filtered out automatically

### 🎯 Perfect For

- 📬 Outbound sales and email outreach lists
- 🏢 Agency / SaaS prospecting
- 📊 Market mapping by industry and geography
- 🤖 CRM and enrichment pipelines

### 📝 Input Requirements

- `maxLeads` (required for large runs): Max leads to return (minimum **100**, up to 30,000)
- `includeEmails` (optional): Enrich leads with emails
- `verifiedEmailsOnly` (optional): Keep only verified-email leads
- `jobTitles` / `seniority` / `departments` (optional): Role filters
- `personCountries` / `personStates` (optional): Person location
- `companyCountries` / `companyStates` / `companyDomains` / `companySizes` (optional): Company filters
- `industries` / `industryKeywords` / `revenueBands` / `fundingTypes` / `businessModels` (optional): Firmographics

#### Input Example

```json
{
  "jobTitles": ["CEO", "Founder"],
  "seniority": ["Founder", "CEO"],
  "personCountries": ["United States"],
  "personStates": ["California"],
  "companySizes": ["11 - 50", "51 - 200"],
  "includeEmails": true,
  "maxLeads": 100
}
```

#### Output Example

```json
{
  "contactName": "Jane Example",
  "givenName": "Jane",
  "familyName": "Example",
  "jobTitle": "CEO",
  "workEmail": "jane@example.com",
  "profileUrl": "https://www.linkedin.com/in/jane-example",
  "city": "San Francisco",
  "state": "California",
  "country": "United States",
  "companyName": "Example SaaS Inc",
  "companyIndustry": "Software Development",
  "companySize": "51 - 200",
  "scrapedAt": "2026-07-21T08:00:00.000Z"
}
```

### 🚀 How to Use

1. Set job titles, location, and company filters
2. Enable `includeEmails` when you need outreach-ready contacts
3. Set `maxLeads` (at least 100) and click **Start**
4. Download results as JSON, CSV, Excel, or HTML

### 📌 Notes

- Start with 2–3 filters, then tighten if results are too broad
- Prefer country-level location first; add states only when needed
- Very strict filters (exact domain + department + verified email) can return fewer leads
- Upstream status messages (e.g. “refer to the log…”) are removed from the dataset automatically

# Actor input Schema

## `maxLeads` (type: `integer`):

Maximum number of leads to return (minimum 100, up to 30,000 per run).

## `includeEmails` (type: `boolean`):

When enabled, enrich leads with available work and personal emails.

## `verifiedEmailsOnly` (type: `boolean`):

Only return leads with verified email status. May reduce result count.

## `jobTitles` (type: `array`):

Target job titles, e.g. CEO, Marketing Manager, Sales Rep.

## `firstName` (type: `string`):

Optional first-name filter.

## `lastName` (type: `string`):

Optional last-name filter.

## `seniority` (type: `array`):

Filter by job seniority level.

## `departments` (type: `array`):

Filter by department / function.

## `personCountries` (type: `array`):

Countries where the person is located.

## `personStates` (type: `array`):

States / regions where the person is located (e.g. California, New York, Ontario).

## `companySizes` (type: `array`):

Filter by company employee-size bands.

## `companyCountries` (type: `array`):

Countries where the company is headquartered.

## `companyStates` (type: `array`):

States / regions for company HQ (e.g. California).

## `companyDomains` (type: `array`):

Company domains without www or https, e.g. apify.com, github.com.

## `industries` (type: `array`):

Filter by company industry.

## `industryKeywords` (type: `array`):

Free-text industry keywords, e.g. AI, SaaS, Fintech.

## `revenueBands` (type: `array`):

Filter by estimated company revenue range.

## `fundingTypes` (type: `array`):

Filter by funding round type.

## `fundingFromDate` (type: `string`):

Only include companies funded on or after this date (YYYY-MM-DD).

## `fundingToDate` (type: `string`):

Only include companies funded on or before this date (YYYY-MM-DD).

## `businessModels` (type: `array`):

Filter by company business model.

## Actor input object example

```json
{
  "maxLeads": 100,
  "includeEmails": true,
  "verifiedEmailsOnly": false,
  "jobTitles": [
    "CEO",
    "Founder"
  ],
  "seniority": [
    "Founder",
    "CEO"
  ],
  "personCountries": [
    "United States"
  ]
}
```

# 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 = {
    "maxLeads": 100,
    "includeEmails": true,
    "jobTitles": [
        "CEO",
        "Founder"
    ],
    "seniority": [
        "Founder",
        "CEO"
    ],
    "personCountries": [
        "United States"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("powerai/leads-scraper-ppe").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 = {
    "maxLeads": 100,
    "includeEmails": True,
    "jobTitles": [
        "CEO",
        "Founder",
    ],
    "seniority": [
        "Founder",
        "CEO",
    ],
    "personCountries": ["United States"],
}

# Run the Actor and wait for it to finish
run = client.actor("powerai/leads-scraper-ppe").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "maxLeads": 100,
  "includeEmails": true,
  "jobTitles": [
    "CEO",
    "Founder"
  ],
  "seniority": [
    "Founder",
    "CEO"
  ],
  "personCountries": [
    "United States"
  ]
}' |
apify call powerai/leads-scraper-ppe --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=powerai/leads-scraper-ppe",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/9ZHVJep31IhKJB8yY/builds/f4Z0SCeWNBcivBRIc/openapi.json
