# BBB Scraper — Better Business Bureau Ratings & Leads (`rbbscrap/bbb-scraper`) Actor

Scrape Better Business Bureau (BBB.org) listings: A+ to F rating, accreditation, phones, address, categories & service areas for any US/Canada search.

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

## Pricing

$0.80 / 1,000 scraped bbb businesses

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/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

<p align="center">
  <img src="https://apify.com/rbbscrap/bbb-scraper/icon.png" width="110" height="110" style="border-radius: 24px;" alt="BBB Scraper official Better Business Bureau logo" />
</p>

## BBB Scraper — Better Business Bureau Ratings & Leads

**bbb-scraper** extracts Better Business Bureau (BBB.org) business listings for any category or business name in any US or Canadian city: BBB letter rating (A+ to F), accreditation status, phone numbers, full address, GPS coordinates, categories, service areas and profile links. It runs without a browser in **256 MB RAM** and returns clean records with **no `null` fields**.

> **Related scrapers:** [Yellow Pages Scraper](https://apify.com/rbbscrap/yellowpages-scraper) · [Yelp Scraper](https://apify.com/rbbscrap/yelp-scraper) · [Google Maps Scraper](https://apify.com/rbbscrap/google-maps-scraper) · [Trustpilot Scraper](https://apify.com/rbbscrap/trustpilot-scraper) · [full catalog](https://apify.com/rbbscrap)

***

### What does BBB Scraper do?

The Better Business Bureau is the North American reference for business trust: consumers and B2B buyers check whether a company is **BBB Accredited** and what grade it holds before signing. This Actor runs the same search as bbb.org and returns every listing as structured data:

- **Search by category or name** ("plumber", "roofing contractor", "Roto-Rooter") and by city, state or ZIP.
- **USA and Canada** directories.
- **Trust signals:** BBB grade, numeric rating score, accreditation, out-of-business flag.
- **Lead data:** all phone numbers, street address, ZIP, latitude/longitude, service areas.
- **Filters:** minimum grade, accredited only, phone required, sort by relevance, distance, rating or name.

#### Beyond the Official API

BBB offers no public self-serve API for its directory. This Actor reads the public search data used by bbb.org itself, so you get the listings in seconds with no API key, login or approval process.

***

### What data can you scrape?

| Data Category | Fields |
| :--- | :--- |
| **Identity** | `name`, `businessId`, `bbbId`, `category`, `categories`, `logoUrl` |
| **Trust & reputation** | `rating`, `ratingScore`, `isAccredited`, `outOfBusiness`, `isCharity` |
| **Contact** | `phone`, `phones` |
| **Location** | `address`, `city`, `state`, `postalCode`, `country`, `latitude`, `longitude`, `serviceAreas`, `bbbOffice` |
| **Links** | `profileUrl`, `reviewUrl`, `requestQuoteUrl` |
| **Context** | `searchQuery`, `searchLocation`, `scrapedAt` |

***

### Why scrape BBB? (Typical Use Cases)

- **Local lead generation:** build call lists of accredited contractors, agencies or service providers in any city.
- **Vendor due diligence:** check the BBB grade and accreditation of suppliers before onboarding.
- **Compliance & risk:** flag out-of-business or low-rated companies in a vendor or merchant database.
- **Market mapping:** count and geolocate businesses by category, rating and service area.
- **CRM enrichment:** add BBB grade and accreditation to HubSpot, Salesforce or Clay records.

***

### How to scrape BBB data in 4 steps

1. **Open the Input tab** of this Actor.
2. **Enter a category or business name** and a **location** (defaults: plumber in Austin, TX).
3. **Click Start.** 30 listings are extracted in about 10 seconds.
4. **Export** the dataset as JSON, CSV, Excel, XML or HTML, or fetch it through the Apify API.

***

### ⬇️ Input Configuration & Examples

#### Input Parameters Reference

| Parameter | Type | Default | Description |
| :--- | :---: | :---: | :--- |
| `searchQuery` | `string` | `"plumber"` | Category or business name. |
| `location` | `string` | `"Austin, TX"` | City + state, ZIP or postal code. |
| `maxItems` | `integer` | `30` | Maximum listings (1-225; BBB returns at most 15 pages of 15 per search). |
| `country` | `string` | `"USA"` | `USA` or `CAN`. |
| `sortBy` | `string` | `"Relevance"` | `Relevance`, `Distance`, `Rating`, `AToZ`, `ZToA`. |
| `minRating` | `string` | `"any"` | Minimum BBB grade (`A+` … `F`). Not-rated listings are excluded when set. |
| `accreditedOnly` | `boolean` | `false` | Keep only BBB Accredited Businesses. |
| `requirePhone` | `boolean` | `false` | Keep only listings with a phone number. |
| `includeOutOfBusiness` | `boolean` | `false` | Keep listings reported out of business. |
| `proxyConfiguration` | `object` | no proxy | Optional proxy settings. |

#### Input Examples

##### Example 1: Plumbers in Austin (1-click run)

```json
{
  "searchQuery": "plumber",
  "location": "Austin, TX",
  "maxItems": 30
}
```

##### Example 2: Accredited A-grade roofers in Toronto with a phone number

```json
{
  "searchQuery": "roofing contractor",
  "location": "Toronto, ON",
  "country": "CAN",
  "minRating": "A",
  "accreditedOnly": true,
  "requirePhone": true,
  "maxItems": 100
}
```

##### Example 3: Best-rated auto repair shops by ZIP code

```json
{
  "searchQuery": "auto repair",
  "location": "10001",
  "sortBy": "Rating",
  "maxItems": 50
}
```

***

### ⬆️ Output Example (Table View, JSON & Output Fields Reference)

#### Table View

| name | rating | isAccredited | phone | city | state | category |
| :--- | :--- | :--- | :--- | :--- | :--- | :--- |
| Calixto Plumbing | A+ | true | (512) 945-3143 | Austin | TX | Plumber |
| Avenue Road Roofing | A+ | true | (416) 785-5129 | North York | ON | Roofing Contractors |
| A\&M Roofmax Inc | A | true | (437) 974-3838 | Toronto | ON | Roofing Contractors |

#### JSON Output Example

Real record from the default run:

```json
{
  "name": "Calixto Plumbing",
  "rating": "A+",
  "isAccredited": true,
  "phone": "(512) 945-3143",
  "city": "Austin",
  "state": "TX",
  "category": "Plumber",
  "profileUrl": "https://www.bbb.org/us/tx/austin/profile/plumber/calixto-plumbing-0825-1000223803",
  "businessId": "1000223803",
  "bbbId": "0825",
  "ratingScore": 98.49,
  "phones": ["(512) 945-3143"],
  "address": "8410 Georgian Dr # B",
  "postalCode": "78753-6003",
  "country": "USA",
  "latitude": 30.3,
  "longitude": -97.76,
  "categories": ["Plumber", "Plumbing Renovation", "Commercial Plumber", "Plumbing Plan"],
  "serviceAreas": ["Bell County, TX", "Burnet County, TX", "Lee County, TX", "Milam County, TX", "Travis County, TX", "Williamson County, TX"],
  "bbbOffice": "BBB Heart of Texas",
  "isCharity": false,
  "outOfBusiness": false,
  "logoUrl": "https://m.bbb.org/prod/ProfileImages/2024/1f7a8bd4-fdd2-45ca-8963-5c246e1d3b85.png",
  "reviewUrl": "https://www.bbb.org/us/tx/austin/profile/plumber/calixto-plumbing-0825-1000223803/leave-a-review",
  "requestQuoteUrl": "https://www.bbb.org/central-texas/quote/request-calixto-plumbing-1000223803",
  "searchQuery": "plumber",
  "searchLocation": "Austin, TX",
  "scrapedAt": "2026-11-12T18:42:04.678Z"
}
```

#### Output Fields Reference

| Field | Type | Description |
| :--- | :---: | :--- |
| `name` | `string` | Business name |
| `rating` | `string` | BBB grade: A+ to F, or NR (not rated) |
| `isAccredited` | `boolean` | BBB Accredited Business |
| `phone` | `string` | Primary phone |
| `city` | `string` | City |
| `state` | `string` | State or province code |
| `category` | `string` | Primary BBB category |
| `profileUrl` | `string` | BBB business profile |
| `businessId` | `string` | BBB business ID |
| `bbbId` | `string` | Local BBB office ID |
| `ratingScore` | `number` | Numeric score behind the grade |
| `phones` | `array` | All phone numbers |
| `address` | `string` | Street address |
| `postalCode` | `string` | ZIP / postal code |
| `country` | `string` | USA or CAN |
| `latitude` | `number` | Latitude (0 if unknown) |
| `longitude` | `number` | Longitude (0 if unknown) |
| `categories` | `array` | All BBB categories |
| `serviceAreas` | `array` | Declared service areas |
| `bbbOffice` | `string` | Local BBB office name |
| `isCharity` | `boolean` | Charity listing |
| `outOfBusiness` | `boolean` | Reported out of business |
| `logoUrl` | `string` | Business logo |
| `reviewUrl` | `string` | Leave-a-review page |
| `requestQuoteUrl` | `string` | Request-a-quote page |
| `searchQuery` | `string` | Keyword used |
| `searchLocation` | `string` | Location used |
| `scrapedAt` | `string` | ISO 8601 timestamp |

***

### 🔗 Related & Dedicated Scrapers

| Scraper | Slug | Primary Use Case |
| :--- | :--- | :--- |
| [Yellow Pages Scraper](https://apify.com/rbbscrap/yellowpages-scraper) | `yellowpages-scraper` | US local business directory and phones |
| [Yelp Scraper](https://apify.com/rbbscrap/yelp-scraper) | `yelp-scraper` | Local businesses, ratings and reviews |
| [Google Maps Scraper](https://apify.com/rbbscrap/google-maps-scraper) | `google-maps-scraper` | Places, reviews and contact details |
| [Trustpilot Scraper](https://apify.com/rbbscrap/trustpilot-scraper) | `trustpilot-scraper` | Company reviews and TrustScore |
| [Contact Info Scraper](https://apify.com/rbbscrap/contact-info-scraper) | `contact-info-scraper` | Emails and socials from business websites |

***

### ⚠️ Error Items & Resilience Reference

- **Retries with backoff** on HTTP errors and network timeouts (4 attempts per page).
- **Stops cleanly** if BBB stops answering mid-pagination and keeps the listings already extracted.
- **Duplicates removed** across pages.
- **Honest failures:** if the search has no result, or your filters remove every listing, the run fails with an explicit message instead of returning empty or invented data. Nothing is charged for records that were not extracted.
- **Scope:** data comes from BBB search results. Complaint counts, years in business and business principals live on BBB profile pages, which are protected by a browser challenge and are not extracted.

***

### ❓ Frequently Asked Questions (FAQ)

#### How much does it cost?

Pay-per-event pricing: **$0.0004 per business ($0.40 per 1,000 listings)**, 10x cheaper than the most-used BBB scraper on the Apify Store ($4.00 per 1,000 results). **Your first run is 100% free** — no event is charged.

#### Can I use it with Make, n8n, Zapier or Google Sheets?

Yes. Use the [Apify integrations](https://apify.com/integrations) or webhooks to send listings to Google Sheets, Airtable, HubSpot, Make, n8n or Zapier.

#### Can I call it from Python or Node.js?

Yes, with the official Apify client:

```python
from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("rbbscrap/bbb-scraper").call(run_input={"searchQuery": "roofing contractor", "location": "Dallas, TX"})
items = client.dataset(run["defaultDatasetId"]).list_items().items
```

#### Can I use it as an MCP server with Claude, Cursor or other AI agents?

Yes: `https://api.apify.com/v2/acts/rbbscrap~bbb-scraper/api/mcp`

#### Do I need proxies or cookies?

No login or cookies are needed. Small and medium runs work without a proxy; for many consecutive searches, enable Apify Proxy in the input.

#### Is it legal to scrape BBB?

The Actor only collects business listing data that BBB displays publicly. Phone numbers and addresses are business contact details; if a listing concerns a sole trader in the EU, you remain responsible for GDPR compliance (EU Regulation 2016/679) when you store or contact them.

#### Found a bug or need a feature?

Open an issue on the [Issues tab](https://apify.com/rbbscrap/bbb-scraper/issues/open) — we usually answer within 24 hours.

# Actor input Schema

## `searchQuery` (type: `string`):

What to search on BBB.org: a category (plumber, roofing contractor, auto repair) or a business name.

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

US/Canada city + state, ZIP or postal code (e.g. Austin, TX · 10001 · Toronto, ON).

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

Maximum number of BBB business listings to extract. BBB returns up to 225 listings (15 pages) per search — run several locations or keywords for more.

## `country` (type: `string`):

BBB country directory.

## `sortBy` (type: `string`):

Order of BBB search results.

## `minRating` (type: `string`):

Only keep businesses graded at least this letter (NR / not rated listings are excluded when a minimum is set).

## `accreditedOnly` (type: `boolean`):

Only keep BBB Accredited Businesses.

## `requirePhone` (type: `boolean`):

Skip listings without a phone number (useful for call lists).

## `includeOutOfBusiness` (type: `boolean`):

Keep listings that BBB reports as out of business.

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

Optional proxy settings for very large extractions.

## Actor input object example

```json
{
  "searchQuery": "plumber",
  "location": "Austin, TX",
  "maxItems": 30,
  "country": "USA",
  "sortBy": "Relevance",
  "minRating": "any",
  "accreditedOnly": false,
  "requirePhone": false,
  "includeOutOfBusiness": false,
  "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 = {
    "searchQuery": "plumber",
    "location": "Austin, TX",
    "maxItems": 30
};

// Run the Actor and wait for it to finish
const run = await client.actor("rbbscrap/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 = {
    "searchQuery": "plumber",
    "location": "Austin, TX",
    "maxItems": 30,
}

# Run the Actor and wait for it to finish
run = client.actor("rbbscrap/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 '{
  "searchQuery": "plumber",
  "location": "Austin, TX",
  "maxItems": 30
}' |
apify call rbbscrap/bbb-scraper --silent --output-dataset

```

## MCP server setup

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