# HomeAdvisor Pro Directory Scraper (`jungle_synthesizer/homeadvisor-pro-directory-scraper`) Actor

Extract home-services pro business listings from HomeAdvisor's directory by trade and location: business name, rating, review count, years in business, screening status, and service area.

- **URL**: https://apify.com/jungle\_synthesizer/homeadvisor-pro-directory-scraper.md
- **Developed by:** [BowTiedRaccoon](https://apify.com/jungle_synthesizer) (community)
- **Categories:** Lead generation, Jobs, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.40 / 1,000 record scrapeds

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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## HomeAdvisor Pro Directory Scraper

Extract home-services pro business listings from HomeAdvisor's directory, by trade and city.
Get business name, star rating, review count, years in business, HomeAdvisor's Approved
screening badge, and service area for every pro listed under a trade in a city you choose.

### What it does

HomeAdvisor lists screened home-service professionals — roofers, plumbers, remodelers, movers,
and 29 other trades — for cities across the US. This actor reads that directory for you: pick one
or more trades and one or more cities, and it returns every pro listing it finds, paginating
through the full result set up to your `maxItems` cap.

**Example use cases:**

- Build a prospect list of contractors in a specific trade and metro for B2B outreach
- Track a market's pro count, average rating, and screening rate over time
- Benchmark a specific business's rating and review count against local competitors
- Feed a local-services lead list or directory aggregator

### Input

| Field       | Type            | Description |
|-------------|-----------------|-------------|
| `trades`    | Array of enums  | Trades to crawl (e.g. `Roofing`, `Additions-Remodeling`, `Painting`). Leave empty to crawl all 33 trades HomeAdvisor lists. |
| `locations` | Array of strings| **Required.** One or more `"City, ST"` entries (e.g. `"Chicago, IL"`, `"Los Angeles, CA"`). Spelling/capitalization must match how HomeAdvisor lists the city. |
| `maxItems`  | Integer         | Maximum number of pro listings to save, across every selected trade and location combination. |

**Example input:**

```json
{
  "trades": ["Roofing", "Additions-Remodeling"],
  "locations": ["Chicago, IL", "Denver, CO"],
  "maxItems": 100
}
```

### Output

Each record is one pro listing:

| Field                | Description |
|-----------------------|-------------|
| `id`                  | Numeric HomeAdvisor business id |
| `business_name`       | Business/pro name as listed on HomeAdvisor |
| `trade`               | Trade this listing was crawled under |
| `city`                | City searched |
| `state`               | Two-letter state abbreviation searched |
| `profile_url`         | HomeAdvisor pro profile URL |
| `rating`               | Average star rating (0-5), when the pro has reviews |
| `review_count`        | Number of reviews backing the rating |
| `years_in_business`   | Years in business, when HomeAdvisor discloses it |
| `screened_approved`   | Whether the listing carries HomeAdvisor/Angi's Approved screening badge |
| `service_area`        | Free-text service area shown on the listing (e.g. "Serving Chicago, IL and surrounding areas") |
| `scrapedAt`           | ISO-8601 timestamp when the record was scraped |

**Example output record:**

```json
{
  "id": "129943266",
  "business_name": "Five Sons Roofing Co.",
  "trade": "Roofing",
  "city": "Denver",
  "state": "CO",
  "profile_url": "https://www.homeadvisor.com/rated.FiveSonsRoofingCo.129943266.html",
  "rating": 4.8,
  "review_count": 27,
  "years_in_business": 31,
  "screened_approved": true,
  "service_area": "Serving Denver, CO and surrounding areas",
  "scrapedAt": "2026-08-20T06:18:14.925Z"
}
```

### Notes

- HomeAdvisor is a lead-generation marketplace, not a classic contact directory — it does not
  publish a pro's phone number or website on either the listing or the profile page; contact
  happens through HomeAdvisor's own "Request Quote" flow. This actor does not carry a `phone` or
  `website` field for that reason.
- `rating` and `review_count` are absent (`null`) for pros with no reviews yet — that's real,
  not missing data.
- `trades` and `locations` fan out as a cross product: 2 trades x 2 locations = 4 combinations,
  each paginated independently up to your `maxItems` budget.

### Resuming a large crawl

Every run emits a `resumeCursor` in its Output. If a large crawl stops before it finishes —
because it hit `maxItems`, your spend cap (`maxTotalChargeUsd`), or was aborted — start a new run
with **the same input** plus that `resumeCursor` to continue from where it left off. The crawl
resumes from the queued work the previous run didn't reach.

- You are **not re-charged** for records the earlier run already delivered.
- Resume within your account's run-retention window — on the free tier, roughly your 10 most
  recent runs. Once the source run is pruned, its `resumeCursor` is no longer valid.
- `resumeCursor` is opaque — supply it unmodified.

### FAQ

#### How do I scrape HomeAdvisor's pro directory?

Set `locations` to one or more `"City, ST"` entries, optionally narrow `trades` to specific
services, and set `maxItems`. The actor returns every matching pro listing as structured JSON —
no need to know HomeAdvisor's category taxonomy or URL structure ahead of time.

#### Does this include every pro HomeAdvisor has for a trade/city?

Up to `maxItems`, yes — the actor paginates through HomeAdvisor's own result count for that trade
and city combination.

# Actor input Schema

## `sp_intended_usage` (type: `string`):

What will this data feed? E.g. lead lists, KYB checks, price tracking.

## `sp_improvement_suggestions` (type: `string`):

Provide any feedback or suggestions for improvements.

## `sp_contact` (type: `string`):

We'll personally help with your use case. No spam.

## `resumeCursor` (type: `string`):

Leave empty for a fresh crawl. To CONTINUE a previous run where it stopped — without paying again for records you already received — paste the `resumeCursor` value from that run's Output (the run's OUTPUT key). Resume promptly: the previous run's data expires with your account's retention window (free tier: your ~10 most recent runs).

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

Maximum number of pro listings to save across all selected trades and locations.

## `trades` (type: `array`):

Service trades to crawl (HomeAdvisor category). Leave empty to crawl all 33 trades.

## `locations` (type: `array`):

US city + state to search, one per entry, formatted "City, ST" (e.g. "Chicago, IL", "Los Angeles, CA"). Matched against HomeAdvisor's own city pages, so the spelling/capitalization must match how HomeAdvisor lists the city. Required — HomeAdvisor's directory has no single all-cities index to crawl.

## Actor input object example

```json
{
  "sp_intended_usage": "Describe your intended use...",
  "sp_improvement_suggestions": "Share your suggestions here...",
  "sp_contact": "Share your email here...",
  "maxItems": 10,
  "locations": [
    "Chicago, IL"
  ]
}
```

# 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 = {
    "sp_intended_usage": "Describe your intended use...",
    "sp_improvement_suggestions": "Share your suggestions here...",
    "sp_contact": "Share your email here...",
    "maxItems": 10,
    "locations": [
        "Chicago, IL"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("jungle_synthesizer/homeadvisor-pro-directory-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 = {
    "sp_intended_usage": "Describe your intended use...",
    "sp_improvement_suggestions": "Share your suggestions here...",
    "sp_contact": "Share your email here...",
    "maxItems": 10,
    "locations": ["Chicago, IL"],
}

# Run the Actor and wait for it to finish
run = client.actor("jungle_synthesizer/homeadvisor-pro-directory-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 '{
  "sp_intended_usage": "Describe your intended use...",
  "sp_improvement_suggestions": "Share your suggestions here...",
  "sp_contact": "Share your email here...",
  "maxItems": 10,
  "locations": [
    "Chicago, IL"
  ]
}' |
apify call jungle_synthesizer/homeadvisor-pro-directory-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,jungle_synthesizer/homeadvisor-pro-directory-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/JEpebB3TeSgxqtEsg/builds/rjlwgz1mz3yXHCIaI/openapi.json
