Skip to main content
POST
/
api
/
bbb
/
businesses
/bbb/businesses
curl --request POST \
  --url https://api.anysite.io/api/bbb/businesses \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "business": "<string>",
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "name": "<string>",
    "@type": "@bbb_business",
    "alias": "<string>",
    "alt_names": [],
    "bbb_rating": "<string>",
    "rating_reasons": [],
    "is_accredited": true,
    "accredited_at": "<string>",
    "rating": 123,
    "review_count": 123,
    "complaint_count": 123,
    "closed_complaint_count_3y": 123,
    "closed_complaint_count_12m": 123,
    "categories": [],
    "category": "<string>",
    "legal_entity_type": "<string>",
    "phone": "<string>",
    "email": "<string>",
    "web_url": "<string>",
    "address": "<string>",
    "city": "<string>",
    "state": "<string>",
    "zip_code": "<string>",
    "formatted_address": "<string>",
    "latitude": 123,
    "longitude": 123,
    "is_hq": true,
    "description": "<string>",
    "contacts": [],
    "file_opened_at": "<string>",
    "business_start_at": "<string>",
    "incorporated_at": "<string>",
    "employee_count": 123,
    "years_in_business": 123,
    "is_out_of_business": true,
    "local_bbb": "<string>",
    "profile_url": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
business
string
required

BBB business id (e.g. 0292-1922) or a BBB business profile URL

Minimum string length: 1
Examples:

"0292-1922"

"https://www.bbb.org/us/oh/cincinnati/profile/plumber/roto-rooter-plumbing-water-cleanup-0292-1922"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
string
required
name
string
required
@type
string
default:@bbb_business
alias
string | null
alt_names
string[]
bbb_rating
string | null
rating_reasons
string[]
is_accredited
boolean | null
accredited_at
string | null
rating
number | null
review_count
integer | null
complaint_count
integer | null
closed_complaint_count_3y
integer | null
closed_complaint_count_12m
integer | null
categories
string[]
category
string | null
phone
string | null
email
string | null
web_url
string | null
address
string | null
city
string | null
state
string | null
zip_code
string | null
formatted_address
string | null
latitude
number | null
longitude
number | null
is_hq
boolean | null
description
string | null
contacts
BbbBusinessContact · object[]
file_opened_at
string | null
business_start_at
string | null
incorporated_at
string | null
employee_count
integer | null
years_in_business
integer | null
is_out_of_business
boolean | null
local_bbb
string | null
profile_url
string | null