# BBB 🔥 $0.6/1K Business Leads & Profiles (`azzouzana/bbb-scraper`) Actor

From $0.6/1K 💰 Paste a BBB search or profile URL and export US and Canada businesses in seconds: name, rating, phone, address, categories, accreditation, and the profile link. Optional website and email. Ready for spreadsheets and AI agents. JSON, CSV, Excel, or API. Start now! 🚀

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

## Pricing

from $0.60 / 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.
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

Copying Better Business Bureau listings by hand is a time-sink. Paste a search URL and get clean business rows **in seconds**.

### Engineering Excellence & Reliability 🚀

- **Zero-Friction Resolution**: Paste a BBB **search URL** (the address bar after you search) or a **single profile URL**. Each row includes the business name, BBB rating, phone, address, categories, accreditation, and the profile link. Works for the United States and Canada.
- **High-Velocity Automation**: Pagination is handled for you. Large searches keep going up to your **maxItems**.
- **Beyond the website limit**: We bypass the website limitation and go beyond it. Duplicates are skipped.
- **Fuller profiles**: Turn on **`fetchFullDetails`** and each row picks up the website, email, owner, licenses, years in business, hours when BBB shows them, and the review and complaint totals on the profile.
- **Clean exports**: JSON, CSV, Excel, or API. One business per row.

### 🛠️ How to Play

Open [BBB](https://www.bbb.org/), run a search, then copy the address bar into **`startUrl`**. A single business profile link works too.

#### Input Parameters

| Field | Type | Description |
|-------|------|-------------|
| `startUrl` | String | **(Required)** BBB search URL or one business profile URL. |
| `maxItems` | Number | How many businesses do you actually need? (Default: 100) |
| `fetchFullDetails` | Boolean | `true` = open each profile for the website, email, owner, licenses, and review totals. `false` = the search card. |

#### Example 1: Plumbers in Los Angeles

```json
{
    "startUrl": "https://www.bbb.org/search?find_country=USA&find_text=plumber&find_loc=Los%20Angeles%2C%20CA",
    "maxItems": 100,
    "fetchFullDetails": false
}
```

#### Example 2: One profile, with the page details

```json
{
    "startUrl": "https://www.bbb.org/us/ca/los-angeles/profile/hydro-jetting/tingos-plumbing-1216-1000040787",
    "maxItems": 10,
    "fetchFullDetails": true
}
```

### 🆓 Free tier limitations

We want you to see how this actor works before you commit. To keep things fair for everyone, the **free tier** includes these trial limits:

- **Sample data:** up to **5 businesses** per run.
- **Daily cap:** **5 runs** per calendar day (UTC).
- **Between runs:** at least **60 seconds** before you can start another run.

#### Upgrade when you're ready!

Use the free tier to decide if this actor fits your project. Paid Apify plans remove these wait times and caps so you can run at full volume—[**upgrade to a paid plan**](https://apify.com/pricing?fpr=cbgdsf).

### 📦 What’s in the Box?

One business from a Los Angeles plumber search.

```json
{
  "businessId": "1000040787",
  "bbbId": "1216",
  "name": "Tingo's Plumbing, Inc.",
  "phone": "(213) 285-7769",
  "phones": [
    "(213) 285-7769"
  ],
  "address": "PO Box 70268",
  "city": "Los Angeles",
  "state": "CA",
  "postalCode": "90070-0268",
  "country": "USA",
  "rating": "A+",
  "ratingScore": 100,
  "isAccredited": true,
  "accreditationStatus": null,
  "categories": [
    "Hydro Jetting",
    "Plumber"
  ],
  "primaryCategory": "Hydro Jetting",
  "profileUrl": "https://www.bbb.org/us/ca/los-angeles/profile/hydro-jetting/tingos-plumbing-1216-1000040787",
  "quoteUrl": "https://www.bbb.org/losangelessiliconvalley/quote/request-tingos-plumbing-1000040787",
  "leaveReviewUrl": "https://www.bbb.org/us/ca/los-angeles/profile/hydro-jetting/tingos-plumbing-1216-1000040787/leave-a-review",
  "logoUrl": null,
  "distance": null,
  "bbbName": "BBB of Los Angeles & Silicon Valley",
  "outOfBusinessStatus": null,
  "serviceAreas": [
    "Los Angeles, CA",
    "CA",
    "USA"
  ],
  "latitude": 34.04,
  "longitude": -118.3,
  "isCharity": false
}
```

### Contact 📬

**Need a custom solution? Have a feature request or just want to chat?**
We'd love to hear from you!

- 💬 **Discord**: `@azzouzana`
- 📧 **Email**: <labs@azzouzana.com>

### ⚠️ Disclaimer

This actor is not affiliated with the Better Business Bureau or the International Association of Better Business Bureaus. It collects publicly visible business information. You are responsible for BBB’s terms and the laws that apply to you. See [Apify’s legality article](https://blog.apify.com/is-web-scraping-legal?fpr=cbgdsf).

### Keywords

BBB scraper, Better Business Bureau, bbb.org, business leads, accredited businesses, BBB rating, company phone, plumber leads, contractor lists, USA, Canada, customer reviews, complaints, JSON CSV Excel

# Actor input Schema

## `startUrl` (type: `string`):

Paste a BBB search URL from your browser, or a single business profile URL.

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

Maximum businesses to save. Effective limit also respects run budget and free-tier cap (5 for free users).

## `fetchFullDetails` (type: `boolean`):

Open each business profile for the website, email, owner, licenses, years in business, and the review and complaint totals on the page.

## Actor input object example

```json
{
  "startUrl": "https://www.bbb.org/search?find_country=USA&find_text=plumber&find_loc=Los%20Angeles%2C%20CA",
  "maxItems": 100,
  "fetchFullDetails": 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 = {
    "startUrl": "https://www.bbb.org/search?find_country=USA&find_text=plumber&find_loc=Los%20Angeles%2C%20CA",
    "maxItems": 100,
    "fetchFullDetails": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("azzouzana/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 = {
    "startUrl": "https://www.bbb.org/search?find_country=USA&find_text=plumber&find_loc=Los%20Angeles%2C%20CA",
    "maxItems": 100,
    "fetchFullDetails": False,
}

# Run the Actor and wait for it to finish
run = client.actor("azzouzana/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 '{
  "startUrl": "https://www.bbb.org/search?find_country=USA&find_text=plumber&find_loc=Los%20Angeles%2C%20CA",
  "maxItems": 100,
  "fetchFullDetails": false
}' |
apify call azzouzana/bbb-scraper --silent --output-dataset

```

## MCP server setup

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