# Apollo.io Company Profile Scraper (`pratikdani/apollo-io-company-profile-scraper`) Actor

Scrape company search results from apollo and company website, social media urls, alexa rank, phone numbers, etc.

- **URL**: https://apify.com/pratikdani/apollo-io-company-profile-scraper.md
- **Developed by:** [Pratik Dani](https://apify.com/pratikdani) (community)
- **Categories:** Lead generation
- **Stats:** 201 total users, 0 monthly users, 100.0% runs succeeded, 3 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

## 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

## Apollo People Scraper

#### Description

This document provides an overview of the JSON data format retrieved from Apollo.io, detailing the information about companies and individuals. The data covers essential aspects like contact details, social media profiles, and other relevant company and personnel data that can be leveraged for business purposes such as sales, marketing, and lead generation.

#### How Does It Work?

This tool works using your Apollo login credentials.

1. **Login Details**: Just input your login email and password in the corresponding fields.

2. **Running the Scraper**:
   - Search for leads on Apollo like you normally would.
   - Once you have your search results, copy the URL from the address bar and paste it into the scraper’s “Search URL” input.
   - You can also specify a list name. If a matching list isn’t found, the scraper will create one and save all your leads there.

3. **Flexible Scraping Options**:
   - You can scrape a specific range of pages by setting the Start Page and Count parameters.
   - Make sure to use a proxy from the same country as your Apollo login location.

#### Best Practices for Getting the Most Out of the Scraper

To ensure smooth operations and avoid issues:

- Set a longer delay between actions (5-60 seconds is ideal).
- Always use the same proxy country for each run, matching the location from which you typically log in.
- Avoid scraping with the same Apollo account simultaneously on different sessions.
- For best results, don’t use free email addresses (like Gmail, Yahoo, or Outlook) when creating Apollo accounts—they limit your email credits to just 125 per month.

#### Sample Output Data

#### Integrations

You can use Make to integrate Apollo leads with any other SaaS platform by designing your own automation flows.

#### Apollo Data Fields Documentation

This document provides a description of the JSON data from Apollo.io. The data represents information about a company, including their contact details, website, social media URLs, and other details.

#### Organization Details

- **id**: Unique identifier of the organization.
- **name**: Name of the organization.
- **website_url**: URL of the organization's website.
- **blog_url**: URL of the organization's blog (null if not available).
- **angellist_url**: URL of the organization's AngelList profile (null if not available).
- **linkedin_url**: URL of the organization's LinkedIn page.
- **twitter_url**: URL of the organization's Twitter profile.
- **facebook_url**: URL of the organization's Facebook page (null if not available).
- **primary_phone**: Object containing the primary phone number of the organization (see details below).
- **languages**: Array of languages spoken by the organization (empty array if not available).
- **alexa_ranking**: Alexa ranking of the organization's website (null if not available).
- **phone**: Primary phone number of the organization.
- **linkedin_uid**: LinkedIn UID of the organization.
- **founded_year**: Year when the organization was founded.
- **publicly_traded_symbol**: Symbol of the organization's publicly traded shares (null if not available).
- **publicly_traded_exchange**: Exchange where the organization's shares are publicly traded (null if not available).
- **logo_url**: URL of the organization's logo.
- **crunchbase_url**: URL of the organization's Crunchbase profile (null if not available).
- **primary_domain**: Primary domain of the organization's website.
- **sanitized_phone**: Sanitized version of the primary phone number.
- **persona_counts**: Object containing counts of different personas associated with the organization.

This JSON data provides valuable information about a person, their contact details, employment history, and the organization they are associated with. It also includes additional details related to the person's source, email status, and more. The data can be used for various purposes, such as lead generation, sales, and marketing activities. Please ensure data privacy and follow relevant regulations when using this data for any purpose.

# Actor input Schema

## `apollo_login_email` (type: `string`):

The email address used for logging into your Apollo account.

## `apollo_password` (type: `string`):

Your Apollo account password.

## `search_url` (type: `string`):

The URL that contains the search query or criteria for the records to extract.

## `total_records_required` (type: `integer`):

Specify the total number of records you want to extract.

## Actor input object example

```json
{
  "apollo_login_email": "A",
  "apollo_password": "A",
  "search_url": "A",
  "total_records_required": 1
}
```

# 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 = {
    "apollo_login_email": "A",
    "apollo_password": "A",
    "search_url": "A",
    "total_records_required": 1
};

// Run the Actor and wait for it to finish
const run = await client.actor("pratikdani/apollo-io-company-profile-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 = {
    "apollo_login_email": "A",
    "apollo_password": "A",
    "search_url": "A",
    "total_records_required": 1,
}

# Run the Actor and wait for it to finish
run = client.actor("pratikdani/apollo-io-company-profile-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 '{
  "apollo_login_email": "A",
  "apollo_password": "A",
  "search_url": "A",
  "total_records_required": 1
}' |
apify call pratikdani/apollo-io-company-profile-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,pratikdani/apollo-io-company-profile-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/HSHL7DEwxjjkyerxS/builds/s0iXSVDi5oQ3BOFp5/openapi.json
