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.
| Field | Type | Description |
|---|---|---|
urlrequired | string | The 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.
| Field | Type | Notes |
|---|---|---|
business_id | string | BBB'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_id | string or null | The id of the local BBB that keeps the file, e.g. 0825. |
name | string | The business's name as BBB lists it. |
url | string | The business's profile on bbb.org. |
rating | string or null | BBB's letter grade, A+ to F, or NR where it gives none. |
accredited | boolean or null | True for a BBB Accredited Business. |
phone | string or null | The business's phone number as BBB lists it. |
street | string or null | The street address. |
city | string or null | The city. |
state | string or null | The state or province, as a two-letter code. |
postal_code | string or null | The ZIP or postal code. |
latitude | number or null | The latitude BBB gives the address. |
longitude | number or null | The longitude BBB gives the address. |
categories | array of string | The kinds of business BBB files it under, e.g. Plumber, Commercial Plumber. |
logo | string or null | The business's logo on bbb.org. |
local_bbb | string or null | The local BBB that keeps the file, e.g. BBB Heart of Texas. |
service_areas | array of string | On a search result: the areas the business says it serves, e.g. Travis County, TX. |
alternate_names | array of string | Other names the business trades or is registered under. Empty on a search result. |
website | string or null | The business's own website. Null on a search result. |
accredited_since | string (date) or null | When BBB accredited the business. Null on a search result. |
file_opened | string (date) or null | When BBB opened its file on the business. Null on a search result. |
business_started | string (date) or null | When the business says it started. Null on a search result. |
incorporated | string (date) or null | When it was incorporated, where BBB states it. Null on a search result. |
years_in_business | integer or null | How many years BBB counts the business as running. Null on a search result. |
entity_type | string or null | The legal form, e.g. Limited Liability Company (LLC). Null on a search result. |
employees | integer or null | How many employees the business reported to BBB; null where it reported none. |
review_rating | number or null | The average of customers' star ratings on BBB, out of 5. Null where BBB shows none. |
review_count | integer or null | How many customer reviews the business has on BBB. Null on a search result. |
complaint_count | integer or null | How many complaints BBB counts against the business. Null on a search result. |
complaints_closed_3_years | integer or null | How many complaints were closed in the last three years. Null on a search result. |
complaints_closed_12_months | integer or null | How many complaints were closed in the last twelve months. Null on a search result. |
licenses | array of object | The licences BBB lists for the business. Empty on a search result. |
number (in licenses[]) | string | The licence number as BBB lists it. |
agency (in licenses[]) | string or null | The body that issued it, e.g. Texas State Board of Plumbing Examiners. |
expires (in licenses[]) | string (date) or null | When it expires, where BBB states it. |
out_of_business | boolean or null | True where BBB marks the business as out of business. |
fetched_at | string (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-1000223803Install 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:
{
"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.
{
"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.
{
"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.