Skip to the content
EnrichedNowDocs

    Type to search every page.

    Menu

    Scraper APIBetter Business Bureau

    bbb.business

    One business's profile on the Better Business Bureau: BBB rating and accreditation, years in business, reviews and complaints counts, licences, address, phone and website.

    Id
    bbb.business
    Version
    1
    Billed per
    request — 1 unit for a charged run
    Runs
    within one request

    Start it with POST /v1/scrapers/bbb.business/runs. How runs work is in Running a scraper; what a run costs is in Usage and units.

    Inputs

    The fields of input. A field that is not listed here is refused.

    Inputs of bbb.business
    FieldTypeDescription
    urlrequiredstringThe address of the business's profile on bbb.org, e.g. https://www.bbb.org/us/tx/austin/profile/plumber/calixto-plumbing-0825-1000223803.Limit: at least 1 characters, at most 400 characters.

    Record fields

    Every record of a run has these fields. A value that is not known is null — never an empty string and never 0.

    Record fields of bbb.business
    FieldTypeNotes
    business_idstringBBB's id of the business, e.g. 1000223803. A search lists a business once for each of its locations, so the same id can come more than once.
    bbb_idstring or nullThe id of the local BBB that keeps the file, e.g. 0825.
    namestringThe business's name as BBB lists it.
    urlstringThe business's profile on bbb.org.
    ratingstring or nullBBB's letter grade, A+ to F, or NR where it gives none.
    accreditedboolean or nullTrue for a BBB Accredited Business.
    phonestring or nullThe business's phone number as BBB lists it.
    streetstring or nullThe street address.
    citystring or nullThe city.
    statestring or nullThe state or province, as a two-letter code.
    postal_codestring or nullThe ZIP or postal code.
    latitudenumber or nullThe latitude BBB gives the address.
    longitudenumber or nullThe longitude BBB gives the address.
    categoriesarray of stringThe kinds of business BBB files it under, e.g. Plumber, Commercial Plumber.
    logostring or nullThe business's logo on bbb.org.
    local_bbbstring or nullThe local BBB that keeps the file, e.g. BBB Heart of Texas.
    service_areasarray of stringOn a search result: the areas the business says it serves, e.g. Travis County, TX.
    alternate_namesarray of stringOther names the business trades or is registered under. Empty on a search result.
    websitestring or nullThe business's own website. Null on a search result.
    accredited_sincestring (date) or nullWhen BBB accredited the business. Null on a search result.
    file_openedstring (date) or nullWhen BBB opened its file on the business. Null on a search result.
    business_startedstring (date) or nullWhen the business says it started. Null on a search result.
    incorporatedstring (date) or nullWhen it was incorporated, where BBB states it. Null on a search result.
    years_in_businessinteger or nullHow many years BBB counts the business as running. Null on a search result.
    entity_typestring or nullThe legal form, e.g. Limited Liability Company (LLC). Null on a search result.
    employeesinteger or nullHow many employees the business reported to BBB; null where it reported none.
    review_ratingnumber or nullThe average of customers' star ratings on BBB, out of 5. Null where BBB shows none.
    review_countinteger or nullHow many customer reviews the business has on BBB. Null on a search result.
    complaint_countinteger or nullHow many complaints BBB counts against the business. Null on a search result.
    complaints_closed_3_yearsinteger or nullHow many complaints were closed in the last three years. Null on a search result.
    complaints_closed_12_monthsinteger or nullHow many complaints were closed in the last twelve months. Null on a search result.
    licensesarray of objectThe licences BBB lists for the business. Empty on a search result.
    number (in licenses[])stringThe licence number as BBB lists it.
    agency (in licenses[])string or nullThe body that issued it, e.g. Texas State Board of Plumbing Examiners.
    expires (in licenses[])string (date) or nullWhen it expires, where BBB states it.
    out_of_businessboolean or nullTrue where BBB marks the business as out of business.
    fetched_atstring (date-time)When the business was read, in UTC.

    Example request

    # Start a run and wait up to 60 seconds for it to finish
    curl -X POST "https://api.enrichednow.com/v1/scrapers/bbb.business/runs?wait=60" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"input":{"url":"https://www.bbb.org/us/tx/austin/profile/plumber/calixto-plumbing-0825-1000223803"}}'
    
    # Read its records, with the id the first call answered
    curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
    from enrichednow import EnrichedNow
    
    client = EnrichedNow()  # reads ENRICHEDNOW_API_KEY
    
    # Start a run, wait for it to end, and get its records
    result = client.scrape("bbb.business", {
        "url": "https://www.bbb.org/us/tx/austin/profile/plumber/calixto-plumbing-0825-1000223803",
    })
    print(result.run.id, result.run.status, result.run.record_count)
    
    # Read its records: pages are fetched as you go
    for record in result.records:
        print(record)

    Install it with pip install enrichednow, then save as run.py and run python3 run.py

    import EnrichedNow from "enrichednow";
    
    const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
    
    // Start a run, wait for it to end, and get its records
    const { run, records } = await client.scrape("bbb.business", {
      url: "https://www.bbb.org/us/tx/austin/profile/plumber/calixto-plumbing-0825-1000223803",
    });
    console.log(run.id, run.status, run.record_count);
    
    // Read its records: pages are fetched as you go
    for await (const record of records) console.log(record);

    Install it with npm install enrichednow, then save as run.mjs and run node run.mjs

    package main
    
    import (
    	"context"
    	"fmt"
    	"log"
    	"time"
    
    	enrichednow "github.com/enrichednow/enrichednow-go"
    )
    
    func main() {
    	client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
    	if err != nil {
    		log.Fatal(err)
    	}
    	ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
    	defer cancel()
    
    	// Start a run, wait for it to end, and get its records
    	run, records, err := client.Scrape(ctx, "bbb.business", map[string]any{"url": "https://www.bbb.org/us/tx/austin/profile/plumber/calixto-plumbing-0825-1000223803"})
    	if err != nil {
    		log.Fatal(err)
    	}
    	fmt.Println(run.ID, run.Status, run.RecordCount)
    
    	// Read its records: pages are fetched as you go
    	for records.Next() {
    		fmt.Println(string(records.Current()))
    	}
    	if err := records.Err(); err != nil {
    		log.Fatal(err)
    	}
    }

    Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go

    import com.enrichednow.EnrichedNowClient;
    import com.enrichednow.ScrapeResult;
    import java.util.Map;
    
    public class Run {
        public static void main(String[] args) {
            EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
    
            // Start a run, wait for it to end, and get its records
            ScrapeResult result = client.scrape("bbb.business", Map.of("url", "https://www.bbb.org/us/tx/austin/profile/plumber/calixto-plumbing-0825-1000223803"));
            System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
    
            // Read its records: pages are fetched as you go
            for (Map<String, Object> record : result.records()) {
                System.out.println(record);
            }
        }
    }

    Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java

    enrichednow run bbb.business --input url=https://www.bbb.org/us/tx/austin/profile/plumber/calixto-plumbing-0825-1000223803

    Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh

    It starts a run with this scraper’s example input, waits for it to finish and reads its records a page at a time. The key is read from ENRICHEDNOW_API_KEY.

    The body on its own:

    JSON
    {
      "input": {
        "url": "https://www.bbb.org/us/tx/austin/profile/plumber/calixto-plumbing-0825-1000223803"
      }
    }

    Example response

    The run, once it has ended. A run that has not ended within wait comes back with 202 and the status queued or running.

    JSON
    {
      "id": "run_841742f37553189ff9c27ba1",
      "scraper_id": "bbb.business",
      "scraper_version": 1,
      "status": "ok",
      "reason": null,
      "input": {
        "url": "https://www.bbb.org/us/tx/austin/profile/plumber/calixto-plumbing-0825-1000223803"
      },
      "record_count": 1,
      "units": 1,
      "units_per_request": 1,
      "units_per_record": null,
      "units_per_page": null,
      "diagnostics": {
        "requests": 1,
        "bytes": 259214,
        "wall_ms": 885,
        "facts": {}
      },
      "created_at": "2026-11-16T22:37:50.170950Z",
      "started_at": "2026-11-16T22:37:50.178331Z",
      "finished_at": "2026-11-16T22:37:51.066313Z"
    }

    Its records, from GET /v1/runs/{id}/records. The record is a real one: this scraper's own parser read it from a page recorded from the site.

    JSON
    {
      "records": [
        {
          "business_id": "1000223803",
          "bbb_id": "0825",
          "name": "Calixto Plumbing",
          "url": "https://www.bbb.org/us/tx/austin/profile/plumber/calixto-plumbing-0825-1000223803",
          "rating": "A+",
          "accredited": true,
          "phone": "(512) 945-3143",
          "street": "8410 Georgian Dr # B",
          "city": "Austin",
          "state": "TX",
          "postal_code": "78753-6003",
          "latitude": 30.3,
          "longitude": -97.76,
          "categories": [
            "Plumber",
            "Plumbing Renovation",
            "Commercial Plumber"
          ],
          "logo": "https://m.bbb.org/prod/ProfileImages/2024/1f7a8bd4-fdd2-45ca-8963-5c246e1d3b85.png",
          "local_bbb": "BBB Heart of Texas",
          "service_areas": [],
          "alternate_names": [
            "Calixto Plumbing, LLC"
          ],
          "website": "https://calixtoplumbing.com/",
          "accredited_since": "2024-01-16",
          "file_opened": "2024-01-16",
          "business_started": "2023-03-14",
          "incorporated": "2023-03-14",
          "years_in_business": 3,
          "entity_type": "Limited Liability Company (LLC)",
          "employees": null,
          "review_rating": 1,
          "review_count": 1,
          "complaint_count": 0,
          "complaints_closed_3_years": 0,
          "complaints_closed_12_months": 0,
          "licenses": [
            {
              "number": "44648",
              "agency": "Texas State Board of Plumbing Examiners",
              "expires": "2027-11-30"
            }
          ],
          "out_of_business": false,
          "fetched_at": "2026-11-19T18:07:39.045187Z"
        }
      ],
      "next_cursor": null
    }

    What was done to the record for this page, and nothing else — the API returns every value whole. A text that was cut ends with … [truncated].

    • Shortened: categories: 4 items, the first 3 shown.

    A run does not always end ok. Results and statuses lists every status and the reasons every scraper shares; the reasons of the Better Business Bureau scrapers are in their own section there.