# Expertise.com Local Business Leads Scraper (`achieved_emancipation/expertise-leads-scraper`) Actor

Extract ranked local service businesses from Expertise.com — business name, phone, website, full address, star rating, review counts and per-source ratings. Built for lead generation and market research.

- **URL**: https://apify.com/achieved\_emancipation/expertise-leads-scraper.md
- **Developed by:** [Navenan](https://apify.com/achieved_emancipation) (community)
- **Categories:** Lead generation, Business
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

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

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#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

## Expertise.com Local Business Leads Scraper

Extract **ranked local service businesses** from [Expertise.com](https://www.expertise.com) — the directory that publishes "Best \[profession] in \[city]" lists across 200+ industries and thousands of US cities.

Perfect for **lead generation, sales prospecting, competitor research, and local market analysis**. Every record is pulled from the page's structured data, so it's clean and reliable.

### What you get for every business

| Field | Example |
|---|---|
| `businessName` | Bluefrog Plumbing + Drain of West Houston |
| `phone` | +12813770029 |
| `website` | (business website link) |
| `streetAddress` | 10645 Richmond Ave #140 |
| `city` / `state` / `postalCode` | Houston / TX / 77042 |
| `rating` | 4.84 |
| `reviewCount` | 806 |
| `ratingsBySource` | `{ "Google": 4.9, "Yelp": 4.3, "Facebook": 4.6, "HomeAdvisor": 4.8 }` |
| `description` | Full business summary |
| `category` / `profession` | Home Improvement / Plumbing |
| `rankInList` | 1 (position in the "best of" list) |
| `expertiseProfileUrl` | Link to the Expertise.com profile |

### How to use it

Paste one or more Expertise.com URLs into **Expertise.com URLs**:

- **A city page** → scrapes that city's ranked businesses:
  `https://www.expertise.com/home-improvement/plumbing/texas/houston`
- **A profession page** → automatically crawls every city it links to:
  `https://www.expertise.com/home-improvement/plumbing`

Optional settings:

- **Max results** — cap the total number of leads (0 = no limit).
- **Max pages to crawl** — safety cap when auto-crawling a profession across many cities.
- **Proxy** — Apify Proxy is recommended for large crawls.

### Example use cases

- **Agencies & B2B sellers** — build targeted lists of plumbers, roofers, dentists, lawyers, financial advisors, and 200+ other categories, by city.
- **Market research** — see who ranks in each metro, with ratings and review volume.
- **Data enrichment** — phone + address + website + multi-source ratings in one row.

### Categories available on Expertise.com

Home improvement (plumbing, roofing, HVAC, electricians, remodeling…), legal (many practice areas), finance, insurance, business services, health, lifestyle, and more — each split by city.

### Notes

- Data is extracted from Expertise.com's public listing pages (structured `schema.org` data).
- Please scrape responsibly and comply with Expertise.com's terms and applicable laws. Collect public business information only.

# Actor input Schema

## `startUrls` (type: `array`):

Expertise.com pages to scrape. Paste a CITY page to get that city's ranked businesses (e.g. https://www.expertise.com/home-improvement/plumbing/texas/houston), or a PROFESSION page to auto-crawl every city it links to (e.g. https://www.expertise.com/home-improvement/plumbing).

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

Maximum number of business leads to return across the whole run. Set 0 for no limit.

## `maxCrawlPages` (type: `integer`):

Safety cap on how many listing/index pages to open when auto-crawling a profession across many cities. Ignored for single city pages.

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

Proxy settings. Apify Proxy is recommended to avoid rate-limiting on large crawls.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.expertise.com/home-improvement/plumbing/texas/houston"
    }
  ],
  "maxItems": 0,
  "maxCrawlPages": 500,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# 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 = {
    "startUrls": [
        {
            "url": "https://www.expertise.com/home-improvement/plumbing/texas/houston"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("achieved_emancipation/expertise-leads-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 = { "startUrls": [{ "url": "https://www.expertise.com/home-improvement/plumbing/texas/houston" }] }

# Run the Actor and wait for it to finish
run = client.actor("achieved_emancipation/expertise-leads-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 '{
  "startUrls": [
    {
      "url": "https://www.expertise.com/home-improvement/plumbing/texas/houston"
    }
  ]
}' |
apify call achieved_emancipation/expertise-leads-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,achieved_emancipation/expertise-leads-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/HDEhztd6xRuzRlwi7/builds/zRk8fepvo9fPyl3B6/openapi.json
