# Expertise.com Scraper (`piotrv1001/expertise-com-scraper`) Actor

The Expertise.com Scraper extracts ranked local-business listings from Expertise.com directories, capturing business names, websites, phones, full addresses, editorial ranks, ratings, license details and cross-platform review links — ideal for B2B lead generation and local market research.

- **URL**: https://apify.com/piotrv1001/expertise-com-scraper.md
- **Developed by:** [FalconScrape](https://apify.com/piotrv1001) (community)
- **Categories:** Lead generation, Automation, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 provider records

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 a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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 Scraper

Extract ranked local-business and professional listings from [Expertise.com](https://www.expertise.com) — the popular **"Best X in {City}"** directory covering lawyers, roofers, financial advisors, insurance agents, dentists, marketing agencies, and dozens of other categories across the United States.

The **Expertise.com Scraper** turns any listing, category, or sitemap page into a clean, structured dataset of vetted businesses — complete with **website, phone, full address, editorial rank, ratings, license details, named practitioners, and cross-platform review links**. Run it on demand or on a schedule, access results via API, and export to JSON, CSV, or Excel — all on the Apify platform.

### ✨ Features

- 📇 **Complete business records** — business name, full address, phone, and website for every ranked provider.
- 🥇 **Editorial rank & scores** — the provider's position on the page plus Expertise.com's internal score.
- ⚖️ **License & practitioner data** — license number, status, licensing body, and named team members with their license dates (great for legal, finance, and insurance niches).
- ⭐ **Cross-platform reviews** — aggregated rating and review count, plus direct links to Google, Yelp, Facebook, Avvo, and more.
- 🏷️ **Practice areas & categories** — every service tag, plus the category and sub-category each provider was ranked in.
- 🌐 **Flexible inputs** — start from a single city listing, a whole sub-category, or a sitemap to scrape thousands of listings at once.
- ⚡ **Fast & lightweight** — extracts ~15 providers per page in well under a second, with no proxy required.

### 🛠️ How to use the Expertise.com Scraper

1. **Add start URLs** — paste one or more Expertise.com URLs: a ranked listing page (e.g. _Best Divorce Lawyers in Dallas_), a category/sub-category page, or a sitemap URL.
2. **Set a limit** — choose how many provider records you want with **Max items** (default 50).
3. **Run the Actor** — click **Start** and watch results stream into the dataset in real time.
4. **Export your data** — download the dataset as JSON, CSV, Excel, or HTML, or pull it through the Apify API.

### 🔗 Input

| Field                   | Description                                                                      |
| ----------------------- | -------------------------------------------------------------------------------- |
| **Start URLs**          | Expertise.com listing, category, or sitemap URLs to scrape.                      |
| **Max items**           | Maximum number of provider records to return (set `0` for no limit).             |
| **Proxy configuration** | Optional. Scraping works without a proxy; enable one only for very large crawls. |

Example input:

```json
{
    "startUrls": [{ "url": "https://www.expertise.com/legal/divorce-lawyers/texas/dallas" }],
    "maxItems": 50
}
````

### 📊 Sample Output Data

Each provider is saved as one structured record. Example:

```json
{
    "businessName": "Family Law of North Texas, PLLC",
    "category": "legal",
    "subcategory": "divorce-lawyers",
    "rank": 1,
    "streetAddress": "5800 Tennyson Pkwy, Suite 675",
    "city": "Plano",
    "state": "TX",
    "zipCode": "75024",
    "fullAddress": "5800 Tennyson Pkwy, Suite 675, Plano, TX, 75024",
    "phone": "9034024033",
    "website": "https://www.familylawofnorthtexas.com/",
    "rating": 4.9,
    "reviewCount": 30,
    "expertiseScore": 4.9,
    "licenseNumber": "24063262",
    "licenseStatus": "Active",
    "licensingBody": "State Bar of Texas",
    "practiceAreas": ["Divorce", "Child Custody", "Child Support", "Prenuptial Agreements"],
    "members": [
        {
            "name": "Halina Radchenko - Principal",
            "contactName": "Halina Radchenko",
            "title": "Principal",
            "licenseDate": "2022-10-20T00:00:00.000Z"
        }
    ],
    "reviewSources": {
        "google": { "profile": "https://maps.app.goo.gl/Sv5EH8y6jexkFBLn8", "count": 30, "score": 4.9 }
    },
    "sourceUrl": "https://www.expertise.com/legal/divorce-lawyers/texas/dallas"
}
```

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.

### 🗂️ Data fields

| Field                                                      | Description                                                                     |
| ---------------------------------------------------------- | ------------------------------------------------------------------------------- |
| `businessName`                                             | Name of the business / firm.                                                    |
| `category` / `subcategory`                                 | Top-level category and service sub-category (e.g. `legal` / `divorce-lawyers`). |
| `rank`                                                     | The provider's editorial position on the listing page.                          |
| `streetAddress`, `city`, `state`, `zipCode`, `fullAddress` | Business location.                                                              |
| `phone`                                                    | Public phone number.                                                            |
| `website`                                                  | Business website URL.                                                           |
| `description`                                              | Editorial summary of the provider.                                              |
| `rating`, `reviewCount`                                    | Aggregated rating and total number of reviews.                                  |
| `expertiseScore`                                           | Expertise.com's internal score.                                                 |
| `licenseNumber`, `licenseStatus`, `licensingBody`          | Professional licensing details, when available.                                 |
| `practiceAreas`                                            | List of service / practice-area tags.                                           |
| `members`                                                  | Named practitioners with title and license date.                                |
| `reviewSources`                                            | Per-platform review links and counts (Google, Yelp, Facebook, Avvo, etc.).      |
| `logo`, `images`                                           | Provider logo and image URLs.                                                   |
| `sourceUrl`                                                | The listing page the record came from.                                          |

### 💰 How much does it cost to scrape Expertise.com?

This Actor uses a transparent **pay-per-event** pricing model:

| Event                | Price (USD) |
| -------------------- | ----------- |
| Actor start          | $0.10       |
| Each provider record | $0.002      |

A default run of **50 records costs about $0.20**, and **1,000 records costs about $2.10**. New Apify accounts include free monthly usage credits, so you can try the Actor at no cost.

### ⚙️ Tips & advanced options

- **Scrape a whole category** — pass a sitemap URL such as `https://www.expertise.com/category/sitemap/legal.xml` to enqueue every city listing in that category, then cap the volume with **Max items**.
- **Target a niche** — use a sub-category page like `https://www.expertise.com/home-improvement/roofing/illinois/chicago` to pull every ranked provider for one service in one city.
- **Combine many cities** — add multiple start URLs in a single run to build a multi-market lead list.
- **Schedule it** — use Apify Schedules to refresh your directory data automatically.

### ❓ FAQ, disclaimers & support

**Is scraping Expertise.com legal?**
This Actor collects only publicly available information. As with any web scraping, you are responsible for how you use the data and for complying with applicable laws (including data-protection regulations) and the target site's Terms of Service. It does not collect private email addresses — Expertise.com exposes leads through contact forms only, so treat the output as a **business-discovery** dataset.

**Does it need a proxy?**
No. The site has no anti-bot protection, so runs work out of the box. A proxy is offered only as an option for very large crawls.

**Something not working?**
Report issues or request features through the **Issues** tab on the Actor's page. Custom requirements? Reach out — tailored solutions are available.

# Actor input Schema

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

Expertise.com pages to scrape. Use a ranked listing page (e.g. a 'Best Divorce Lawyers in Dallas' page), a category or sub-category page, or a sitemap URL to scrape many listings at once.

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

Maximum number of provider records to scrape. Set to 0 for no limit.

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

Optional proxy settings. Scraping works fine without a proxy; enable one only if you run very large crawls.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.expertise.com/legal/divorce-lawyers/texas/dallas"
    }
  ],
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# 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 = {
    "startUrls": [
        {
            "url": "https://www.expertise.com/legal/divorce-lawyers/texas/dallas"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("piotrv1001/expertise-com-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/legal/divorce-lawyers/texas/dallas" }] }

# Run the Actor and wait for it to finish
run = client.actor("piotrv1001/expertise-com-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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/legal/divorce-lawyers/texas/dallas"
    }
  ]
}' |
apify call piotrv1001/expertise-com-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=piotrv1001/expertise-com-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Expertise.com Scraper",
        "description": "The Expertise.com Scraper extracts ranked local-business listings from Expertise.com directories, capturing business names, websites, phones, full addresses, editorial ranks, ratings, license details and cross-platform review links — ideal for B2B lead generation and local market research.",
        "version": "0.0",
        "x-build-id": "0eVceBQwpxgL6D0UC"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/piotrv1001~expertise-com-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-piotrv1001-expertise-com-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/piotrv1001~expertise-com-scraper/runs": {
            "post": {
                "operationId": "runs-sync-piotrv1001-expertise-com-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/piotrv1001~expertise-com-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-piotrv1001-expertise-com-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "startUrls"
                ],
                "properties": {
                    "startUrls": {
                        "title": "Start URLs",
                        "type": "array",
                        "description": "Expertise.com pages to scrape. Use a ranked listing page (e.g. a 'Best Divorce Lawyers in Dallas' page), a category or sub-category page, or a sitemap URL to scrape many listings at once.",
                        "items": {
                            "type": "object",
                            "required": [
                                "url"
                            ],
                            "properties": {
                                "url": {
                                    "type": "string",
                                    "title": "URL of a web page",
                                    "format": "uri"
                                }
                            }
                        }
                    },
                    "maxItems": {
                        "title": "Max items",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Maximum number of provider records to scrape. Set to 0 for no limit.",
                        "default": 50
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Optional proxy settings. Scraping works fine without a proxy; enable one only if you run very large crawls.",
                        "default": {
                            "useApifyProxy": false
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
