# BBB Scraper (`scrapewise/bbb-scraper`) Actor

Scrape BBB businesses by search term and city: BBB rating, accreditation, category, company phone, address, website and complaint counts. No login.

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

## Pricing

from $0.76 / 1,000 business delivereds

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

## BBB Scraper: BBB ratings, accreditation, phones and websites by search and city

This BBB scraper collects **businesses from Better Business Bureau (bbb.org) search results and company profiles**, with no account needed. Give it a search term and a city, or paste a bbb.org search link or company link, and get one clean row per business: **BBB rating (A+, A, ...), accreditation, category, company phone, address, website, complaints in the last 3 years and review count**, plus the company's own description when BBB publishes one.

Use it to build lead lists of local service companies (plumbers, roofers, dentists, lawyers), check how many complaints a list of companies has, or track which companies hold BBB accreditation in a city.

### At a glance

| What | Price |
|---|---|
| Business delivered (with its full BBB profile) | **US$ 1.00 per 1,000 businesses** (US$ 0.001 each) |
| Run start | US$ 0.005 per run |

- 20 plumbers in Dallas, TX = 20 businesses = **US$ 0.02**, plus the run start.
- Error rows and duplicate businesses are never charged. A row where BBB refused the company page is delivered without the profile fields and is not charged either.
- `maxItems` is a hard cap for the whole run. A spending limit set on the run stops it cleanly with everything delivered so far.

### Quick start

Search for plumbers in Dallas, TX:

```json
{
  "searchTerms": ["plumber"],
  "location": "Dallas, TX",
  "maxItems": 20
}
```

Or paste links from bbb.org. A search link and a company link can be mixed in the same run:

```json
{
  "startUrls": [
    "https://www.bbb.org/search?find_text=roofing&find_loc=Austin%2C%20TX",
    "https://www.bbb.org/us/tx/lubbock/profile/plumber/mr-plumber-0875-65619"
  ],
  "maxItems": 50
}
```

Leave everything empty and the Actor runs an example search for plumbers in Dallas, TX.

### Input

| Field | Type | What it does |
|---|---|---|
| `searchTerms` | list of strings | Words to search on bbb.org, one per line (plumber, dentist, roofing contractor). |
| `location` | string | Optional city and state, for example `Dallas, TX`. Empty = the whole United States. Applies to every search term. |
| `startUrls` | list of strings | bbb.org search links (`https://www.bbb.org/search?find_text=...`) or company profile links (`https://www.bbb.org/us/<state>/<city>/profile/...`). Paging is handled for you. |
| `maxItems` | integer | Hard cap for the whole run, across all search terms and links. Default 50. 0 = no cap. |
| `proxyConfiguration` | object | Proxy settings. The default works for most runs. |

### Output

One row per business. Every row has the same fields, and empty values are `null` or `[]`.

| Field | Example | Notes |
|---|---|---|
| `businessName` | `Tribeca Plumbing, Inc.` | Name on the BBB profile. |
| `businessId` | `90842791` | BBB business number. |
| `bbbRating` | `A+` | BBB letter rating. |
| `accredited` | `true` | BBB accreditation status. |
| `accreditedSince` | `2024-07-01` | Date the BBB accreditation started, when shown. |
| `yearsInBusiness` | `9` | As shown on the BBB profile. |
| `foundedDate` | `2017-01-04` | Founding date, when shown. |
| `entityType` | `Corporation` | Type of entity (LLC, Corporation...), when shown. |
| `category` | `Plumber` | First BBB category. |
| `categories` | `["Plumber", "Electrician", ...]` | All BBB categories of the business. |
| `bbbOffice` | `BBB serving North Central Texas` | The local BBB office that handles the business. |
| `complaintsLast3Years` | `4` | Number of complaints filed in the last 3 years. Complaint text is not collected. |
| `reviewCount` | `15` | Number of BBB customer reviews. Review text and reviewer names are not collected. |
| `companyPhone` | `(214) 402-5454` | Business phone number from the company profile. |
| `website` | `https://www.tribecaplumbinginc.com/` | The website the company lists on its BBB profile. |
| `street`, `city`, `state`, `postalCode`, `country` | `6211 W Northwest Hwy Ste C251`, `Dallas`, `TX`, `75225-3460`, `US` | Business address. |
| `about` | `This business offers plumbing services...` | The business description, when the company wrote one. |
| `profileUrl` | `https://www.bbb.org/us/tx/dallas/profile/plumber/...` | The company's BBB profile page. |
| `searchTerm`, `searchLocation` | `plumber`, `Dallas, TX` | The search that found the business. Empty for a company link. |
| `page`, `position` | `1`, `5` | Page and position in the BBB search results. |
| `profileError` | `null` | Set when the search card was delivered but the company page could not be read (not charged). |
| `scrapedAt` | `2026-11-05T13:56:16Z` | When the row was collected (UTC). |
| `errorCode`, `error` | `null`, `null` | Filled only on error rows. |

Example row from a run with `searchTerms: ["plumber"]`, `location: "Dallas, TX"`, `maxItems: 20`:

```json
{
  "type": "business",
  "businessName": "Tribeca Plumbing, Inc.",
  "businessId": "90842791",
  "bbbRating": "A+",
  "accredited": true,
  "accreditedSince": "2024-07-01",
  "yearsInBusiness": 9,
  "foundedDate": "2017-01-04",
  "entityType": "Corporation",
  "category": "Plumber",
  "categories": ["Plumber", "Electrician", "Air Conditioning Contractors", "Sewer Cleaning", "Water Heater Repair", "Tankless Water Heaters", "Commercial Plumber", "Water Heater Dealers"],
  "bbbOffice": "BBB serving North Central Texas",
  "complaintsLast3Years": 4,
  "reviewCount": 15,
  "companyPhone": "(214) 402-5454",
  "website": "https://www.tribecaplumbinginc.com/",
  "street": "6211 W Northwest Hwy Ste C251",
  "city": "Dallas",
  "state": "TX",
  "postalCode": "75225-3460",
  "country": "US",
  "about": null,
  "profileUrl": "https://www.bbb.org/us/tx/dallas/profile/plumber/tribeca-plumbing-inc-0875-90842791",
  "searchTerm": "plumber",
  "searchLocation": "Dallas, TX",
  "page": 1,
  "position": 5,
  "profileError": null,
  "scrapedAt": "2026-11-05T13:56:16Z",
  "errorCode": null,
  "error": null
}
```

### Errors you may see

Error rows have `type: "error"` and an `errorCode`. They are never charged.

| Code | Meaning |
|---|---|
| `INVALID_INPUT` | An input value is not valid, for example a `maxItems` that is not a number. The message says which one. |
| `INVALID_URL` | The link is not a bbb.org search link or company profile link. Category pages are not supported yet. |
| `NOT_FOUND` | The company profile link does not exist any more. |
| `NO_RESULTS` | The search returned no businesses. Try a broader term or drop the location. |
| `BLOCKED` | BBB refused every attempt for this search or profile. Run it again in a few minutes. |
| `NOT_REACHED` | The run was close to its timeout, so this link was not started. Raise the run timeout to get the rest. |
| `UNEXPECTED` | Something unexpected happened. The run keeps everything delivered before it. |

Rows with a `profileError` (`NO_PROFILE_LINK`, `BLOCKED`, `PROFILE_NOT_FOUND`, `PROFILE_UNREADABLE`, `PROFILE_SKIPPED`) carry the search card fields (name, rating, phone, city). They are not charged, and the company can be fetched again with its profile link.

### Limits to know

- **BBB shows up to 15 result pages per search** (about 225 businesses). For a bigger list, split the search by city (`location`), by a more specific term, or run several searches.
- Complaint and review **text** is not collected, only the counts. Reviewer names and the names of owners, managers and principal contacts are never collected.
- A company with no website on its profile has `website: null`. Companies that write no description have `about: null`.
- Results are the public BBB listing at the time of the run. Ratings and accreditation change on BBB's side, so run it again to refresh them.

### Integrations, scheduling and AI agents

- **Schedules:** run it weekly to watch a city for new accredited businesses or changing ratings.
- **Export:** download the dataset as JSON, CSV, Excel or HTML from the run page, or read it through the API.
- **Make, n8n, Zapier:** connect the Apify app and send each run's rows to a sheet or CRM.
- **Apify MCP server:** let an AI agent call the Actor with `searchTerms` and `location` and read the rows back.

### FAQ

**Does it need a BBB account or a login?**
No. It reads the public search pages and company profiles.

**Why do some companies have no category or address?**
BBB does not publish those fields for every company. The row keeps what BBB shows and leaves the rest empty.

**Can I get every plumber in the United States?**
Not in one search, because BBB stops at 15 pages per search. Split the work by city and state and run one search per city.

**Are phone numbers personal?**
The `companyPhone` field is the business phone from the company profile. Personal contact details are not collected.

**What does a run cost?**
US$ 0.001 for each business delivered, plus US$ 0.005 for the run start. A run of 200 businesses costs about US$ 0.20 plus the start.

### Limitations

- Only the first 15 pages of any search are reachable (about 225 businesses per search).
- BBB category pages are not read directly yet. Use a search link or a company link.
- Reviews and complaint details are counts only.

### Changelog

#### 0.1 (5 Nov 2026)

- First version: search by terms and city or state, search and company links, paging, the full company profile with
  BBB rating, accreditation, categories, phone, address, website, complaint and review counts and description.

# Actor input Schema

## `searchTerms` (type: `array`):

Words to search on bbb.org, one per line, for example plumber, dentist or roofing contractor. Leave empty when you paste links below.

## `location` (type: `string`):

Optional city and state, for example Dallas, TX. Empty = the whole United States. Applies to every search term.

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

bbb.org search links (https://www.bbb.org/search?find_text=plumber\&find_loc=Dallas%2C%20TX) or single company profile links (https://www.bbb.org/us/<state>/<city>/profile/<category>/<company>). Paging is handled for you.

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

Hard cap for the whole run, across all search terms and links. 0 = no cap.

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

Proxy settings. The default works for most runs.

## Actor input object example

```json
{
  "searchTerms": [
    "plumber"
  ],
  "location": "Dallas, TX",
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `resultsCsv` (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 = {
    "searchTerms": [
        "plumber"
    ],
    "location": "Dallas, TX",
    "maxItems": 20,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapewise/bbb-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 = {
    "searchTerms": ["plumber"],
    "location": "Dallas, TX",
    "maxItems": 20,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("scrapewise/bbb-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 '{
  "searchTerms": [
    "plumber"
  ],
  "location": "Dallas, TX",
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call scrapewise/bbb-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapewise/bbb-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/ReT3VYz7DSNMGJoMu/builds/8khgYThFFtHibWYzQ/openapi.json
