curl --request POST \
--url https://api.aisa.one/apis/v1/bbb-business-profiles-ratings-complaint/businesses/reviews \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"bbb_id": "<string>",
"business_id": "<string>",
"url": "<string>"
}
'import requests
url = "https://api.aisa.one/apis/v1/bbb-business-profiles-ratings-complaint/businesses/reviews"
payload = {
"bbb_id": "<string>",
"business_id": "<string>",
"url": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({bbb_id: '<string>', business_id: '<string>', url: '<string>'})
};
fetch('https://api.aisa.one/apis/v1/bbb-business-profiles-ratings-complaint/businesses/reviews', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/bbb-business-profiles-ratings-complaint/businesses/reviews",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'bbb_id' => '<string>',
'business_id' => '<string>',
'url' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/bbb-business-profiles-ratings-complaint/businesses/reviews"
payload := strings.NewReader("{\n \"bbb_id\": \"<string>\",\n \"business_id\": \"<string>\",\n \"url\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/bbb-business-profiles-ratings-complaint/businesses/reviews")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"bbb_id\": \"<string>\",\n \"business_id\": \"<string>\",\n \"url\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/bbb-business-profiles-ratings-complaint/businesses/reviews")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"bbb_id\": \"<string>\",\n \"business_id\": \"<string>\",\n \"url\": \"<string>\"\n}"
response = http.request(request)
puts response.read_bodyCustomer reviews
One page (10) of BBB customer reviews for a business identified by profile URL or bbb_id + business_id: star rating, reviewer display name, date, text and business/customer follow-up responses, plus the profile’s review total and average star rating.
curl --request POST \
--url https://api.aisa.one/apis/v1/bbb-business-profiles-ratings-complaint/businesses/reviews \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"bbb_id": "<string>",
"business_id": "<string>",
"url": "<string>"
}
'import requests
url = "https://api.aisa.one/apis/v1/bbb-business-profiles-ratings-complaint/businesses/reviews"
payload = {
"bbb_id": "<string>",
"business_id": "<string>",
"url": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({bbb_id: '<string>', business_id: '<string>', url: '<string>'})
};
fetch('https://api.aisa.one/apis/v1/bbb-business-profiles-ratings-complaint/businesses/reviews', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/bbb-business-profiles-ratings-complaint/businesses/reviews",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'bbb_id' => '<string>',
'business_id' => '<string>',
'url' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/bbb-business-profiles-ratings-complaint/businesses/reviews"
payload := strings.NewReader("{\n \"bbb_id\": \"<string>\",\n \"business_id\": \"<string>\",\n \"url\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/bbb-business-profiles-ratings-complaint/businesses/reviews")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"bbb_id\": \"<string>\",\n \"business_id\": \"<string>\",\n \"url\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/bbb-business-profiles-ratings-complaint/businesses/reviews")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"bbb_id\": \"<string>\",\n \"business_id\": \"<string>\",\n \"url\": \"<string>\"\n}"
response = http.request(request)
puts response.read_bodyRequest contract
- Method and path: POST /apis/v1/bbb-business-profiles-ratings-complaint/businesses/reviews
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/bbb-business-profiles-ratings-complaint/businesses/reviews
{
"operationId": "bbb-business-profiles-ratings-complaint.businesses.reviews",
"method": "POST",
"path": "/apis/v1/bbb-business-profiles-ratings-complaint/businesses/reviews",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"additionalProperties": true,
"allOf": [
{
"anyOf": [
{
"properties": {
"bbb_id": {}
},
"required": [
"bbb_id"
]
},
{
"properties": {
"url": {}
},
"required": [
"url"
]
}
]
},
{
"anyOf": [
{
"properties": {
"business_id": {}
},
"required": [
"business_id"
]
},
{
"properties": {
"url": {}
},
"required": [
"url"
]
}
]
}
],
"properties": {
"bbb_id": {
"description": "4-digit BBB office id from search results, e.g. 0825. Provide together with business_id.",
"type": "string"
},
"business_id": {
"description": "Numeric BBB business id from search results, e.g. 90019908. Provide together with bbb_id.",
"type": "string"
},
"country": {
"default": "us",
"description": "Only with bbb_id/business_id: which BBB site holds the profile.\n\nProvider reference: allowed values [\"us\", \"ca\"]; default \"us\".",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body",
"oneOf": [
"us",
"ca"
]
}
},
"page": {
"default": 1,
"description": "Page number, 1 to 100 (10 per page, newest first).\n\nProvider reference: minimum 1; maximum 100; default 1.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body",
"max": 100,
"min": 1
}
},
"url": {
"description": "HTTPS www.bbb.org/{us|ca}/<state>/<city>/profile/<category>/<name>-<bbb_id>-<business_id> profile URL (section suffixes such as /complaints are accepted). Provide either url, or bbb_id with business_id.",
"type": "string"
}
},
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.0001 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Authorizations
Body
- Option 1
- Option 2
- Option 3
- Option 4
HTTPS www.bbb.org/{us|ca}///profile//-<bbb_id>-<business_id> profile URL (section suffixes such as /complaints are accepted). Provide either url, or bbb_id with business_id.
Response
One page (10) of BBB customer reviews for a business identified by profile URL or bbb_id + business_id: star rating, reviewer display name, date, text and business/customer follow-up responses, plus the profile's review total and average star rating.
The response contains the tool result directly.
The provider identifies reviews as the primary payload key.
| Documented field | Provider type | Description |
|---|---|---|
id | string | |
star_rating | number | |
display_name | string | |
date | string | |
text | string | |
responses | object[] | Published business/customer response text and dates. |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.