BBB Scraper — B2B Business Leads, Phones & Ratings avatar

BBB Scraper — B2B Business Leads, Phones & Ratings

Pricing

from $2.00 / 1,000 results

Go to Apify Store
BBB Scraper — B2B Business Leads, Phones & Ratings

BBB Scraper — B2B Business Leads, Phones & Ratings

Extract Better Business Bureau (bbb.org) business directory listings across the US & Canada. Get unmasked phone numbers, addresses, BBB ratings, accreditation status, categories, coordinates, and profile URLs for B2B lead generation.

Pricing

from $2.00 / 1,000 results

Rating

0.0

(0)

Developer

Logiover

Logiover

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

8 days ago

Last modified

Categories

Features

Limited permissions

Share

Disclaimer: This Actor is an independent data extraction tool and is not affiliated with, endorsed by, or sponsored by the Better Business Bureau (BBB), the International Association of Better Business Bureaus, or its local bureaus. All trademarks belong to their respective owners.

BBB Scraper (logiover/bbb-scraper) is a high-throughput B2B directory extraction engine and BBB API alternative built to scrape bbb.org without API key credentials across both the United States (USA) and Canada (CAN). Whether you are building targeted outbound sales lists, underwriting small-business credit risk, enriching CRM accounts with trust signals, or verifying contractor accreditation across North American metro markets, this bbb scraper delivers clean, deduplicated business records with unmasked phone numbers (99.5% measured fill rate), street addresses, postal codes, BBB letter ratings (A+ through F plus NR), numeric rating scores, accreditation flags, full category hierarchies, geographic coordinates, and local bureau metadata.

Designed for sales operations teams, RevOps engineers, lead generation agencies, and autonomous workflows, the Actor lets you export BBB to CSV, Excel, JSON, Parquet, or push directly into HubSpot, Salesforce, Pipedrive, Clay, Snowflake, BigQuery, n8n, Make, and Zapier. It is AI agent & MCP ready out of the box via the official Apify MCP Server (https://mcp.apify.com?tools=logiover/bbb-scraper), features deterministic canonical deduplication (<bbbId>-<businessId>), supports one-click nationwide metropolitan expansion across 80+ top US and Canadian cities (expandLocations: true), and enforces strict Pay-Per-Event (apify-default-dataset-item) budget protection so runs stop cleanly whenever your configured maximum cost per run is reached.


At a Glance

CapabilitySpecification
Target PlatformBetter Business Bureau (https://www.bbb.org)
Geographic CoverageUnited States (USA — all 50 states + DC) & Canada (CAN — all provinces & territories)
Primary Extraction InputsKeywords / Categories (queries), Cities / States / ZIPs (locations), Direct Search URLs (startUrls)
Nationwide Bulk ModeBuilt-in expandLocations: true sweeps 65 top US metros + 15 top Canadian metros automatically
Deduplication KeyCanonical bureau + business ID (id, e.g., "0825-1000223431") — 0% duplicate rows
Contact Data Policy100% Unmasked — primary phone + full phones array (99.5% measured fill across 11,500 leads)
Output Fields28 structured columns per business record (ratings, accreditation, address, geo coordinates, categories, URLs)
Measured Prefill Speed30 unique leads in 2.4 seconds (verified Apify run nWyHxMLr9cZCUfj0J on 2026-11-17)
Measured Bulk Scale11,500 unique deduplicated leads in 172.0 seconds across 1,034 pages (verified run HG0td6hBSnNfam6Kc on 2026-11-17)
Pricing ModelPay Per Event ($3.00 / 1,000 results on FREE down to $2.00 / 1,000 results on GOLD–DIAMOND)
Export FormatsJSON, JSONL, CSV, Excel (.xlsx), HTML Table, XML, RSS, API & MCP
AI & AutomationOfficial Apify MCP Server, LangChain, CrewAI, OpenAI Agents SDK, Claude Desktop, Cursor, n8n, Make, Zapier

Key Features & Extraction Modes

1. Multi-Query × Multi-Location Matrix Extraction

Combine any number of industry keywords or BBB trade categories (queries) with any list of cities, states, provinces, ZIP codes, or Canadian postal codes (locations). Every (query, location) pair automatically paginates through all available directory pages and merges results into one clean, globally deduplicated dataset.

2. One-Toggle Nationwide Metro Expansion (expandLocations: true)

Better Business Bureau caps any single search query view at 15 pages (225 businesses). When you need 5,000 to 50,000+ unique B2B leads across an entire vertical—such as roofing contractors, HVAC installers, commercial plumbers, auto body shops, or CPAs—simply set "expandLocations": true. The Actor automatically expands your keywords across 65 major US metropolitan areas (USA), 15 major Canadian metropolitan areas (CAN), or all 80 North American metros (country: "ALL"), plus automatic secondary sort-order slicing (Relevance, AToZ, ZToA, Rating) whenever maxResults exceeds single-slice depth.

3. Unmasked B2B Phone Numbers & Multi-Line Arrays

Every phone number published in the Better Business Bureau directory is extracted unmasked and normalized:

  • phone: Primary business telephone number ready for dialers and CRM phone fields (e.g., "(512) 760-7790").
  • phones: Complete array of all toll-free and local business lines registered on the BBB profile (e.g., ["(512) 330-0796", "(844) 468-4743"]).

4. Trust, Rating & Accreditation Signals

Unlike generic yellow-page directories, BBB records carry high-signal trust metadata ideal for lead scoring and vendor qualification:

  • bbbRating: Official BBB letter grade (A+, A, A-, B+, B, B-, C+, C, C-, D+, D, D-, F, or NR for Not Rated).
  • ratingScore: Numeric composite trust score (0 to 100, e.g., 99.18).
  • isAccredited: Boolean indicator (true / false) showing active paid BBB Accreditation (bbbMember).
  • quoteRequestEnabled: Boolean showing whether the business actively accepts BBB "Request a Quote" inbound leads (raqEnabled).

5. Built-In Qualification Filters Before You Pay

Because Pay-Per-Event billing only charges for items written to the default dataset, built-in server-side filters let you restrict dataset output to your exact Ideal Customer Profile (ICP) before items are saved:

  • accreditedOnly: true — Only emit active BBB Accredited Businesses.
  • minRating: "A" — Only emit businesses meeting or exceeding your minimum BBB letter grade threshold (A+ down to C-).
  • requirePhone: true — Skip any listing that lacks a published telephone number.

6. Direct BBB Search URL Ingestion (startUrls)

Already crafted a filtered search on https://www.bbb.org/search?... in your browser? Paste one or more bbb.org/search URLs into startUrls and the Actor automatically translates them into paginated structured endpoints while preserving your query parameters.


12 High-ROI B2B, Sales, AI & Analytics Use Cases

  1. Home Services & Commercial Trades Outbound Prospecting: Build hyper-targeted cold-calling and SMS/email enrichment lists of licensed plumbers, roofers, electricians, solar installers, pest control operators, and general contractors across US and Canadian metros.
  2. SaaS Vertical Market Sizing & Territory Assignment: Quantify active, accredited SMBs per metro area and assign balanced regional territories to SDRs in vertical SaaS (field service management, scheduling software, VoIP, fleet telematics, construction ERP).
  3. Reputation Management & Agency Lead Generation: Filter for established local businesses that are not yet BBB Accredited (isAccredited: false) or carry mid-tier ratings (B- to C-) to pitch review management, local SEO, and customer experience consulting.
  4. B2B Credit Underwriting & KYB (Know Your Business) Verification: Cross-check merchant applications against active BBB bureau records, accreditation status, rating scores, physical street addresses, and multi-county service areas.
  5. Commercial Insurance & Surety Bond Prospecting: Identify newly listed or expanding specialty contractors (Commercial Electrician, Retaining Wall Contractors, Asbestos Abatement) operating across multiple counties (serviceAreas).
  6. Franchise & Multi-Location Competitive Mapping: Plot latitude and longitude coordinates plus serviceAreas arrays across states and provinces to identify underserved metro pockets for new franchise openings.
  7. M&A Roll-Up & Private Equity Deal Sourcing: Discover long-standing, A+ rated local businesses in fragmented service industries (HVAC, landscaping, fire protection, dental practices, accounting firms) for SMB acquisition pipelines.
  8. CRM Data Hygiene & Phone Number Enrichment: Enrich stale HubSpot or Salesforce company records with verified local and toll-free phone numbers, standardized 9-digit ZIP+4 postal codes (78759-7247), and category taxonomies.
  9. Wholesale & Industrial Distributor Channel Expansion: Locate regional installers, dealers, and repair centers (Tankless Water Heaters, Auto Transmission Repair, Commercial Refrigeration) to onboard as authorized wholesale buyers.
  10. Canadian B2B Market Expansion: Switch country to "CAN" (or "ALL") to extract Canadian businesses across Ontario, British Columbia, Quebec, Alberta, Manitoba, Nova Scotia, and beyond with automatic province recognition.
  11. AI Sales Agent Live Lookup via MCP: Connect Claude, Cursor, or custom OpenAI/LangGraph agents to logiover/bbb-scraper through the Apify MCP Server so AI assistants can verify businesses and pull live contractor shortlists on demand.
  12. Directory & Marketplace Seeding: Populate niche B2B vendor directories, homeowner quote marketplaces, and municipal procurement registries with clean, HTML-stripped business names, categories, logos, and profile links.

Copy-Paste JSON Input Recipes

Recipe 1: Fast Metro Trade Lead List (Default / Quick Evaluation)

Pull 30 plumbing businesses in Austin, TX in ~2.5 seconds.

{
"queries": ["Plumber"],
"locations": ["Austin, TX"],
"country": "USA",
"sortBy": "Relevance",
"maxResults": 30
}

Recipe 2: 10,000+ Nationwide US & Canada Home Services Mega-Run

Sweep 10 high-value contractor trades across 80 major US and Canadian metro markets (expandLocations: true) to collect 11,500+ unique deduplicated B2B leads in under 3 minutes.

{
"queries": [
"Plumber",
"Roofing",
"Electrician",
"HVAC",
"General Contractor",
"Auto Repair",
"Landscaping",
"Pest Control",
"Painting Contractors",
"Concrete Contractors"
],
"locations": ["Austin, TX"],
"expandLocations": true,
"country": "ALL",
"requirePhone": true,
"maxResults": 11500,
"concurrency": 14
}

Target high-trust, actively accredited professional service firms with guaranteed phone numbers.

{
"queries": [
"Certified Public Accountant",
"Tax Return Preparation",
"Estate Planning Attorney",
"Financial Planning Consultants"
],
"locations": [
"Houston, TX",
"Dallas, TX",
"Austin, TX",
"San Antonio, TX",
"Miami, FL",
"Tampa, FL",
"Orlando, FL",
"Jacksonville, FL"
],
"country": "USA",
"accreditedOnly": true,
"minRating": "A",
"requirePhone": true,
"maxResults": 1500
}

Recipe 4: Canadian B2B Commercial Contractors Sweep (country: "CAN")

Extract verified Canadian businesses across Toronto, Vancouver, Montreal, Calgary, Edmonton, Ottawa, and 9 more Canadian metros.

{
"queries": [
"General Contractor",
"Roofing Contractors",
"Heating Contractors",
"Electrical Contractors"
],
"locations": [
"Toronto, ON",
"Vancouver, BC",
"Calgary, AB",
"Ottawa, ON"
],
"expandLocations": true,
"country": "CAN",
"requirePhone": true,
"maxResults": 3000
}

Recipe 5: Reputation Management Agency Prospecting (Mid-Rated Businesses)

Collect businesses in competitive metros without restricting to accredited members—then filter in your CRM or Clay table for isAccredited === false or bbbRating below A to pitch reputation consulting.

{
"queries": [
"Moving Companies",
"Used Car Dealers",
"Property Management",
"Towing Automotive"
],
"locations": [
"Los Angeles, CA",
"Phoenix, AZ",
"Atlanta, GA",
"Chicago, IL",
"Las Vegas, NV"
],
"sortBy": "Relevance",
"requirePhone": true,
"maxResults": 2000
}

Recipe 6: ZIP-Code Hyper-Local Territory Extraction

Search specific 5-digit US ZIP codes or Canadian FSA postal codes sorted by nearest distance.

{
"queries": ["Dentist", "Chiropractors", "Optometrist"],
"locations": ["90210", "10001", "60611", "78701", "33139"],
"country": "USA",
"sortBy": "Distance",
"requirePhone": true,
"maxResults": 600
}

Recipe 7: Alphabetical Deep-Slice Extraction on a Single Metro

When extracting every possible company in one large city for a broad keyword (maxResults: 800), the Actor automatically combines Relevance, AToZ, ZToA, and Rating sort slices to surpass BBB's 15-page per-sort window.

{
"queries": ["Construction"],
"locations": ["Chicago, IL"],
"country": "USA",
"sortBy": "AToZ",
"maxResults": 800
}

Recipe 8: Direct BBB Search URL Scraping (startUrls)

Pass pre-built bbb.org/search URLs directly from your browser.

{
"startUrls": [
"https://www.bbb.org/search?find_country=USA&find_text=solar+energy+equipment&find_loc=San+Diego%2C+CA",
"https://www.bbb.org/search?find_country=USA&find_text=commercial+cleaning&find_loc=Denver%2C+CO"
],
"maxResults": 400
}

Full Input Reference

ParameterTypeDefault / PrefillDescription
queriesarray<string>["Plumber"]Business categories, trades, or company keywords to search on bbb.org (e.g., "Plumber", "Roofing", "HVAC", "CPA", "Auto Repair").
locationsarray<string>["Austin, TX"]Target cities ("City, ST"), US ZIP codes ("78701"), or Canadian locations ("Toronto, ON", "M5V 2T6").
expandLocationsbooleanfalseWhen true, automatically appends 65 major US cities and/or 15 major Canadian cities to sweep nationwide B2B leads at 10,000+ scale.
countrystring"USA"Directory region: "USA" (United States), "CAN" (Canada), or "ALL" (both US & Canada). Canadian province suffixes (ON, BC, AB, QC, etc.) are also auto-detected.
sortBystring"Relevance"Primary search sort order: "Relevance", "Rating", "AToZ", "ZToA", or "Distance". Additional sort orders are automatically queued when high maxResults requires deeper slicing.
accreditedOnlybooleanfalseWhen true, filters both the BBB query (touched=1) and output stream to active BBB Accredited Businesses (isAccredited === true).
minRatingstring"ANY"Minimum BBB letter grade required to emit a record: "ANY", "A+", "A", "A-", "B+", "B", "B-", "C+", "C", or "C-".
requirePhonebooleanfalseWhen true, skips any listing that does not publish at least one phone number.
startUrlsarray<string>[]Optional direct https://www.bbb.org/search?... or https://www.bbb.org/api/search?... URLs to scrape alongside or instead of queries + locations.
maxResultsinteger200 (prefill 30)Maximum number of unique deduplicated business records to save (1 to 100,000). Enforced with zero-race synchronous reservation.
concurrencyinteger8 (prefill 6)Number of parallel HTTP search workers (1 to 20). Automatically scaled down on tiny maxResults runs to avoid unnecessary requests.
proxyConfigurationobject{"useApifyProxy": true}Standard Apify Proxy configuration. Works reliably with default Datacenter proxy and automatic fallback.

Complete Data Dictionary & Measured Fill Rates

Fill rates below were measured directly on Apify platform scale run HG0td6hBSnNfam6Kc (11,500 unique deduplicated North American B2B businesses extracted on 2026-11-17, 0 empty columns):

FieldTypeMeasured Fill (11.5k Run)Description & Example
idstring | null100.0%Canonical globally unique BBB record identifier combining bureau ID and business ID ("0825-1000223431").
businessIdstring | null100.0%Official BBB numeric business entity ID ("1000223431").
bbbIdstring | null100.0%Four-digit local Better Business Bureau chapter code ("0825").
bbbNamestring | null100.0%Name of the supervising regional BBB chapter ("BBB Heart of Texas").
businessNamestring | null100.0%Clean, HTML-stripped legal or DBA business name ("RVJ Electrical LLC").
primaryCategorystring | null100.0%Primary BBB Type-of-Business (tobText) classification ("Electrical Contractors").
primaryCategoryIdstring | null100.0%Official BBB Type-of-Business taxonomy code ("10035-500").
categoriesarray<string> | null100.0%Deduplicated list of all BBB business categories assigned to the company.
bbbRatingstring | null100.0%Official BBB letter rating ("A+" through "F", or "NR" if Not Rated).
ratingScorenumber | null100.0%Numeric BBB rating score (0 to 100, e.g., 97.85).
isAccreditedboolean | null100.0%true when the company holds active BBB Accreditation (bbbMember).
phonestring | null99.5%Primary unmasked business telephone number ("(512) 760-7790").
phonesarray<string> | null99.5%Array of all unmasked local and toll-free telephone numbers on the listing.
addressstring | null77.8%Physical street address ("8911 N Capital of Texas Hwy"; null when mobile/service-area business hides street number).
citystring | null100.0%Business city or municipality ("Austin").
statestring | null100.0%Two-letter US state or Canadian province code ("TX", "ON", "BC").
postalCodestring | null100.0%US ZIP / ZIP+4 code or Canadian postal code ("78759-7247").
countrystring | null100.0%ISO-3 country code ("USA" or "CAN").
latitudenumber | null100.0%WGS84 latitude coordinate (30.3).
longitudenumber | null100.0%WGS84 longitude coordinate (-97.76).
serviceAreasarray<string> | null100.0%Counties, cities, states, or regions served by the business (["Travis County, TX", "Williamson County, TX"]).
logoUrlstring | null42.7%Direct CDN URL to the company's uploaded BBB profile logo when present.
quoteRequestEnabledboolean | null100.0%true when the business accepts inbound quote requests on bbb.org.
bbbProfileUrlstring | null100.0%Canonical URL to the company's full BBB business profile page.
leaveReviewUrlstring | null100.0%Direct URL to the company's BBB customer review submission page.
searchQuerystring | null100.0%Search keyword or category slice that matched this record ("Electrician").
searchLocationstring | null100.0%Geographic location query that matched this record ("Austin, TX").
scrapedAtstring | null100.0%UTC ISO-8601 extraction timestamp ("2026-11-17T10:49:34.620Z").

Real Unmasked JSON Output Sample (Live Platform Run HG0td6hBSnNfam6Kc)

[
{
"id": "0825-1000223431",
"businessId": "1000223431",
"bbbId": "0825",
"bbbName": "BBB Heart of Texas",
"businessName": "RVJ Electrical LLC",
"primaryCategory": "Electrical Contractors",
"primaryCategoryId": "10035-500",
"categories": [
"Electrical Contractors",
"Electrician",
"Landscape Lighting",
"Commercial Electrician"
],
"bbbRating": "A+",
"ratingScore": 97.85,
"isAccredited": true,
"phone": "(512) 760-7790",
"phones": [
"(512) 760-7790"
],
"address": "8911 N Capital of Texas Hwy",
"city": "Austin",
"state": "TX",
"postalCode": "78759-7247",
"country": "USA",
"latitude": 30.3,
"longitude": -97.76,
"serviceAreas": [
"Austin County, TX",
"Blanco County, TX",
"Burnet County, TX",
"Hays County, TX",
"Travis County, TX",
"Williamson County, TX",
"TX"
],
"logoUrl": null,
"quoteRequestEnabled": true,
"bbbProfileUrl": "https://www.bbb.org/us/tx/austin/profile/electrical-contractors/rvj-electrical-llc-0825-1000223431",
"leaveReviewUrl": "https://www.bbb.org/us/tx/austin/profile/electrical-contractors/rvj-electrical-llc-0825-1000223431/leave-a-review",
"searchQuery": "Electrician",
"searchLocation": "Austin, TX",
"scrapedAt": "2026-11-17T10:49:34.620Z"
},
{
"id": "0825-1000223803",
"businessId": "1000223803",
"bbbId": "0825",
"bbbName": "BBB Heart of Texas",
"businessName": "Calixto Plumbing",
"primaryCategory": "Plumber",
"primaryCategoryId": "10113-000",
"categories": [
"Plumber",
"Plumbing Renovation",
"Commercial Plumber",
"Plumbing Plan"
],
"bbbRating": "A+",
"ratingScore": 99.18,
"isAccredited": true,
"phone": "(512) 945-3143",
"phones": [
"(512) 945-3143"
],
"address": "8410 Georgian Dr # B",
"city": "Austin",
"state": "TX",
"postalCode": "78753-6003",
"country": "USA",
"latitude": 30.3,
"longitude": -97.76,
"serviceAreas": [
"Bell County, TX",
"Burnet County, TX",
"Lee County, TX",
"Milam County, TX",
"Travis County, TX",
"Williamson County, TX"
],
"logoUrl": "https://m.bbb.org/prod/ProfileImages/2024/1f7a8bd4-fdd2-45ca-8963-5c246e1d3b85.png",
"quoteRequestEnabled": true,
"bbbProfileUrl": "https://www.bbb.org/us/tx/austin/profile/plumber/calixto-plumbing-0825-1000223803",
"leaveReviewUrl": "https://www.bbb.org/us/tx/austin/profile/plumber/calixto-plumbing-0825-1000223803/leave-a-review",
"searchQuery": "Plumber",
"searchLocation": "Austin, TX",
"scrapedAt": "2026-11-17T10:48:54.428Z"
}
]

Measured Performance & Scale Proof (Verified 2026-11-17)

Every benchmark below was executed live on the Apify cloud platform on 2026-11-17 and verified via independent dataset uniqueness and fill-rate audits:

Benchmark ProfileApify Run IDStatusUnique RowsDuplicatesFailed PagesPeak MemoryWall-Clock DurationThroughput
Prefill / Daily QC Run (Plumber in Austin, TX, maxResults: 30)nWyHxMLr9cZCUfj0JSUCCEEDED3000 / 451 MB2.4s (1.21s active)~750 rows/min
Nationwide Scale Run (10 trades × US & CA metros, expandLocations: true, maxResults: 11500)HG0td6hBSnNfam6KcSUCCEEDED11,50000 / 1,034121 MB172.0s (2m 52s)~4,011 unique leads/min
PPE Max-Cost Cap Proof (maxTotalChargeUsd: $0.05)GuzthXs1cInDsGxtDSUCCEEDED1800 / 249 MB2.1sClean budget stop

Key Telemetry Highlights (SUMMARY key-value store record):

  • Every run writes a structured SUMMARY JSON object to the default Key-Value Store containing queriesCount, maxResults, accepted, pushed, rawItemsSeen, duplicatesSkipped (3,665 overlapping metro/category duplicates automatically filtered out during the 11,500-row scale run!), filteredOut, requestsSent, pagesSucceeded, pagesFailed, and durationSecs.

Pricing — What You Pay (PAY_PER_EVENT)

This Actor uses transparent Pay-Per-Event (apify-default-dataset-item) pricing. You only pay for unique, qualified BBB business leads delivered to your dataset, with automatic volume discounts based on your Apify Store subscription tier:

Apify Plan TierPrice per ResultPrice per 1,000 LeadsExample: 2,500 LeadsExample: 10,000 Leads
FREE$0.003000$3.00 / 1k$7.50$30.00
BRONZE$0.002667$2.67 / 1k$6.67$26.67
SILVER$0.002333$2.33 / 1k$5.83$23.33
GOLD$0.002000$2.00 / 1k$5.00$20.00
PLATINUM$0.002000$2.00 / 1k$5.00$20.00
DIAMOND$0.002000$2.00 / 1k$5.00$20.00

Controlling Spend with "Maximum Cost per Run"

You have two independent, deterministic controls over run billing:

  1. Set maxResults in Input: Caps the exact number of deduplicated business leads pushed to the dataset (e.g., "maxResults": 1000 equals $3.00 on FREE or $2.00 on GOLD+).
  2. Set "Maximum cost per run" in Apify Console or API (maxTotalChargeUsd): Our built-in runtime budget guard inspects your remaining event budget before every dataset push, slices the final batch cleanly at your exact ceiling, writes SUMMARY to the Key-Value Store, and exits with status SUCCEEDED—never stranding partial data or aborting unexpectedly.

AI Agent & Official Apify MCP Server Integration

BBB Scraper is ready for Model Context Protocol (MCP) clients including Claude Desktop, Cursor, Windsurf, VS Code Copilot, OpenAI Agents SDK, and LangGraph. Point your MCP client at the official hosted Apify MCP endpoint scoped to logiover/bbb-scraper:

https://mcp.apify.com?tools=logiover/bbb-scraper

Claude Desktop / Cursor (mcp.json) Configuration

{
"mcpServers": {
"bbb-scraper": {
"url": "https://mcp.apify.com?tools=logiover/bbb-scraper",
"headers": {
"Authorization": "Bearer YOUR_APIFY_API_TOKEN"
}
}
}
}

Example Agent Prompts Once Connected:

  • "Use bbb-scraper to find 50 A+ rated, BBB Accredited commercial roofing contractors in Dallas, TX and Houston, TX with phone numbers, and format them as a prospect table."
  • "Verify whether 'Calixto Plumbing' in Austin, TX is BBB Accredited and check its rating score and service areas."

Code & Workflow Automation Examples

Node.js (apify-client)

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_API_TOKEN });
const run = await client.actor('logiover/bbb-scraper').call(
{
queries: ['HVAC', 'Plumber', 'Electrician'],
locations: ['Phoenix, AZ', 'Tucson, AZ', 'Scottsdale, AZ'],
country: 'USA',
accreditedOnly: true,
requirePhone: true,
maxResults: 500,
},
{ maxTotalChargeUsd: 2.00 }
);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(`Retrieved ${items.length} BBB leads:`, items[0]);

Python (apify-client)

import os
from apify_client import ApifyClient
client = ApifyClient(os.environ["APIFY_API_TOKEN"])
run = client.actor("logiover/bbb-scraper").call(
run_input={
"queries": ["Roofing", "General Contractor"],
"locations": ["Austin, TX"],
"expandLocations": True,
"country": "USA",
"minRating": "A",
"requirePhone": True,
"maxResults": 2500,
},
max_total_charge_usd=10.00,
)
items = list(client.dataset(run["defaultDatasetId"]).iterate_items())
print(f"Fetched {len(items)} deduplicated BBB leads.")

cURL (Synchronous Run & Dataset JSON Stream)

curl -X POST "https://api.apify.com/v2/acts/logiover~bbb-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_API_TOKEN&maxTotalChargeUsd=1.50" \
-H "Content-Type: application/json" \
-d '{
"queries": ["Auto Repair"],
"locations": ["Denver, CO", "Aurora, CO"],
"requirePhone": true,
"maxResults": 150
}'

n8n / Make / Zapier / Clay Integration

  • n8n: Add the official Apify node (Run an Actor and get dataset) -> select logiover/bbb-scraper -> map phone, businessName, bbbRating, isAccredited, address, city, state, and bbbProfileUrl directly into HubSpot, Pipedrive, Instantly, Smartlead, or Airtable.
  • Clay: Use the native Apify enrichment column in Clay to trigger logiover/bbb-scraper per target territory or enrich company rows with BBB ratings and accreditation status.
  • Make & Zapier: Trigger scheduled weekly runs via the Apify app module and route new A+ accredited businesses into Google Sheets or Slack deal channels.

Troubleshooting & Best Practices

  • Getting More Than 225 Leads for a Single Keyword + City: BBB limits any single (query, location, sort) view to 15 pages (225 businesses). To collect thousands of leads, either add neighboring cities/ZIP codes to locations, enable "expandLocations": true (which adds 65 US / 15 Canadian metros automatically), or set maxResults > 225 so the Actor automatically sweeps additional sort orders (AToZ, ZToA, Rating).
  • Why address Is Occasionally null (~22% of Contractors): Service-area trades (mobile locksmiths, residential plumbers, electricians working out of home offices) frequently choose BBB's privacy option to hide their street line while still publishing city, state, postalCode, phone, and serviceAreas.
  • Searching Canadian Businesses: Pass "country": "CAN" (or "ALL") or include two-letter Canadian province codes ("Toronto, ON", "Vancouver, BC", "Calgary, AB"), which the Actor automatically routes to find_country=CAN.
  • Zero Matching Items Returned: If you combine very strict filters (e.g., accreditedOnly: true + minRating: "A+" on an ultra-niche keyword in a small town), the Actor finishes cleanly (SUCCEEDED) with 0 items and logs the number of directory pages inspected in SUMMARY.

Support, Bug Reports & Feature Requests


Frequently Asked Questions (FAQ)

Do I need a Better Business Bureau API key or account to use BBB Scraper?

No. BBB Scraper works out of the box with zero API keys, zero browser cookies, and zero BBB developer registration—allowing you to scrape bbb.org public directory listings immediately.

Are phone numbers masked or redacted in the output?

No. Every public business phone number listed on Better Business Bureau is returned 100% unmasked in both the phone (primary line) and phones (all local and toll-free lines) fields. Across our 11,500-row benchmark run, 99.5% of extracted businesses included at least one unmasked phone number.

Does BBB Scraper cover both the United States and Canada?

Yes. Set country to "USA" for all 50 US states, "CAN" for all Canadian provinces and territories, or "ALL" to sweep both countries in a single run. Canadian postal codes and province abbreviations (ON, BC, QC, AB, etc.) are also detected automatically.

How can I extract 10,000+ unique B2B business leads in a single run?

Pass 5–10 related category keywords in queries, enable "expandLocations": true, and set "maxResults": 10000 (or higher, up to 100,000). In our verified live benchmark (HG0td6hBSnNfam6Kc), this configuration extracted 11,500 unique deduplicated leads in 172 seconds.

How does deduplication work when businesses appear in multiple cities or categories?

Many regional contractors serve 5–10 neighboring counties and rank under multiple trade categories (e.g., both "Plumber" and "HVAC"). The Actor constructs a canonical unique key (<bbbId>-<businessId>, such as "0825-1000223431") and deduplicates synchronously in memory before pushing to the dataset, guaranteeing 0 duplicate charges and 0 duplicate rows.

Why does a single city search return around 225 results unless expanded?

Better Business Bureau's public search engine paginates up to 15 pages of 15 results (225 listings) per query/location/sort slice. When maxResults is higher, our Actor automatically adds AToZ, ZToA, and Rating sort slices and—when expandLocations is enabled—sweeps 80+ major metropolitan areas.

Can I filter for only BBB Accredited Businesses (isAccredited: true)?

Yes. Enable "accreditedOnly": true in your input. Non-accredited businesses are filtered out before dataset insertion so you only pay for verified BBB Accredited leads.

Can I filter by minimum BBB letter grade such as A+ or A?

Yes. Set minRating to "A+", "A", "A-", "B+", "B", "B-", "C+", "C", or "C-". Businesses with "NR" (Not Rated) or lower grades are excluded automatically when minRating is set above "ANY".

What does "NR" mean in the bbbRating field?

"NR" stands for Not Rated—meaning the local Better Business Bureau is either updating the file or does not yet have sufficient operating history to assign a letter grade (A+ through F), even though the company may already be registered or accredited.

Are HTML tags like <em> removed from business names?

Yes. BBB's raw search payloads wrap matched keywords in <em>...</em> tags and HTML entities (&amp;, &#39;). BBB Scraper strips all HTML markup and decodes entities automatically so businessName and categories are clean and CRM-ready.

How much does it cost to scrape 1,000 or 10,000 BBB leads?

Under Pay-Per-Event pricing, 1,000 leads cost $3.00 on the FREE plan, $2.67 on BRONZE, $2.33 on SILVER, and $2.00 on GOLD, PLATINUM, and DIAMOND plans. Scraping 10,000 leads costs $20.00 on GOLD+ plans ($30.00 on FREE).

What happens if my run hits the "Maximum cost per run" budget limit?

The built-in runtime guard detects your remaining event budget via Apify's charging manager, saves the exact slice of items your budget covers, writes a final SUMMARY record (reason: "max_cost_per_run_reached"), and finishes with status SUCCEEDED rather than aborting.

Can I export BBB business leads directly to CSV or Excel?

Yes. Every Apify run dataset can be downloaded in one click from the Apify Console or REST API in CSV, Excel (.xlsx), JSON, JSONL, XML, or HTML format.

Can I pass direct bbb.org/search URLs instead of keywords?

Yes. Paste any https://www.bbb.org/search?... URL(s) into the startUrls input field, and the Actor will paginate through all matching listings automatically.

Does this Actor work with AI agents and the Apify MCP Server?

Yes. Connect any MCP-compatible client (Claude Desktop, Cursor, Windsurf, OpenAI Agents SDK) to https://mcp.apify.com?tools=logiover/bbb-scraper with your Apify token to give your AI assistant live North American B2B directory lookup capabilities.

Which proxy settings should I use?

Leave proxyConfiguration at its default ({"useApifyProxy": true}). The Actor runs reliably over default Apify Datacenter proxies with automatic session rotation and fallback—expensive residential or unblocker proxies are not required.

How fast is the default prefill / quick test run?

With default prefill settings (maxResults: 30), the Actor finishes in 2 to 4 seconds (2.4s measured on live platform run nWyHxMLr9cZCUfj0J).

This Actor only accesses publicly available business directory information published on bbb.org without logging in or bypassing authentication controls. Users are responsible for complying with applicable laws (such as TCPA, CAN-SPAM, CASL, and privacy regulations) when contacting businesses.