# Real Yellow Pages Lead Generator (USA version) (`lead.gen.labs/real-yellow-pages-usa-version`) Actor

Generate quality business leads from the USA Yellow Pages with ease. Our tool extracts up-to-date contact information, including phone numbers and emails, saving you time on manual research. Ideal for marketers, sales teams, and entrepreneurs looking to build a targeted lead list quickly.

- **URL**: https://apify.com/lead.gen.labs/real-yellow-pages-usa-version.md
- **Developed by:** [LeadGen Labs](https://apify.com/lead.gen.labs) (community)
- **Categories:** Lead generation
- **Stats:** 130 total users, 0 monthly users, 0.0% runs succeeded, 7 bookmarks
- **User rating**: No ratings yet

## Pricing

from $13.00 / 1,000 business details

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

## Yellow Pages Business Lead Generator: Extract Leads from YellowPages.com

### Introduction

**YellowPages.com** is one of the leading online business directories, providing a comprehensive database of local businesses across the United States. Known for its extensive listings and reliable information, Yellow Pages is a valuable resource for companies and entrepreneurs looking to connect with potential clients, partners, or service providers.

The platform covers a wide range of industries, making it easy for users to find the right business contacts and grow their networks. Whether you’re a business owner, marketer, or sales professional, accessing local business data from Yellow Pages can significantly enhance your lead generation efforts.

#### Popular Business Categories on YellowPages.com

Here are some popular business categories you can find on **YellowPages.com**:

1. **Home Services**: Storage Units, Plumbers, Electricians, Carpet Cleaning Services
2. **Medical Services**: Dentists, Dermatologists, Optometrists, Physical Therapists
3. **Auto Services**: Auto Parts, Oil Change Services, Tire Shops, General Auto Repair
4. **Legal Services**: Bail Bonds, Private Investigators, Stenographers, Divorce Attorneys
5. **Insurance**: Car Insurance, Boat Insurance, Business Insurance, Dental Insurance
6. **Pet Services**: Animal Shelters, Dog Training, Doggy Day Cares, Emergency Vets
7. **Beauty & Personal Care**: Beauty Salons, Nail Salons, Hair Salons, Massage Therapists
8. **Restaurants & Catering**: Restaurants, Catering Services, Seafood Restaurants, Family Restaurants, Italian, Mexican, and Japanese Cuisine
9. **Arts & Entertainment**: Museums, Dance Companies, Talent Agencies, Movie Theaters, Concert Halls
10. **Travel & Recreation**: Car Rentals, Boat Dealers, Boat Rentals, Boat Tours, Theme Parks
11. **Shopping**: Florists, Gift Shops, Pawn Shops, Toy Stores, Factory Outlets
12. **Clothing & Accessories**: Clothing Stores, Dry Cleaners, Jewelers, Bridal Shops, Shoe Stores
13. **Financial Services**: Banks, Accountants, Personal Loans, Mortgage Loans, Financial Advisors
14. **Community & Government**: Churches, Mosques, Temples, Post Offices, Utility Companies, Recycling Centers

This actor is designed to extract valuable data for businesses across these categories, providing contact details, business names, addresses, and other essential information to boost your lead generation efforts.

#### How This Actor Helps

The **Yellow Pages Business Lead Generator** actor is an essential tool for anyone looking to generate leads for local businesses in the United States. With the ability to scrape YellowPages.com for up-to-date information on local businesses, this actor provides targeted leads for a wide variety of industries. Whether you're looking to expand your market, network with local service providers, or promote your own products, this tool will help you efficiently gather business contact data for further outreach.

***

### Features

The **Yellow Pages Business Lead Generator** actor includes the following features:

- **Keyword-Based Extraction**: Allows you to input specific business categories (e.g., "Restaurants," "Healthcare," etc.) and extract leads related to that category.
- **City-Based Extraction**: Input the city you are interested in (e.g., "New York," "Los Angeles," etc.), and the actor will filter results accordingly.
- **Automatic Data Parsing**: Automatically parses business data, such as business names, addresses, phone numbers, emails, and more, making it ready for your marketing or outreach efforts.
- **Customizable Lead Generation**: You can customize your search parameters to focus on specific locations and business types, ensuring that you get the most relevant leads for your needs.
- **High Efficiency and Speed**: Designed to scrape data quickly and efficiently without overwhelming the platform, ensuring smooth operations and timely lead generation.
- **Proxy Support**: Integrated proxy support ensures you can run the actor without any interruptions, even when extracting large amounts of data.
- **Error Handling**: Includes built-in error handling to manage issues such as timeouts or missing data, making sure your extraction runs smoothly.

These features are critical for users in various industries, including marketing, sales, and business development. The actor helps automate the lead generation process, saving valuable time while providing accurate and relevant data.

***

### How to Use

Using the **Yellow Pages Business Lead Generator** actor is simple. Just follow these steps to get started:

1. **Input the Category**: In the actor's input configuration, specify the business category you want to extract data for (e.g., "Restaurants," "Real Estate").
2. **Input the City**: Specify the city where the businesses are located (e.g., "New York," "Los Angeles," etc.).
3. **Run the Actor**: After entering your preferred business category and city, simply run the actor. The actor will start extracting leads and provide the results in a structured format.

This simple process ensures you can gather relevant business leads for your marketing campaigns or sales outreach within minutes.

***

### Feature Additions & Feedback

I am always working to improve the **Yellow Pages Business Lead Generator** actor and would love to hear from you. If you have any suggestions for new features or improvements, feel free to raise an issue.

Contact me for Custom Solution: lead.gen.labs.1@gmail.com

I aim to address any challenges promptly and ensure that the actor meets your lead generation needs.

***

**Stay ahead in the business world with accurate, up-to-date leads from YellowPages.com. Start using the **Yellow Pages Business Lead Generator** today!**

For more details on popular business categories, you can visit the Yellow Pages categories page [here](https://www.yellowpages.com/categories).

***

# Actor input Schema

## `business_category` (type: `string`):

The Category of Business List to search for.

## `city_and_state` (type: `string`):

The City  and State in USA to search in.

## `max_pages` (type: `integer`):

The maximum number of pages to scrape.

## `proxyConfiguration` (type: `object`):

Specifies proxy servers that will be used by the scraper in order to hide its origin.

## Actor input object example

```json
{
  "business_category": "Hotels",
  "city_and_state": "Dallas, Tx",
  "max_pages": 1,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# 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 = {
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("lead.gen.labs/real-yellow-pages-usa-version").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 = { "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    } }

# Run the Actor and wait for it to finish
run = client.actor("lead.gen.labs/real-yellow-pages-usa-version").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 '{
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call lead.gen.labs/real-yellow-pages-usa-version --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,lead.gen.labs/real-yellow-pages-usa-version"
        }
    }
}
```

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/8np5DdhL7DhTuVCEr/builds/yxhfe8bpz4p4K3HEr/openapi.json
