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

Extract unlimited business listings from BBB. Get names, addresses, phone numbers, ratings, and more. Perfect for lead generation, research, or local marketing!

- **URL**: https://apify.com/scraptivo/bbb-scraper.md
- **Developed by:** [Scraptivo](https://apify.com/scraptivo) (community)
- **Categories:** Lead generation, E-commerce, Jobs
- **Stats:** 3 total users, 0 monthly users, 17.2% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.00 / 1,000 companies

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Extract Business Information

**The Business Information Scraper** is your go-to tool for extracting detailed business data from the Better Business Bureau. Designed for marketers, lead generators, and data analysts, this tool delivers structured contact and rating info — including name, contact info, address, type of business, and more.

For just **$20/month**, you get unlimited access with built-in proxy support and automatic retries.

---

### Features

- Business Information Includes:
  - Business Name
  - Address
  - Phone
  - City
  - State
  - Type of Business
  - Rating Score and more
- Supports proxies for anonymity and bypassing restrictions.
- Fast and reliable scraping with retry mechanisms.

### Pricing

- **Unlimited Business**: Only **$20/month**.
- No hidden fees or limits on usage.

---

### Input

The actor accepts the following input:

- urls (list[string], required): The URLs of the Instagram Profiles.

- proxy (string, optional): The proxy URL to use for scraping. This ensures you can scrape images from multiple listings without being rate-limited.

#### 📝 Copy for Use:

```json
{
  "search_query": "Roofing Contractors",
  "location": "California",
  "country": "USA"
}
````

***

### Why Choose This Scraper?

- **Affordable**: Unlimited scraping for just $20/month.
- **Comprehensive**: Extracts all essential profile and media details.
- **Easy to Use**: Simple setup and integration with the Apify platform.
- **Reliable**: Built with retry mechanisms to handle network issues.

***

### Recommended Proxy Providers

- ### **Shifter**

  - Reliable residential proxies all over the world.
  - Cheap rates
  - [Order Shifter Now](https://shifter.io/r/YoBB/order)
  - Get 10% Off any product, use coupan `rigelbytes-YoBB`.

- ### **OxyLabs**

  - **100M+ Proxies**
  - Fastest proxies in the market
  - Real profile, human-like Residential IPs
  - Quality assurance framework for most reliable IPs
  - [Get Proxies](https://oxylabs.go2cloud.org/aff_c?offer_id=7\&aff_id=1366\&url_id=7)

- ### **DataImpulse**

  - Covers **200+ Counties**
  - Reliable Residential Proxies for just $1/GB
  - [Get Residential Proxies](https://dataimpulse.com/?aff=89421)

#### [![Learn More About Proxies](https://img.shields.io/badge/Learn_More-About_Proxies-blue?style=for-the-badge)](#understanding-proxies)

### 🙌 Why Buy Through Our Affiliate Link?

- Exclusive Deals: Some providers may offer special discounts or bonuses when you use our link.
- Support Our Work: Each purchase helps us maintain and improve the tools and services we provide.
- No Extra Cost: You pay the same price, but part of it goes to supporting our efforts.

#### Running via Apify Console

You can run this actor from the Apify Console by providing the necessary input parameters.

#### Running via API

You can trigger this actor using the Apify API, passing the required input in the request body.

### API Request Example (Python)

```shell
from apify_client import ApifyClient

## Initialize the ApifyClient with your API token
client = ApifyClient("<YOUR_API_TOKEN>")

## Prepare the Actor input
run_input = {
  "search_query": "Roofing Contractors",
  "location": "California",
  "country": "USA"
}

## Run the Actor and wait for it to finish
run = client.actor("rigelbytes/bbb-scraper").call(run_input=run_input)


```

### JavaScript

```shell
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your API token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
  "search_query": "Roofing Contractors",
  "location": "California",
  "country": "USA"
};

(async () => {
    // Run the Actor and wait for it to finish
    const run = await client.actor("rigelbytes/bbb-scraper").call(input);

})();

```

### Running with cURL

```shell
## Set API token
API_TOKEN=<YOUR_API_TOKEN>

## Prepare Actor input
cat > input.json <<'EOF'
{
  "search_query": "Roofing Contractors",
  "location": "California",
  "country": "USA"
}
EOF

## Run the Actor
curl "https://api.apify.com/v2/acts/rigelbytes/bbb-scraper/runs?token=$API_TOKEN" \
  -X POST \
  -d @input.json \
  -H 'Content-Type: application/json'

```

- ## Output
  ![Output](https://github.com/faizanalii/apify-images/blob/main/BBBScraper.gif?raw=true)

#### [![View Detailed Data](https://img.shields.io/badge/Detailed-Data-green?style=for-the-badge)](#detailed-data)

### 🚀 Other Tools by Rigel Bytes

[![Airbnb Images Downloader](https://img.shields.io/badge/Airbnb_Images_Downloader-blue?style=for-the-badge)](https://apify.com/rigelbytes/airbnb-images-downloader)\
A focused Airbnb image scraper that extracts all photos from an Airbnb listing page and packages the listing's image files into a compressed archive. The Act...

[![Zillow Scraper](https://img.shields.io/badge/Zillow_Scraper-green?style=for-the-badge)](https://apify.com/rigelbytes/zillow-scraper)\
A Zillow-focused web scraper that extracts structured property listing data for real estate analysis and monitoring. The Actor crawls Zillow listings to coll...

[![Zillow Detail Scraper](https://img.shields.io/badge/Zillow_Detail_Scraper-orange?style=for-the-badge)](https://apify.com/rigelbytes/zillow-detail-scraper)\
Zillow scraper with customizable proxy support. Extract comprehensive property data, including pricing, images, and location details, using your proxies for better control and efficiency. Check the recommended proxy providers below.

[![Daraz](https://img.shields.io/badge/Daraz-blueviolet?style=for-the-badge)](https://apify.com/rigelbytes/daraz)\
A web scraping Actor that extracts product listings and detailed product and seller data from Daraz.pk (Pakistan ecommerce marketplace) for monitoring and an...

[![Airbnb Listing](https://img.shields.io/badge/Airbnb_Listing-red?style=for-the-badge)](https://apify.com/rigelbytes/airbnb-listing)\
A web-scraping Actor that bulk-extracts structured Airbnb listing data from listing pages: it retrieves listing metadata, descriptive content, property featu...

[![Google Maps Scraper](https://img.shields.io/badge/Google_Maps_Scraper-yellow?style=for-the-badge)](https://apify.com/rigelbytes/google-maps-scraper)\
A Google Maps scraping Actor that extracts structured business profiles and local place intelligence at scale: it crawls Google Maps listings to collect busi...

[![Airbnb Availability Calendar](https://img.shields.io/badge/Airbnb_Availability_Calendar-purple?style=for-the-badge)](https://apify.com/rigelbytes/airbnb-availability-calendar)\
Exports Airbnb listing availability calendars by scraping listing pages and producing structured, per-date calendar data. The Actor extracts date entries and...

[![Instagram Profile Scraper](https://img.shields.io/badge/Instagram_Profile_Scraper-pink?style=for-the-badge)](https://apify.com/rigelbytes/instagram-profile-scraper)\
A web-scraping Actor that extracts detailed Instagram profile and media metadata from profile pages: it retrieves profile-level metrics (follower/following c...

[![Land.com Scraper](https://img.shields.io/badge/Land.Com_Scraper-cyan?style=for-the-badge)](https://apify.com/rigelbytes/landdotcom-scraper)\
A Land.com-focused web scraper that crawls Land.com property listings and extracts structured real estate data for specified geographic areas and listing typ...

[![Airbnb Reviews](https://img.shields.io/badge/Airbnb_Reviews-success?style=for-the-badge)](https://apify.com/rigelbytes/airbnb-reviews)\
A web-scraping Actor that extracts unlimited reviews from Airbnb listings: it crawls listing review pages and produces structured review records containing r...

[![FurnishedFinder](https://img.shields.io/badge/Furnishedfinder-important?style=for-the-badge)](https://apify.com/rigelbytes/furnishedfinder)\
A web-scraping Actor designed to extract large-scale furnished rental data from Furnished Finder: it crawls listing pages to collect listing metadata (proper...

[![Immobilienscout24](https://img.shields.io/badge/Immobilienscout24-critical?style=for-the-badge)](https://apify.com/rigelbytes/immobilienscout24)\
A scraper for immobilienscout24.de that extracts large-scale real estate listing data and contact information, optimized for bulk property data collection, i...

[![Airbnb Listing Urls](https://img.shields.io/badge/Airbnb_Listing_Urls-informational?style=for-the-badge)](https://apify.com/rigelbytes/airbnb-listing-urls)\
A web scraper that extracts unlimited Airbnb listings from search queries and returns structured listing metadata for analysis. The Actor crawls Airbnb searc...

[![Instagram Engagement Tool](https://img.shields.io/badge/Instagram_Engagement_Tool-9cf?style=for-the-badge)](https://apify.com/rigelbytes/instagram-engagement-tool)\
Analyzes public Instagram profiles by scraping recent posts and profile metadata to compute engagement metrics for images and videos. The Actor extracts prof...

[![Instagram Post Scraper](https://img.shields.io/badge/Instagram_Post_Scraper-blue?style=for-the-badge)](https://apify.com/rigelbytes/instagram-post-scraper)\
An Instagram scraping Actor that extracts every post from Instagram profiles and produces structured post-level metadata and media assets for social media an...

[![Linkedin Company Scraper](https://img.shields.io/badge/Linkedin_Company_Scraper-green?style=for-the-badge)](https://apify.com/rigelbytes/linkedin-company-scraper)\
A LinkedIn Company Scraper that extracts structured company profile data from LinkedIn company pages for lead generation and competitive intelligence. The Ac...

[![linkedin-company-details](https://img.shields.io/badge/Linkedin_Company_Details-orange?style=for-the-badge)](https://apify.com/rigelbytes/linkedin-company-details)\
A LinkedIn Company Scraper for extracting comprehensive company profiles and social content from LinkedIn: it scrapes and returns structured company profile ...

[![Instagram Reel Scraper](https://img.shields.io/badge/Instagram_Reel_Scraper-blueviolet?style=for-the-badge)](https://apify.com/rigelbytes/instagram-reel-scraper)\
A web-scraping Actor that extracts all Instagram Reels from public profiles and produces structured reel-level metadata for content analysis, research, and m...

[![Rottentomatoes Reviews Scraper](https://img.shields.io/badge/Rottentomatoes_Reviews_Scraper-red?style=for-the-badge)](https://apify.com/rigelbytes/rottentomatoes-reviews-scraper)\
A web-scraping Apify Actor that extracts user and critic reviews from Rotten Tomatoes pages, producing structured review records for analysis. It crawls unli...

[![Extract Furnished Finder Hosts](https://img.shields.io/badge/Extract_Furnished_Finder_Hosts-yellow?style=for-the-badge)](https://apify.com/rigelbytes/furnished-finder-hosts)\
Scrapes Furnished Finder listings and extracts structured listing and host profile data for furnished rentals, including listing titles, property types, geol...

[![Trustpilot Reviews Scraper](https://img.shields.io/badge/Trustpilot_Reviews_Scraper-purple?style=for-the-badge)](https://apify.com/rigelbytes/trustpilot-reviews)\
A Trustpilot review scraper that collects structured review records and full reviewer profile data at scale. It extracts review content (titles and body text...

[![Furnished Finder Fast](https://img.shields.io/badge/Furnished_Finder_Fast-pink?style=for-the-badge)](https://apify.com/rigelbytes/furnished-finder-fast)\
An Apify Actor for scraping Furnished Finder rental listings and optional host profiles, extracting structured listing data such as photos, textual descripti...

[![Zillow Agents](https://img.shields.io/badge/Zillow_Agents-cyan?style=for-the-badge)](https://apify.com/rigelbytes/zillow-agents)\
A Zillow agent profile scraper that extracts structured agent data from Zillow for location-based queries (city, neighborhood, ZIP). The Actor scrapes agent ...

[![Bayut Scraper](https://img.shields.io/badge/Bayut_Scraper-success?style=for-the-badge)](https://apify.com/rigelbytes/bayut-scraper)\
A web-scraping Actor for extracting structured property listings and market intelligence from Bayut.com (UAE). It crawls Bayut property pages and returns str...

[![dubai-listing-scraper](https://img.shields.io/badge/Dubai_Listing_Scraper-important?style=for-the-badge)](https://apify.com/rigelbytes/dubai-listing-scraper)\
A web scraping Actor for Bayut.com that extracts structured UAE property listing data for sale and rent across Dubai, Abu Dhabi and other Emirates. It progra...

[![Tiktok Comment Scraper](https://img.shields.io/badge/Tiktok_Comment_Scraper-critical?style=for-the-badge)](https://apify.com/rigelbytes/tiktok-comment-scraper)\
A TikTok comment scraping Actor that extracts all comments from TikTok videos given a video URL. It collects commenter metadata (usernames, display names, pr...

[![Tiktok Engagement Rate](https://img.shields.io/badge/Tiktok_Engagement_Rate-informational?style=for-the-badge)](https://apify.com/rigelbytes/tiktok-engagement-rate)\
A TikTok profile scraper that analyzes public TikTok accounts to extract profile metadata and recent video-level interaction metrics and to compute engagemen...

[![Company Service Finder](https://img.shields.io/badge/Company_Service_Finder-9cf?style=for-the-badge)](https://apify.com/rigelbytes/company-service-finder)\
Company Service Finder scrapes business listings from Google Search and Google Maps across cities and states, extracts company websites, names, phone numbers...

[![Website Services Finder](https://img.shields.io/badge/Website_Services_Finder-blue?style=for-the-badge)](https://apify.com/rigelbytes/website-services-finder)\
Website Services Finder extracts and AI-analyzes company services and business information from business websites using web crawling plus large-language and ...

[![Airbnb Address Finder](https://img.shields.io/badge/Airbnb_Address_Finder-green?style=for-the-badge)](https://apify.com/rigelbytes/airbnb-address-finder)\
A web-scraping Apify Actor that bulk-extracts Airbnb listing addresses and comprehensive listing metadata from provided Airbnb listing URLs. It parses listin...

[![Immowelt Scraper](https://img.shields.io/badge/Immowelt_Scraper-orange?style=for-the-badge)](https://apify.com/rigelbytes/immowelt-scraper)\
An Apify Actor that scrapes unlimited real estate listings from immowelt.de and returns structured property data for indexing and analysis. The Actor extract...

[![Propertyfinder Scraper](https://img.shields.io/badge/Propertyfinder_Scraper-blueviolet?style=for-the-badge)](https://apify.com/rigelbytes/propertyfinder-scraper)\
A scraper for propertyfinder.ae that extracts unlimited real estate listings and related metadata at scale. Implements asynchronous concurrency, automatic re...

[![Publix Scraper](https://img.shields.io/badge/Publix_Scraper-red?style=for-the-badge)](https://apify.com/rigelbytes/publix-scraper)\
A web scraping Actor for Publix.com that extracts grocery product data from Publix collection pages using a collection URL and a delivery/pickup location to ...

[![Redfin Scraper](https://img.shields.io/badge/Redfin_Scraper-yellow?style=for-the-badge)](https://apify.com/rigelbytes/redfin-scraper)\
Redfin Scraper extracts large-scale real estate listing data from Redfin search and city pages and returns structured property records for downstream analysi...

[![Instacart Scraper](https://img.shields.io/badge/Instacart_Scraper-purple?style=for-the-badge)](https://apify.com/rigelbytes/instacart-scraper)\
A web-scraping Actor that extracts structured product data from instacart.com using a collection/search keyword combined with a delivery or pickup location; ...

[![Homedepot Scraper](https://img.shields.io/badge/Homedepot_Scraper-pink?style=for-the-badge)](https://apify.com/rigelbytes/homedepot-scraper)\
A web scraper for homedepot.com that crawls collection pages and performs location-aware scraping (delivery or pickup) to extract structured product data. Th...

[![Doctify Scraper](https://img.shields.io/badge/Doctify_Scraper-cyan?style=for-the-badge)](https://apify.com/rigelbytes/doctify-scraper)\
A web scraping Actor that extracts structured healthcare provider and practice data from doctify.com starting from a Doctify search-results URL. The Actor ha...

[![Facebook Ads Scraper](https://img.shields.io/badge/Facebook_Ads_Scraper-success?style=for-the-badge)](https://apify.com/rigelbytes/facebook-ads-scraper)\
Extracts structured ad data from the Facebook Ads Library using a search URL: scrapes ad metadata and creative assets (ad copy, titles, captions), destinatio...

[![Ticketmaster Scraper](https://img.shields.io/badge/Ticketmaster_Scraper-important?style=for-the-badge)](https://apify.com/rigelbytes/ticketmaster-scraper)\
A Ticketmaster-focused web scraper that extracts structured event metadata by location and date range for event monitoring, market research, and entertainmen...

[![Scrape Instagram Creators](https://img.shields.io/badge/Scrape_Instagram_Creators-critical?style=for-the-badge)](https://apify.com/rigelbytes/scrape-instagram-creators)\
Scrape Instagram Creators is an Instagram profile and media scraper that extracts detailed creator profile metadata and media-level information. It captures ...

[![Immowelt Property Scraper](https://img.shields.io/badge/Immowelt_Property_Scraper-informational?style=for-the-badge)](https://apify.com/rigelbytes/immowelt-property-scraper)\
A scraper for immowelt.de (Germany) that harvests large volumes of real estate listings and returns structured property records for analysis. It extracts lis...

[![Immobilienscout24-scraper](https://img.shields.io/badge/Immobilienscout24_Scraper-9cf?style=for-the-badge)](https://apify.com/rigelbytes/immobilienscout24-scraper)\
A web scraping Actor that extracts large volumes of real estate listings and contact information from immobilienscout24.de, focused on German property market...

[![Instagram Creator Stats](https://img.shields.io/badge/Instagram_Creator_Stats-blue?style=for-the-badge)](https://apify.com/rigelbytes/instagram-creator-stats)\
A scraping and analytics Actor that extracts Instagram profile metadata and per-post media details to compute engagement metrics for creator/influencer analy...

[![Etsy Scraper](https://img.shields.io/badge/Etsy_Scraper-green?style=for-the-badge)](https://apify.com/rigelbytes/etsy-scraper)\
A web-scraping Actor that extracts structured product data from Etsy.com from category pages, search results, or individual product list URLs. It crawls list...

[![Rightmove Scraper](https://img.shields.io/badge/Rightmove_Scraper-orange?style=for-the-badge)](https://apify.com/rigelbytes/rightmove-scraper)\
Scrapes Rightmove.co.uk property listings and returns structured property records for real estate data extraction and analysis. The Actor crawls Rightmove se...

[![Outdoorsy Scraper](https://img.shields.io/badge/Outdoorsy_Scraper-blueviolet?style=for-the-badge)](https://apify.com/rigelbytes/outdoorsy-scraper)\
A web scraping Actor that extracts rental listing data from outdoorsy.com search result pages. It processes multiple search result URLs in a single run, issu...

[![Instagram Comment Scraper](https://img.shields.io/badge/Instagram_Comment_Scraper-red?style=for-the-badge)](https://apify.com/rigelbytes/instagram-comment-scraper)\
A web scraping Actor that extracts all comments from Instagram posts and reels given their URLs; it captures commenter metadata (username, display name, prof...

### Understanding Proxies:

When scraping data or browsing anonymously, proxies are essential. They act as intermediaries, masking your original IP address and allowing you to send requests from another location.

#### Why Use Proxies?

- Avoid IP Blocks: By routing requests through proxies, you prevent the target website from recognizing your IP as a scraper or spammer.
- Access Geo-restricted Content: Proxies let you access content or websites restricted by location.
- Enhance Anonymity: Hide your actual IP, ensuring privacy while scraping or browsing.

#### Types of Proxies

1. Residential Proxies
   - Real IP addresses provided by ISPs to home users.
   - They mimic regular users, making them harder to detect.
   - Best for: Long-term, undetectable scraping, and avoiding blocks.
2. Data Center Proxies
   - IP addresses from servers in data centers.
   - Faster and cheaper than residential proxies but easier to detect and block.
   - Best for: High-speed scraping, but with a higher risk of detection.
3. Mobile Proxies
   - IPs provided by mobile carriers (3G/4G/5G networks).
   - Very difficult to detect, as they appear as regular mobile users.
   - Best for: Mobile-related scraping or avoiding sophisticated blocks.

#### Rotating Proxies vs. Straight Proxies

- Rotating Proxies: Every request you send goes through a different proxy, making it harder for websites to detect patterns.
- Straight Proxies: All requests are sent through the same proxy, making it easier to track your IP.

#### About Rigel Bytes

Rigel Bytes specializes in web scraping, automation, and data analytics. We help businesses extract and leverage valuable data for informed decision-making.

### Contact Us

Ready to unlock the power of data? Reach out to us at (contact@rigelbytes.com) or [book an appointment](https://cal.com/faizanali/appointments) with us to learn more about how we can help you achieve your data goals.

### Detailed Data

```json
[
  {
    "id": "0734_310618940_141251",
    "businessName": "Bueker's Lawn & <em>Garden</em>",
    "address": "32161 Theodore Rd",
    "city": "California",
    "state": "MO",
    "postalcode": "65018",
    "tobText": "Lawn and Garden",
    "rating": "A+",
    "bbbMember": false,
    "charitySeal": false,
    "isCharity": 0,
    "accreditedCharity": false,
    "reportUrl": "https://www.bbb.org/us/mo/california/profile/lawn-and-garden/buekers-lawn-garden-0734-310618940",
    "phone": ["(573) 796-3157"],
    "location": "38.61751,-92.56141",
    "businessId": "310618940",
    "ratingScore": 100,
    "score": 16652.857,
    "logoUri": null,
    "tobId": "50298-000",
    "bbbId": "0734",
    "bbbName": "BBB Serving Greater Missouri & Southern Illinois",
    "distance": "0.9 mi",
    "requestAQuoteUrl": null,
    "requestAQuoteUrlId": 0,
    "localReportUrl": null,
    "leaveReviewUrl": "https://www.bbb.org/us/mo/california/profile/lawn-and-garden/buekers-lawn-garden-0734-310618940/customer-reviews",
    "raqEnabled": true,
    "outOfBusinessStatus": null,
    "categories": [
      {
        "id": "50298-000",
        "name": "Lawn and Garden"
      }
    ],
    "serviceAreaDescription": null,
    "hasServiceArea": false,
    "serviceArea": null,
    "serviceAreasSummary": null,
    "businessLoginUrl": "/stlouis/login",
    "accreditationStatus": null
  },
  {
    "id": "0734_310607482_125163",
    "businessName": "Dent Contracting and Lawn Care",
    "address": "PO Box 31",
    "city": "California",
    "state": "MO",
    "postalcode": "65018-0031",
    "tobText": "Lawn Maintenance",
    "rating": "",
    "bbbMember": false,
    "charitySeal": false,
    "isCharity": 0,
    "accreditedCharity": false,
    "reportUrl": "https://www.bbb.org/us/mo/california/profile/lawn-maintenance/dent-contracting-and-lawn-care-0734-310607482",
    "phone": null,
    "location": "38.61751,-92.56141",
    "businessId": "310607482",
    "ratingScore": 0,
    "score": 11373.498,
    "logoUri": null,
    "tobId": "00157-000",
    "bbbId": "0734",
    "bbbName": "BBB Serving Greater Missouri & Southern Illinois",
    "distance": "0.9 mi",
    "requestAQuoteUrl": null,
    "requestAQuoteUrlId": 0,
    "localReportUrl": null,
    "leaveReviewUrl": "https://www.bbb.org/us/mo/california/profile/lawn-maintenance/dent-contracting-and-lawn-care-0734-310607482/customer-reviews",
    "raqEnabled": true,
    "outOfBusinessStatus": 4501,
    "categories": [
      {
        "id": "00157-000",
        "name": "Lawn Maintenance"
      },
      {
        "id": "10177-000",
        "name": "Construction Services"
      }
    ],
    "serviceAreaDescription": null,
    "hasServiceArea": false,
    "serviceArea": null,
    "serviceAreasSummary": null,
    "businessLoginUrl": "/stlouis/login",
    "accreditationStatus": null
  },
  {
    "id": "0734_310610137_129038",
    "businessName": "A-Fab Construction",
    "address": null,
    "city": "California",
    "state": "MO",
    "postalcode": "65018-4047",
    "tobText": "Construction Services",
    "rating": "A+",
    "bbbMember": true,
    "charitySeal": false,
    "isCharity": 0,
    "accreditedCharity": false,
    "reportUrl": "https://www.bbb.org/us/mo/california/profile/construction-services/a-fab-construction-0734-310610137",
    "phone": ["(660) 624-0616"],
    "location": "38.610744,-92.46644",
    "businessId": "310610137",
    "ratingScore": 100,
    "score": 7397.7803,
    "logoUri": null,
    "tobId": "10177-000",
    "bbbId": "0734",
    "bbbName": "BBB Serving Greater Missouri & Southern Illinois",
    "distance": "4.6 mi",
    "requestAQuoteUrl": "/stlouis/quote/request-a-fab-construction-310610137",
    "requestAQuoteUrlId": 0,
    "localReportUrl": null,
    "leaveReviewUrl": "https://www.bbb.org/us/mo/california/profile/construction-services/a-fab-construction-0734-310610137/customer-reviews",
    "raqEnabled": true,
    "outOfBusinessStatus": null,
    "categories": [
      {
        "id": "10177-000",
        "name": "Construction Services"
      },
      {
        "id": "10126-000",
        "name": "Roofing Contractors"
      },
      {
        "id": "10035-000",
        "name": "General Contractor"
      },
      {
        "id": "10032-000",
        "name": "Concrete Contractors"
      }
    ],
    "serviceAreaDescription": null,
    "hasServiceArea": true,
    "serviceArea": null,
    "serviceAreasSummary": [
      "Boone County,  MO",
      "Callaway County,  MO",
      "Cole County,  MO",
      "Cooper County,  MO",
      "Maries County,  MO",
      "Miller County,  MO",
      "Moniteau County,  MO",
      "Morgan County,  MO"
    ],
    "businessLoginUrl": "/stlouis/login",
    "accreditationStatus": null
  },
  {
    "id": "0734_110210536_230221",
    "businessName": "Longfellow's <em>Garden</em> Center",
    "address": "12007 Lookout Trail ",
    "city": "Centertown",
    "state": "MO",
    "postalcode": "65023",
    "tobText": "Irrigation Equipment",
    "rating": "A+",
    "bbbMember": false,
    "charitySeal": false,
    "isCharity": 0,
    "accreditedCharity": false,
    "reportUrl": "https://www.bbb.org/us/mo/jefferson-city/profile/irrigation-equipment/all-n-one-irrigation-systems-inc-0734-110210536",
    "phone": [
      "(573) 636-5642",
      "(573) 636-5642",
      "(573) 348-0362",
      "(888) 442-3624",
      "(573) 636-3837",
      "(573) 443-3508"
    ],
    "location": "38.617031,-92.416199",
    "businessId": "110210536",
    "ratingScore": 97,
    "score": 3220.5664,
    "logoUri": null,
    "tobId": "80404-000",
    "bbbId": "0734",
    "bbbName": "BBB Serving Greater Missouri & Southern Illinois",
    "distance": "7.2 mi",
    "requestAQuoteUrl": null,
    "requestAQuoteUrlId": 0,
    "localReportUrl": null,
    "leaveReviewUrl": "https://www.bbb.org/us/mo/jefferson-city/profile/irrigation-equipment/all-n-one-irrigation-systems-inc-0734-110210536/customer-reviews",
    "raqEnabled": true,
    "outOfBusinessStatus": null,
    "categories": [
      {
        "id": "80404-000",
        "name": "Irrigation Equipment"
      },
      {
        "id": "70559-000",
        "name": "Irrigation Consultants"
      },
      {
        "id": "85280-000",
        "name": "Pet Containment System"
      }
    ],
    "serviceAreaDescription": null,
    "hasServiceArea": false,
    "serviceArea": null,
    "serviceAreasSummary": null,
    "businessLoginUrl": "/stlouis/login",
    "accreditationStatus": null
  },
  {
    "id": "0734_110204859_21553",
    "businessName": "Happy <em>Garden</em> Restaurant",
    "address": "2803 West Truman Blvd ",
    "city": "Jefferson City",
    "state": "MO",
    "postalcode": "65109-0545",
    "tobText": "Restaurants",
    "rating": "",
    "bbbMember": false,
    "charitySeal": false,
    "isCharity": 0,
    "accreditedCharity": false,
    "reportUrl": "https://www.bbb.org/us/mo/jefferson-city/profile/restaurants/happy-garden-restaurant-0734-110204859",
    "phone": ["(573) 893-7818"],
    "location": "38.594933,-92.225800",
    "businessId": "110204859",
    "ratingScore": 0,
    "score": 1565.8999,
    "logoUri": null,
    "tobId": "50544-000",
    "bbbId": "0734",
    "bbbName": "BBB Serving Greater Missouri & Southern Illinois",
    "distance": "17.6 mi",
    "requestAQuoteUrl": null,
    "requestAQuoteUrlId": 0,
    "localReportUrl": null,
    "leaveReviewUrl": "https://www.bbb.org/us/mo/jefferson-city/profile/restaurants/happy-garden-restaurant-0734-110204859/customer-reviews",
    "raqEnabled": true,
    "outOfBusinessStatus": null,
    "categories": [
      {
        "id": "50544-000",
        "name": "Restaurants"
      }
    ],
    "serviceAreaDescription": null,
    "hasServiceArea": false,
    "serviceArea": null,
    "serviceAreasSummary": null,
    "businessLoginUrl": "/stlouis/login",
    "accreditationStatus": null
  },
  {
    "id": "0734_310109937_71719",
    "businessName": "Superior <em>Garden</em> Center",
    "address": "2450 N Trails West Ave",
    "city": "Columbia",
    "state": "MO",
    "postalcode": "65202-7808",
    "tobText": "Garden Center",
    "rating": "A+",
    "bbbMember": false,
    "charitySeal": false,
    "isCharity": 0,
    "accreditedCharity": false,
    "reportUrl": "https://www.bbb.org/us/mo/columbia/profile/garden-center/superior-garden-center-0734-310109937",
    "phone": ["(573) 442-9499"],
    "location": "38.983986,-92.46061",
    "businessId": "310109937",
    "ratingScore": 100,
    "score": 1562.7357,
    "logoUri": null,
    "tobId": "50299-000",
    "bbbId": "0734",
    "bbbName": "BBB Serving Greater Missouri & Southern Illinois",
    "distance": "25.2 mi",
    "requestAQuoteUrl": null,
    "requestAQuoteUrlId": 0,
    "localReportUrl": null,
    "leaveReviewUrl": "https://www.bbb.org/us/mo/columbia/profile/garden-center/superior-garden-center-0734-310109937/customer-reviews",
    "raqEnabled": true,
    "outOfBusinessStatus": null,
    "categories": [
      {
        "id": "50299-000",
        "name": "Garden Center"
      },
      {
        "id": "50298-000",
        "name": "Lawn and Garden"
      },
      {
        "id": "50503-000",
        "name": "Gardening Stores"
      }
    ],
    "serviceAreaDescription": null,
    "hasServiceArea": false,
    "serviceArea": null,
    "serviceAreasSummary": null,
    "businessLoginUrl": "/stlouis/login",
    "accreditationStatus": null
  },
  {
    "id": "0734_310048974_69639",
    "businessName": "Green Horizons <em>Garden</em> Center",
    "address": "2607 Route CC",
    "city": "Jefferson City",
    "state": "MO",
    "postalcode": "65109-9127",
    "tobText": "Garden Center",
    "rating": "A+",
    "bbbMember": false,
    "charitySeal": false,
    "isCharity": 0,
    "accreditedCharity": false,
    "reportUrl": "https://www.bbb.org/us/mo/jefferson-city/profile/garden-center/green-horizons-garden-center-0734-310048974",
    "phone": ["(573) 636-4373"],
    "location": "38.54456,-92.22681",
    "businessId": "310048974",
    "ratingScore": 100,
    "score": 1440.2439,
    "logoUri": null,
    "tobId": "50299-000",
    "bbbId": "0734",
    "bbbName": "BBB Serving Greater Missouri & Southern Illinois",
    "distance": "18.3 mi",
    "requestAQuoteUrl": null,
    "requestAQuoteUrlId": 0,
    "localReportUrl": null,
    "leaveReviewUrl": "https://www.bbb.org/us/mo/jefferson-city/profile/garden-center/green-horizons-garden-center-0734-310048974/customer-reviews",
    "raqEnabled": true,
    "outOfBusinessStatus": null,
    "categories": [
      {
        "id": "50299-000",
        "name": "Garden Center"
      }
    ],
    "serviceAreaDescription": null,
    "hasServiceArea": false,
    "serviceArea": null,
    "serviceAreasSummary": null,
    "businessLoginUrl": "/stlouis/login",
    "accreditationStatus": null
  }
]
```

# Actor input Schema

## `search_query` (type: `string`):

Search Query

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

Location for the search

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

Select proxy groups or use your custom proxies

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

Country for the search

## Actor input object example

```json
{
  "search_query": "garden",
  "location": "California",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  },
  "country": "USA"
}
```

# 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 = {
    "search_query": "garden",
    "location": "California",
    "country": "USA"
};

// Run the Actor and wait for it to finish
const run = await client.actor("scraptivo/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 = {
    "search_query": "garden",
    "location": "California",
    "country": "USA",
}

# Run the Actor and wait for it to finish
run = client.actor("scraptivo/bbb-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "search_query": "garden",
  "location": "California",
  "country": "USA"
}' |
apify call scraptivo/bbb-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=scraptivo/bbb-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "BBB Scraper",
        "description": "Extract unlimited business listings from BBB. Get names, addresses, phone numbers, ratings, and more. Perfect for lead generation, research, or local marketing!",
        "version": "0.0",
        "x-build-id": "LdgRfhdsIlJfo7STS"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/scraptivo~bbb-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-scraptivo-bbb-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/scraptivo~bbb-scraper/runs": {
            "post": {
                "operationId": "runs-sync-scraptivo-bbb-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/scraptivo~bbb-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-scraptivo-bbb-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "search_query": {
                        "title": "Search Query",
                        "type": "string",
                        "description": "Search Query"
                    },
                    "location": {
                        "title": "Location",
                        "type": "string",
                        "description": "Location for the search",
                        "default": "California"
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Select proxy groups or use your custom proxies",
                        "default": {
                            "useApifyProxy": true,
                            "apifyProxyGroups": [
                                "RESIDENTIAL"
                            ]
                        }
                    },
                    "country": {
                        "title": "Country",
                        "enum": [
                            "USA",
                            "CAN"
                        ],
                        "type": "string",
                        "description": "Country for the search",
                        "default": "USA"
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
