Skip to main content
POST
/
api
/
bbb
/
businesses
/
complaints
/bbb/businesses/complaints
curl --request POST \
  --url https://api.anysite.io/api/bbb/businesses/complaints \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "business": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "@type": "@bbb_complaint",
    "type": "<string>",
    "status": "<string>",
    "text": "<string>",
    "created_at": "<string>",
    "responses": []
  }
]

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"

count
integer
required

Max number of complaints to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
string
required
@type
string
default:@bbb_complaint
type
string | null
status
string | null
text
string | null
created_at
string | null
responses
BbbComplaintResponse · object[]