# Email & Phone Finder ✅ Apollo | LinkedIn | b2b | leads (`peakydev/leads-scraper`) Actor

Upload a CSV or Excel file and get back the email address and phone number for every person we can match. Only matches are returned and charged

- **URL**: https://apify.com/peakydev/leads-scraper.md
- **Developed by:** [Peaky Dev](https://apify.com/peakydev) (community)
- **Categories:** Lead generation, Social media, Automation
- **Features:** Limited permissions
- **Stats:** 4,285 total users, 117 monthly users, 100.0% runs succeeded, 88 bookmarks
- **User rating**: 4.38 out of 5 stars

## Pricing

from $3.00 / 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 Finder

Upload a CSV or Excel file of people and get back the email address and phone number for everyone we can match. Results are saved to the run's dataset and can be downloaded as CSV, Excel or JSON.

### How it works

1. Upload a **.csv** or **.xlsx** file with one person per row and a header row.
2. The Actor reads each person's first name, last name, company website and LinkedIn URL from your columns.
3. It looks up the email and phone number for every row and saves the ones it finds.

You only pay for rows where an email or phone number is found. A row with no match is not saved and not charged.

### Preparing your file

Each row needs one of these:

| Row contains | Example |
| --- | --- |
| A LinkedIn profile URL | `https://www.linkedin.com/in/janesmith` |
| A full name (or first and last name) and the company website | `Jane Smith`, `acme.com` |

Columns are recognised automatically from the header row. Use headers such as:

| Information | Recognised headers |
| --- | --- |
| First name | `First Name`, `First`, `Given Name` |
| Last name | `Last Name`, `Last`, `Surname`, `Family Name` |
| Full name (split into first and last name) | `Full Name`, `Name`, `Contact Name` |
| Company website | `Website`, `Company Website`, `Domain`, `URL` |
| LinkedIn URL | `LinkedIn`, `LinkedIn URL`, `Person LinkedIn` |

Example file:

```
First Name,Last Name,Company Website,LinkedIn URL
Jane,Smith,acme.com,
,,,https://www.linkedin.com/in/johndoe
Maria,Lopez,https://www.globex.com,
```

Other columns in your file are ignored. People who appear more than once are looked up once.

### Input

| Field | Description |
| --- | --- |
| **Upload your file** | A `.csv` or `.xlsx` file. Older `.xls` files are not supported: save them as `.xlsx` or `.csv` first. |

### Output

Every result has the same five fields:

| Field | Description |
| --- | --- |
| `firstName` | First name from your file |
| `lastName` | Last name from your file |
| `companyWebsite` | Company website from your file |
| `linkedinUrl` | LinkedIn profile URL from your file |
| `email` | The email address that was found |
| `phone` | The phone number that was found |

Fields your row did not have are empty.

Example:

```json
[
    {
        "firstName": "Jane",
        "lastName": "Smith",
        "companyWebsite": "acme.com",
        "linkedinUrl": null,
        "email": "jane.smith@acme.com",
        "phone": "+1 555 010 2030"
    },
    {
        "firstName": null,
        "lastName": null,
        "companyWebsite": null,
        "linkedinUrl": "https://www.linkedin.com/in/johndoe",
        "email": "john.doe@globex.com",
        "phone": null
    }
]
```

### Pricing

You are charged per row found, at the price shown on this Actor's page. Rows with no match are free. Accounts on the free plan can look up to 50 results per month.

### Limits

- Up to 10,000 rows per run.
- A row must have a LinkedIn URL, or a full name (or first and last name) and company website.
- Only the first sheet of an Excel file is read.

### Tips

- Put the company website in its own column. Name lookups need it, and a clean domain such as `acme.com` works best.
- Keep a header row so your columns are picked up automatically.
- Every run starts from the beginning of your file..

### Questions

If something does not look right, open an issue in the Issues tab of this Actor or contact support at peaky@leadlance.io.

# Actor input Schema

## `file` (type: `string`):

A .csv or .xlsx file with one person per row and a header row. Include a LinkedIn URL column, or first name, last name and company website columns.

## Actor input object example

```json
{}
```

# Actor output Schema

## `emails` (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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("peakydev/leads-scraper").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("peakydev/leads-scraper").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 '{}' |
apify call peakydev/leads-scraper --silent --output-dataset

```

## MCP server setup

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

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/GlxYrQp6f3YAzH2W2/builds/yYrYzFoRyQDA2uDA2/openapi.json
