# BBB Scraper: Business Leads, Ratings, Accreditation & Contacts (`hyperbach/bbb-scraper`) Actor

Scrape Better Business Bureau (BBB) business profiles: search by keyword, category or name with a city, or paste bbb.org links. BBB rating, accreditation, phone, website, address, hours, owner and contacts, licences, review and complaint totals. US and Canada. No login. Misses free.

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

## Pricing

from $2.55 / 1,000 businesses

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: Business Leads, Ratings, Accreditation & Contacts

**Better Business Bureau (BBB) business profiles, logged out: search terms (a keyword, a category or a business name) with a city, bbb.org search links or profile links in, one row per business out — the BBB letter rating, accreditation and its date, categories, phone numbers, website and social profiles, the address with coordinates and serving areas, opening hours, the legal form, years in business, the owner and contacts, licences, the description, payment methods, and the review and complaint totals.** One free row per input carries BBB's own count and a verdict: COMPLETE, TRUNCATED (BBB shows 225 businesses of one search) or PARTIAL. US and Canada. No login, no API key, no browser, proxies handled for you.

**$5.10 per 1,000 `business` rows on the Free plan, $4.335 on Starter.** A run start is $0.005. The default input returns about 50 rows for about $0.26. A value that names nothing is a free row that says why.

![A BBB company profile in a browser: a hardware store with an A+ rating, accredited since 2009, with complaint counts and reviews. Beside it, the row this Actor returns, with bbb_rating, accredited_since and closed_complaints_last_12_months highlighted.](https://api.apify.com/v2/key-value-stores/dcLLNGq99686o2A4v/records/hero-bbb-scraper.webp)

### Why this BBB scraper

- **Search the way you would on bbb.org.** Give a keyword, a category or a business name with a city and state (Los Angeles, CA) or a city and province (Toronto, ON: BBB Canada), or paste a bbb.org search link with its filters. The rows are the businesses BBB lists for that search, 15 a page, in BBB's order, with `search_rank`.
- **The whole profile in one row.** Each business's own BBB page is read: the letter rating, accreditation and its date, the legal form, years in business, the owner and every contact with title, licences with their agency and expiry, serving areas, hours by day, payment methods, social profiles and the review and complaint totals (with the complaints closed in 3 years and 12 months).
- **Every search ends with its count.** The free input row gives BBB's own count, the pages read and the verdict. BBB shows at most 15 pages of 15 businesses of one search (225, measured 2026-11-09, page 16 is BBB's own error); a larger search ends TRUNCATED with the count, and a smaller city or a narrower term reads more of it.
- **Charged once, only for businesses.** A business two searches list is read and charged once; `accreditedOnly` skips the others before their page is read, free; input rows are free.

### Who it's for

- **Lead generation and sales teams** — local businesses by category and city with phone, website, address, owner, accreditation and rating, ready to filter by BBB rating.
- **Due diligence and compliance** — a company's BBB rating, accreditation date, years in business, licences and complaint totals before you sign.
- **Reputation and market research** — the ratings, accreditation share and review and complaint totals of a category across a city, or your competitors' profiles over time.
- **Developers and data teams** — typed rows keyed by `id` (`<bbbId>-<businessId>`), a free row per input with its status and BBB's count, a run summary to check a pipeline against.

### Quick start

**50 plumbers in Los Angeles**

```json
{
  "searchTerms": [
    "plumber"
  ],
  "location": "Los Angeles, CA",
  "maxItems": 50
}
```

**Accredited roofers in Toronto**

```json
{
  "searchTerms": [
    "roofing"
  ],
  "location": "Toronto, ON",
  "accreditedOnly": true,
  "maxItems": 50
}
```

**One business by its profile link**

```json
{
  "startUrls": [
    "https://www.bbb.org/us/ca/los-angeles/profile/plumber/fords-plumbing-1216-100081178"
  ],
  "maxItems": 1
}
```

### Switching from `memo23/bbb-scraper`?

Your input works as it is. Each name in the left column is read as this Actor's own field and the run log says so (`read <theirs> as <ours>`); a name marked *not read* is ignored with a note. A value in the other Actor's shape, an object list or its own date form, is read too.

| memo23/bbb-scraper | this Actor | what to know |
|---|---|---|
| `searchTerms` | `searchTerms` | The same: keywords, categories or business names, each searched with the location. |
| `location` | `location` | The same: a city and state or province; empty searches the whole country. |
| `country` | *not read* | Not read: the country follows the location (a Canadian province code searches BBB Canada). |
| `sort` | *not read* | Not read: BBB's relevance order; a sort in a pasted bbb.org search link is kept. |
| `distance` | *not read* | Not read: BBB's default radius; a pasted search link keeps its own filters. |
| `startUrls` | `startUrls` | The same: bbb.org search links and profile links (any of a profile's sub-pages too), `{url: …}` objects or plain strings. |
| `accreditedOnly` | `accreditedOnly` | The same: the other businesses are skipped and not charged. |
| `scrapeReviews` | *not read* | Not read: the reviews themselves are not served; every row has reviews_total, average_star_rating and reviews_url. |
| `scrapeComplaints` | *not read* | Not read: the complaints themselves are not served; every row has complaints_total, the closed counts and complaints_url. |
| `maxReviewPages` | *not read* | Not read: no reviews are read. |
| `maxComplaintPages` | *not read* | Not read: no complaints are read. |
| `maxItems` | `maxItems` | The same: the most business rows of the whole run (default 100 here). |
| `maxConcurrency` | *not read* | Not read: the Actor sets its own pace and connections. |
| `proxy` | *not read* | Not read: the Actor brings its own connections. |

**What differs:**

- `searchTerms`, `location`, `startUrls`, `maxItems` and `accreditedOnly` are the same names and read the same way: search terms with a city, search or profile links, one row per business.
- `country` is not read: the country follows the location (a Canadian province code such as ON or BC searches BBB Canada), and a `/ca/…` profile link is read as it is.
- `sort` and `distance` are not read: BBB's relevance order and its default radius; put a sort in a bbb.org search link to keep it.
- Reviews and complaints themselves (`scrapeReviews`, `scrapeComplaints` and their page caps) are not served: every row carries the totals (`reviews_total`, `average_star_rating`, `complaints_total`, the closed counts) and the links to the reviews and complaints pages.
- `maxItems` is the cap of the whole run; the default is 100 here (1,000 there); 0 = no cap. The fields are in snake_case (`bbb_rating` for bbbRating, `is_accredited` for isAccredited).

### Output

One row per business (and one free row per input):

| field | meaning |
|---|---|
| `record_type` | `business` on a business row (charged); `input` on an input's free summary row. |
| `status` | `ok`, or why an input gave no row: `not_found` (BBB answered "Page not found" for the profile, on two connections), `no_results` (the search found no business), `invalid_input` (the value names no BBB profile or search), `failed` (BBB did not serve the page after six fresh connections), `not_read` (the run stopped before it). |
| `input` | The search term, link or name you gave that this row answers. |
| `id` | The business's BBB key, `<bbbId>-<businessId>`, as in its profile link. |
| `url` | The business's BBB profile page. |
| `name` | The business name on BBB. |
| `alternate_names` | Other names the business uses (BBB's alternate business names). |
| `bbb_rating` | The BBB letter rating (A+ to F; NR when BBB does not rate it). |
| `is_accredited` | True when the business is BBB accredited. |
| `accredited_since` | The date of the business's BBB accreditation, when accredited. |
| `accreditation_revoked` | The date BBB revoked the accreditation, when it did. |
| `primary_category` | The business's main BBB category (Plumber, Roofing Contractors, …). |
| `categories` | Every BBB category of the business. |
| `phone` | The business's main phone number on BBB. |
| `additional_phones` | The business's other phone numbers on BBB. |
| `email` | The business's e-mail address when BBB shows one on the page (most profiles show BBB's own contact form instead: then null). |
| `website` | The business's own website. |
| `additional_websites` | The business's other websites. |
| `social_media` | The business's social profiles by network (facebook, instagram, linkedin, twitter, youtube, …). |
| `address_line1` | The street address. |
| `address_line2` | The second address line (suite, unit), when given. |
| `city` | The city. |
| `state_code` | The state or province code. |
| `zip_code` | The ZIP or postal code. |
| `country` | US or CA, from the profile's link. |
| `formatted_address` | The full address as BBB writes it. |
| `latitude` | The business's latitude. |
| `longitude` | The business's longitude. |
| `serving_areas` | The areas the business serves (counties, cities, ZIP codes, states). |
| `is_headquarters` | True when this profile is the business's headquarters. |
| `operating_hours` | The opening hours by day (monday: 08:00-17:00, or BBB's note such as Open 24 Hours or Closed). |
| `business_type` | The legal form (Corporation, Limited Liability Company, Sole Proprietorship, …). |
| `is_out_of_business` | True when BBB marks the business as out of business. |
| `years_in_business` | The years in business BBB shows. |
| `business_started` | The date the business started. |
| `incorporated` | The date of incorporation, when BBB has it. |
| `number_of_employees` | The number of employees, when BBB has it. |
| `owner_name` | The principal contact's name (the owner or the first management contact BBB lists). |
| `contacts` | Every contact BBB lists: name, title, is_principal, is_management. |
| `licenses` | The business's licences: number, expiration_date, agency. |
| `logo_url` | The business's logo on BBB. |
| `description` | The business's description on BBB. |
| `products_services` | The products and services BBB lists. |
| `payment_methods` | The payment methods the business accepts. |
| `reviews_total` | The number of customer reviews on BBB. |
| `average_star_rating` | The average customer review stars (1-5); null when the business has no review. |
| `complaints_total` | The number of complaints on BBB. |
| `closed_complaints_last_3_years` | Complaints closed in the last 3 years. |
| `closed_complaints_last_12_months` | Complaints closed in the last 12 months. |
| `local_bbb_name` | The local BBB that keeps the profile. |
| `bbb_id` | BBB's id of the local BBB (the first part of `id`). |
| `business_id` | BBB's id of the business (the second part of `id`). |
| `reviews_url` | The business's BBB reviews page. |
| `complaints_url` | The business's BBB complaints page. |
| `request_quote_url` | BBB's request-a-quote page for the business, when it has one. |
| `search_rank` | The business's place in its search (1 = first), on a row found by a search. |
| `results_found` | On an input row of a search: BBB's own count of matching businesses. |
| `pages_read` | On an input row of a search: the search pages read (BBB shows at most 15 of 15). |
| `verdict` | On an input row: COMPLETE (read to the end), TRUNCATED (BBB's 15-page window ended under its count: `note` says how many), PARTIAL (stopped: `note` says why), FILTERED (left out by accreditedOnly), DUPLICATE (read for another input). |
| `rows_delivered` | On an input row: the business rows it delivered. |
| `note` | Why an input row has the status or the verdict it has. |
| `scraped_at` | When this row was read (UTC). |

Example record:

```json
{
  "record_type": "business",
  "status": "ok",
  "input": "https://www.bbb.org/us/wa/seattle/profile/online-retailer/amazoncom-1296-7039385",
  "id": "1296-7039385",
  "url": "https://www.bbb.org/us/wa/seattle/profile/ecommerce/amazoncom-1296-7039385",
  "name": "Amazon.com",
  "alternate_names": [
    "Ink Big Games",
    "Amazon Game Studio",
    "Amazon Prime",
    "Blink",
    "Amazon 4-star",
    "Amazon Fresh",
    "Amazon Digital Services, Inc",
    "Amazon.Com Books Inc",
    "AmazonFresh.com",
    "Amazon Fresh LLC",
    "Amazon.Com Inc",
    "Amazon Com Washington LLC",
    "Amazon Com Intl Marketplace Inc",
    "Amazon Export Sales Inc",
    "MyHabit",
    "MyHabit.com"
  ],
  "bbb_rating": "A+",
  "is_accredited": true,
  "accredited_since": "1996-08-01",
  "accreditation_revoked": null,
  "primary_category": "Ecommerce",
  "categories": [
    "Ecommerce",
    "Online Retailer",
    "Online Shopping",
    "New Books",
    "Used Books",
    "Textbooks"
  ],
  "phone": "(888) 280-4331",
  "additional_phones": [
    "(866) 216-1074",
    "(866) 395-6759",
    "(206) 266-1000",
    "(888) 533-5659",
    "(206) 266-2335",
    "(262) 859-0001"
  ],
  "email": null,
  "website": "https://www.amazon.com",
  "additional_websites": [
    "https://www.amazon.com/contact",
    "https://www.amazonfresh.com",
    "https://flex.amazon.com",
    "https://www.manta.com/c/mm48705/amazon-com-inc",
    "https://www.amazon.com/b?ie=UTF8&node=17988552011"
  ],
  "social_media": {
    "facebook": "https://www.facebook.com/Amazon",
    "twitter": "https://twitter.com/amazon",
    "linkedin": "https://www.linkedin.com/company/amazon"
  },
  "address_line1": "202 Westlake Ave N Ste 2",
  "address_line2": null,
  "city": "Seattle",
  "state_code": "WA",
  "zip_code": "98109-5264",
  "country": "US",
  "formatted_address": "202 Westlake Ave N Ste 2, Seattle, WA 98109-5264",
  "latitude": 47.620049,
  "longitude": -122.338104,
  "serving_areas": [
    "AK",
    "AL",
    "AR",
    "AS",
    "AZ",
    "CA"
  ],
  "is_headquarters": true,
  "operating_hours": null,
  "business_type": "Corporation",
  "is_out_of_business": false,
  "years_in_business": 31,
  "business_started": "1995-07-01",
  "incorporated": "1996-05-28",
  "number_of_employees": 1300000,
  "owner_name": "Mr. Jeff Bezos",
  "contacts": [
    {
      "name": "Mr. Jeff Bezos",
      "title": "Founder",
      "is_principal": true,
      "is_management": true
    },
    {
      "name": "Mr. Andy Jassy",
      "title": "CEO",
      "is_principal": true,
      "is_management": true
    }
  ],
  "licenses": [
    {
      "number": "601720490",
      "expiration_date": null,
      "agency": "Washington Secretary of State"
    },
    {
      "number": "602737098",
      "expiration_date": null,
      "agency": "Washington Secretary of State"
    },
    {
      "number": "602551095",
      "expiration_date": null,
      "agency": "Washington Secretary of State"
    },
    {
      "number": "601720490",
      "expiration_date": null,
      "agency": "Washington Department of Revenue"
    },
    {
      "number": "602737098",
      "expiration_date": null,
      "agency": "Washington Department of Revenue"
    },
    {
      "number": "602551095",
      "expiration_date": null,
      "agency": "Washington Department of Revenue"
    }
  ],
  "logo_url": null,
  "description": "Amazon.com offers new and used items for sale through the Internet.",
  "products_services": "Internet Online Shopping, Alexa Skills, Amazon Autos, Amazon Devices, Amazon Fresh, Amazon Global Store, Amazon Haul, Amazon One Medical, Amazon Pharmacy, Amazon Resale, Appliances, Apps & Games, Arts, Crafts & Sewing, Audible Books & Originals, Automotive Parts & Accessories, Baby, Beauty & Personal Care, Books, CDs & Vinyl, Cell Phones & Accessories, Clothing, Shoes & Jewelry, Collectibles & Fine Art, Computers, Credit and Payment Cards, Digital Music, Electronics, Garden & Outdoor, Gift Cards, Grocery & Gourmet Food, Handmade, Health, Household & Baby Care, Home & Business Services, Home & Kitchen, Industrial & Scientific, Just for Prime, Kindle Store, Luggage & Travel Gear, Luxury Stores, Magazine Subscriptions, Movies & TV, Musical Instruments, Office Products, Pet Supplies, Premium Beauty, Prime Video, Same-Day Store, Smart Home, Software, Sports & Outdoors, Subscribe & Save, Subscription Boxes, Tools & Home Improvement, Toys & Games, Under $10, Video Games, Whole Foods Market",
  "payment_methods": [
    "Discover"
  ],
  "reviews_total": 4697,
  "average_star_rating": 1.1,
  "complaints_total": 10000,
  "closed_complaints_last_3_years": 61404,
  "closed_complaints_last_12_months": 17756,
  "local_bbb_name": "BBB Great West + Pacific",
  "bbb_id": "1296",
  "business_id": "7039385",
  "reviews_url": "https://www.bbb.org/us/wa/seattle/profile/ecommerce/amazoncom-1296-7039385/customer-reviews",
  "complaints_url": "https://www.bbb.org/us/wa/seattle/profile/ecommerce/amazoncom-1296-7039385/complaints",
  "request_quote_url": "https://www.bbb.org/greatwestpacific/quote/request-amazon-com-7039385",
  "search_rank": null,
  "results_found": null,
  "pages_read": null,
  "verdict": null,
  "rows_delivered": null,
  "note": null,
  "scraped_at": "2026-11-09T22:04:48Z"
}
```

### Pricing

**Pay for the businesses a run delivers**, plus one run start; no platform usage is billed to you. The business price falls with your Apify plan.

| event | unit | Free | Starter | Scale | Business |
|---|---|---|---|---|---|
| Business (`business`) | per 1,000 | $5.10 | $4.335 | $3.57 | $2.55 |
| Run start (`start`) | per run | $0.005 | $0.005 | $0.005 | $0.005 |

A business is **$5.10 per 1,000** on the Free plan ($0.0051 a business), with its whole profile (rating, accreditation, contacts, owner, address, hours, licences, review and complaint totals). Each run that delivers a charged business also pays the **run start, $0.005 once**; a run that delivers no charged business pays nothing at all. So one search of 50 businesses costs $0.26 on the Free plan, and several searches in one run share one start. The free input row of every search or link, a value that is not a BBB profile or search, a profile BBB does not have, a search with no match, a business left out by `accreditedOnly` and a refused input are never charged, and a business met twice in one run is charged once. Set a charge limit on the run and it stops before it would pass it.

### Usage patterns

- **Search terms with a location** — Each search term is searched on BBB with the location (`Los Angeles, CA`; `Toronto, ON` searches BBB Canada; empty searches the whole country). A business name works too. The rows come in BBB's relevance order, 15 a page, at most 15 pages (225 businesses) a search: split a large city into smaller cities or use narrower terms to read more.
- **Links** — Paste bbb.org profile links (`…/profile/<category>/<name>-<bbbId>-<businessId>`, or any of its reviews, complaints or more-info pages) for one row each, or bbb.org search links (`https://www.bbb.org/search?find_text=…&find_loc=…`) to keep the filters and sort you set on the site.
- **Limits and cost** — `maxItems` caps the business rows of the whole run (default 100): a business's page is read only for a row the cap leaves room for, so you never pay for more. A run of 10 businesses takes about 5-10 s.

### Input configuration

| field | type | default | what it does |
|---|---|---|---|
| `searchTerms` | `array` | `[]` | Keywords, categories or business names to search on BBB, for example plumber, roofing, hvac or a company name. Each term is searched with the location below. BBB shows at most 15 pages of 15 businesses (225) per search: split a large search by city or by a narrower term. |
| `location` | `string` | `""` | City and state (US) or city and province (Canada) for the search terms, for example Los Angeles, CA or Toronto, ON. A Canadian province code searches BBB Canada. Leave empty to search the whole country. |
| `startUrls` | `array` | `[]` | bbb.org business profile links (https://www.bbb.org/us/ca/los-angeles/profile/plumber/<name>-<bbbId>-<businessId>, or any of its reviews, complaints or more-info pages) and bbb.org search links (https://www.bbb.org/search?find_text=...\&find_loc=...). A business name typed here is searched like a search term. |
| `maxItems` | `integer` | `100` | The most business rows of the whole run (each one charged). A profile page is read only for a row the cap leaves room for; 0 = no cap beyond your charge limit. |
| `accreditedOnly` | `boolean` | `false` | Return only BBB-accredited businesses; the others are skipped and not charged. |
| `feedback` | `string` |  | A note to the people who maintain this Actor: what you needed and did not get. For example a missing field, a wrong or empty result, or the Actor you switch from or to, and why. The run does not read it: the rows and the charges stay the same. A person reads every note. |

### Errors

**A run does not fail because of your input.** When an input cannot be used — a date that is not a date, an id in the wrong form, two settings that contradict each other — the run ends **Succeeded**, charges nothing, and says what to change:

- the status message starts with `INPUT REJECTED`;
- the dataset holds one row, `{"error": true, "code": "…", "message": "…"}`, and no results;
- the key-value store record `ERROR` holds the same object.

From code, check `error` on the first row before reading results.

A value that is not a BBB profile or search link (another site, a BBB page that is not a business), a profile BBB answers "Page not found" for (checked on a second connection), or a search with no match is not an error: it gets one free input row with its `status` and the reason, and the run goes on with the others. A run that ends **Failed** is a fault on our side, never your input; it charges nothing, and we are alerted.

### FAQ

**Do I need a BBB account, cookies or a proxy?**

No. Every field comes from BBB's public business pages, logged out. The Actor brings its own residential connections (BBB refuses business pages from datacenter IPs).

**Why is the e-mail empty on most rows?**

Most BBB profiles show BBB's own contact form instead of an address; the row gives the e-mail only when the profile page carries one, never a guess.

**Does it read the reviews and complaints?**

It gives their totals, the average stars, the complaints closed in 3 years and 12 months, and the links to the reviews and complaints pages on every row. The texts themselves are not served.

**Why did my search stop at 225 businesses?**

BBB shows at most 15 pages of 15 businesses of one search, whatever its count. The input row says TRUNCATED with BBB's count; search smaller cities or narrower terms to read the rest.

**Do I need Apify Proxy or my own proxy?**

No. The Actor uses its own connections, at no extra cost to you.

### Integration

#### JavaScript

```javascript
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_TOKEN' });
const run = await client.actor('hyperbach/bbb-scraper').call({"searchTerms": ["plumber"], "location": "Los Angeles, CA", "maxItems": 50});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

#### Python

```python
from apify_client import ApifyClient
client = ApifyClient('YOUR_TOKEN')
run = client.actor('hyperbach/bbb-scraper').call(run_input={'searchTerms': ['plumber'], 'location': 'Los Angeles, CA', 'maxItems': 50})
items = client.dataset(run['defaultDatasetId']).list_items().items
```

#### CLI

```bash
apify call hyperbach/bbb-scraper --input '{"searchTerms": ["plumber"], "location": "Los Angeles, CA", "maxItems": 50}'
```

#### REST

```bash
curl -X POST "https://api.apify.com/v2/acts/hyperbach~bbb-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -H 'Content-Type: application/json' -d '{"searchTerms": ["plumber"], "location": "Los Angeles, CA", "maxItems": 50}'
```

#### AI agents and MCP

Apify's MCP server offers this Actor as a tool to Claude, Cursor, VS Code and any other MCP client. Connect `https://mcp.apify.com?tools=hyperbach/bbb-scraper` and ask, for example: "Get 50 plumbers in Los Angeles from the Better Business Bureau with their BBB rating, accreditation, phone, website, address and owner". The agent fills the input from the table above and reads the rows from the run's dataset. A field under the name another Actor gives it is read as this Actor's own: `search`, `searchTerm`, `query`, `queries` as `searchTerms`; `urls`, `url`, `links`, `profileUrls` as `startUrls`; `city`, `loc`, `where`, `near` as `location`; `maxResults`, `maxBusinesses`, `limit`, `max_items` as `maxItems` (and more). An agent or a person can add `feedback` to any run and say what was needed and not delivered: a missing field, a wrong or empty result, the Actor switched from or to, and why. The run returns the same rows at the same price, and a person reads every note.

#### n8n, Make and Zapier

The Apify node in n8n, the Apify app in Make and the Apify integration in Zapier run this Actor on a schedule or from a trigger and read its dataset. A webhook on the run's end (Integrations on the Actor page) sends the rows on to your own endpoint. Nothing to install on our side.

### Support

**Disagree with a charge?** Write to apify@hyperbach.com with the run ID. We will ask Apify to compensate you, and the charge comes back to your Apify account as platform credit.

**Did it do the job?** A short [review on the Store](https://apify.com/hyperbach/bbb-scraper/reviews), at any rating, helps the next buyer choose.

### See also

- **[Google Maps Scraper](https://apify.com/hyperbach/google-maps-scraper)** — the places Google Maps lists for a search and an area: address, phone, website, rating and review histogram, hours, and new places only on request.
- **[Facebook Pages Scraper](https://apify.com/hyperbach/facebook-pages-scraper)** — Facebook pages by URL, id, name or search words: the exact follower count, categories, address, phone, e-mail and websites, and the page transparency facts.
- **[Yelp Reviews Scraper](https://apify.com/hyperbach/yelp-reviews-scraper)** — every review of a Yelp business, with the owner's reply, the photos and the reviewer's public counts, without an API key.
- **[Google Maps Reviews Scraper](https://apify.com/hyperbach/google-maps-reviews-scraper)** — Google Maps reviews by place link, place ID, search or reviewer: the text and its translation, the stars, the exact date, the reviewer, photos, the owner's reply and sub-ratings.
- **[Google Maps Email Scraper](https://apify.com/hyperbach/google-maps-email-scraper)** — Google Maps places by search and location, link or place ID, with the emails, phones, WhatsApp and social links their own websites publish.

*This page is generated from the Actor's schemas and a live sample — it cannot describe a field the Actor does not have.*

# Actor input Schema

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

Keywords, categories or business names to search on BBB, for example plumber, roofing, hvac or a company name. Each term is searched with the location below. BBB shows at most 15 pages of 15 businesses (225) per search: split a large search by city or by a narrower term.

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

City and state (US) or city and province (Canada) for the search terms, for example Los Angeles, CA or Toronto, ON. A Canadian province code searches BBB Canada. Leave empty to search the whole country.

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

bbb.org business profile links (https://www.bbb.org/us/ca/los-angeles/profile/plumber/<name>-<bbbId>-<businessId>, or any of its reviews, complaints or more-info pages) and bbb.org search links (https://www.bbb.org/search?find_text=...\&find_loc=...). A business name typed here is searched like a search term.

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

The most business rows of the whole run (each one charged). A profile page is read only for a row the cap leaves room for; 0 = no cap beyond your charge limit.

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

Return only BBB-accredited businesses; the others are skipped and not charged.

## `feedback` (type: `string`):

A note to the people who maintain this Actor: what you needed and did not get. For example a missing field, a wrong or empty result, or the Actor you switch from or to, and why. The run does not read it: the rows and the charges stay the same. A person reads every note.

## Actor input object example

```json
{
  "searchTerms": [
    "plumber"
  ],
  "location": "Los Angeles, CA",
  "startUrls": [],
  "maxItems": 50,
  "accreditedOnly": false
}
```

# Actor output Schema

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

All scraped records in the default dataset. One row per business (and one free row per input):

## `runSummary` (type: `string`):

How the run went: business rows charged, free rows, inputs by status with BBB's count and the pages read, the businesses skipped by accreditedOnly, the profiles not found or not served, the source counters (calls by kind, served, refused, exits, rotations, bytes) and the memory watch.

# 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": "Los Angeles, CA",
    "maxItems": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("hyperbach/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": "Los Angeles, CA",
    "maxItems": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("hyperbach/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": "Los Angeles, CA",
  "maxItems": 50
}' |
apify call hyperbach/bbb-scraper --silent --output-dataset

```

## MCP server setup

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