# USPhonebook 🔥 People & Leads (`azzouzana/usphonebook-scraper`) Actor

Search USPhonebook by name and city. People, ages, current cities, past addresses, and relatives land in your dataset in seconds, one person per row, ready to export for outreach and lead lists. From $1/1K 💰 Clean JSON, CSV, Excel, or API. Start now! 🚀

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

## Pricing

from $1.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

## USPhonebook Scraper — Names, Cities, Relatives & Addresses

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 and city search**: Fill in a first name, last name, city, and state.
- **Full profiles by default**: Each result opens that person's page and saves phones, emails, the street address, past addresses, relatives, and occupation. Turn **fetchFullDetails** off to keep the shorter result card.
- **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 | State name or two-letter 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's page and saves phones, emails, the street address, past addresses, relatives, and occupation. `false` keeps the result card. Default `true`. |

#### Example 1: John Smith in Austin

```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?

One person from a name and city search, with the profile opened. The row includes phones, emails, the current street address, past addresses, relatives, and occupation.

```json
{
  "source": "usphonebook",
  "queryName": "John Smith",
  "queryCity": "Austin",
  "queryState": "TX",
  "profileUrl": "https://www.usphonebook.com/john-smith/U1QzMzMTM0gDNxQzM1EzMzgzN10yR",
  "fullName": "John Henry 2 Smith",
  "firstName": "John",
  "middleName": "Henry 2",
  "lastName": "Smith",
  "prefix": "",
  "aliases": [],
  "age": 59,
  "phones": [
    "(901) 363-1920",
    "(901) 832-3688",
    "(662) 895-1077",
    "(601) 316-6933",
    "(901) 262-6875",
    "(361) 592-3020",
    "(901) 358-4303",
    "(901) 452-3728"
  ],
  "emails": [
    "john.smith@fedex.com",
    "johnsmith456773@gmail.com",
    "isoniquemims83@yahoo.com"
  ],
  "currentStreet": "6782 Laughing Gull LN",
  "currentCity": "Olive Branch",
  "currentState": "MS",
  "currentZip": "38654",
  "currentAddress": "6782 Laughing Gull LN, Olive Branch, MS, 38654",
  "pastAddresses": [
    "4390 Betty Jane Cv, Olive Branch, MS, 38654",
    "6226 E Shelby DR, Memphis, TN, 38141",
    "305 Watterson ST, Rogersville, TN, 37857",
    "984 Shadowline DR, Memphis, TN, 38109"
  ],
  "relatives": [
    "Stephanie Smith",
    "Bianca Bowdery",
    "Brian Smith",
    "Jazmin Smith",
    "John O'Brien",
    "John Smith",
    "Judith Pugh",
    "Rochelle Weathers",
    "Shamone Johnson",
    "Sophia Smith",
    "Teressa Mckenzie",
    "Tiffany Smith",
    "Timothy Smith",
    "Wayne Smith",
    "Albert Weathers",
    "Angelique Smith",
    "Anthony Mckenzie",
    "Barbara Smith",
    "Christopher Pugh",
    "Concetta Harris",
    "Danita King",
    "Flonnie Clinton",
    "Gilvanni Johnson",
    "James O'Brien",
    "James Smith",
    "Jean O'Brien",
    "Jesse Smith",
    "Joann Smith",
    "Justin O'Brien",
    "Loamma Smith",
    "Meshee Smith",
    "Morgan Robinson",
    "Ralph Smith",
    "Rita O'Brien",
    "Robin Smith",
    "Rosa Smith",
    "Sandra Johnson",
    "Shanae Johnson",
    "Trinaca Logan"
  ],
  "associates": [],
  "spouse": "",
  "occupation": "Chief Operating Officer Us And Canada Ground Operations at Fed*****"
}
```

### 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 USPhonebook. It collects publicly available information. You are responsible for complying with USPhonebook's 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

USPhonebook, people search, person lookup, contact leads, relatives, addresses, skip tracing, lead generation, public records, name search

# Actor input Schema

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

First name.

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

Last name.

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

City, such as Austin.

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

State name or two-letter code, such as 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 save the full profile: phones, emails, current street address, past addresses, relatives, and occupation. Leave this off for a faster list of names, ages, and cities.

## 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/usphonebook-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/usphonebook-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/usphonebook-scraper --silent --output-dataset

```

## MCP server setup

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