# Whitepages 🔥 People & Leads (`azzouzana/whitepages-scraper`) Actor

Paste a Whitepages name, city, and state from your browser. Names, ages, phones, current and past addresses, relatives, associates, and occupations land in your dataset in seconds. One person is one row. From $1.50/1K 💰 JSON, CSV, Excel, or API. Start now! 🚀

- **URL**: https://apify.com/azzouzana/whitepages-scraper.md
- **Developed by:** [Azzouzana](https://apify.com/azzouzana) (community)
- **Categories:** Lead generation, Business
- **Features:** Limited permissions
- **Stats:** 1 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 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

## Whitepages Scraper — Names, Phones, Addresses & Relatives

Looking up people one page at a time is a time-sink. Enter a name and city and the matching people land in your dataset in seconds.

### Engineering Excellence & Reliability 🚀

- **Name search**: First name, last name, city, and state find the matching people.
- **Full profiles when you want them**: **fetchFullDetails** is on by default. Each person already includes phones, address, relatives, and occupation from the results page, and their own page adds any extra phones and addresses onto that same row. Turn it off for a faster pass over the results.
- **We bypass the website limitation and go beyond it.** Duplicate people are skipped.
- **Large searches keep going** up to your **maxItems**. Pagination is handled for you.
- **Clean exports**: JSON, CSV, Excel, or API. One person is one row.

### 🛠️ How to Play

#### Input Parameters

| Field | Type | Description |
|-------|------|-------------|
| `firstName` | String | **(Required)** First name. Default `John`. |
| `lastName` | String | **(Required)** Last name. Default `Smith`. |
| `city` | String | City. Default `Austin`. |
| `state` | String | Two-letter state code. Default `TX`. |
| `maxItems` | Number | How many people to save. Default 100. Minimum 10. Free accounts are capped at 5 per run. |
| `fetchFullDetails` | Boolean | `true` opens each person and adds any extra phones and addresses to the same row. `false` keeps the results-page person. Default `true`. |

#### Example 1: Names in a city

```json
{
    "firstName": "John",
    "lastName": "Smith",
    "city": "Austin",
    "state": "TX",
    "maxItems": 100,
    "fetchFullDetails": true
}
```

#### Example 2: Maria Garcia in Miami

```json
{
    "firstName": "Maria",
    "lastName": "Garcia",
    "city": "Miami",
    "state": "FL",
    "maxItems": 10,
    "fetchFullDetails": true
}
```

### 🆓 Free tier limitations

We want you to see how this actor works before you commit. To keep things fair for everyone, the **free tier** usually includes these trial limits:

- **Sample data:** up to **5 items** per run—enough to check data quality.
- **Daily cap:** **5 runs** per calendar day (UTC).
- **Between runs:** at least **60 seconds** before you can start another run.

> Limits can change with platform load depending on system load and your intended scraping to prevent what we might interpret as free users abuse.

#### Upgrade when you're ready!

Use the free tier to decide if this actor fits your project. Paid Apify plans remove these wait times and caps so you can run at full volume—[**upgrade to a paid plan**](https://apify.com/pricing?fpr=cbgdsf).

### 📦 What’s in the Box?

A full person is one flat row: name, aliases, age, phones, current address, past addresses, relatives, associates, and occupation. This run had no email addresses, so `emails` is empty.

```json
{
  "source": "whitepages",
  "queryName": "John Smith",
  "queryCity": "Austin",
  "queryState": "TX",
  "profileUrl": "https://www.whitepages.com/name/John-Lee-Smith/New-Braunfels-TX/P2J9e7XKO3w",
  "fullName": "John Lee Smith",
  "firstName": "John",
  "middleName": "Lee",
  "lastName": "Smith",
  "prefix": "",
  "aliases": [
    "John-Thomas Smith",
    "Johnthomas Smith",
    "Jonathan Smith",
    "John Leesmith"
  ],
  "age": "50s",
  "phones": [
    "(325) 643-6156",
    "+1-915-646-9664",
    "+1-512-398-3258"
  ],
  "emails": [],
  "currentStreet": "240 San Saba",
  "currentCity": "New Braunfels",
  "currentState": "TX",
  "currentZip": "78130",
  "currentAddress": "240 San Saba, New Braunfels, TX 78130",
  "pastAddresses": [
    "Lockhart, TX",
    "1306 Aspen, Lockhart, TX 78644"
  ],
  "relatives": [
    "Ollie Smith",
    "Patricia R Smith",
    "Vickie L Smith",
    "Codie E Smith",
    "Vicki L Wheeler",
    "Chad Alan Smith",
    "Lisa Marie Smith Garza",
    "Johnny M Smith",
    "Elena Doan Smith",
    "Doyle A Smith",
    "Rebecca J Greggs",
    "Burlin D Smith",
    "Claudia H Smith",
    "Terry Lee Smith",
    "Kristi Lyn Huxford",
    "Melody Dawn Simmons",
    "Sherri Denise Gabriel",
    "Patricia Smith"
  ],
  "associates": [
    "David Lee Huggins",
    "Treva D Matthaei",
    "Harvey R Curry",
    "Jack Obrien Matthaei",
    "Monelle Martha Manley",
    "David Huggins"
  ],
  "spouse": "",
  "occupation": "Billing & Marketing at Watson & Company Construction"
}
```

### Contact 📬

**Need a custom solution? Have a feature request or just want to chat?**
We'd love to hear from you!

- 💬 **Discord**: `@azzouzana`
- 📧 **Email**: <labs@azzouzana.com>

### ⚠️ Disclaimer

This actor is not affiliated with Whitepages. It collects publicly available information. You are responsible for complying with Whitepages' terms and with applicable laws. Read more about the legality of web scraping on the [Apify blog](https://blog.apify.com/is-web-scraping-legal?fpr=cbgdsf).

### Keywords

Whitepages, people search, phone numbers, addresses, relatives, associates, occupation, skip trace, contact enrichment, US public records, lead generation

# Actor input Schema

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

First name.

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

Last name.

## `city` (type: `string`):

City for the name search.

## `state` (type: `string`):

Two-letter state code, for example TX.

## `maxItems` (type: `integer`):

Maximum people to save. The effective limit also respects the run budget and the free-tier cap (5 for free users).

## `fetchFullDetails` (type: `boolean`):

Open each person and add any extra phones and addresses from their page. The search page already includes the full person.

## Actor input object example

```json
{
  "firstName": "John",
  "lastName": "Smith",
  "city": "Austin",
  "state": "TX",
  "maxItems": 100,
  "fetchFullDetails": true
}
```

# Actor output Schema

## `results` (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 = {
    "firstName": "John",
    "lastName": "Smith",
    "city": "Austin",
    "state": "TX",
    "maxItems": 100,
    "fetchFullDetails": true
};

// Run the Actor and wait for it to finish
const run = await client.actor("azzouzana/whitepages-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 = {
    "firstName": "John",
    "lastName": "Smith",
    "city": "Austin",
    "state": "TX",
    "maxItems": 100,
    "fetchFullDetails": True,
}

# Run the Actor and wait for it to finish
run = client.actor("azzouzana/whitepages-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 '{
  "firstName": "John",
  "lastName": "Smith",
  "city": "Austin",
  "state": "TX",
  "maxItems": 100,
  "fetchFullDetails": true
}' |
apify call azzouzana/whitepages-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,azzouzana/whitepages-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/DEzK5EX9YmbswWR5w/builds/T6iJoclJzAHNJz4Ud/openapi.json
