curl --request POST \
--url https://api.aisa.one/apis/v1/bbb-business-profiles-ratings-complaint/businesses/profile \
--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/profile"
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/profile', 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/profile",
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/profile"
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/profile")
.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/profile")
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_bodyBusiness profile
One BBB business profile identified by its bbb.org profile URL or by bbb_id + business_id (from search): BBB letter grade with reasons, accreditation status and dates, file-opened/start/incorporation dates, years in business, entity type, categories, address, coordinates, contacts, websites, social links, local BBB office, alerts, and complaint and customer-review totals.
curl --request POST \
--url https://api.aisa.one/apis/v1/bbb-business-profiles-ratings-complaint/businesses/profile \
--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/profile"
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/profile', 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/profile",
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/profile"
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/profile")
.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/profile")
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/profile
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/bbb-business-profiles-ratings-complaint/businesses/profile
{
"operationId": "bbb-business-profiles-ratings-complaint.businesses.profile",
"method": "POST",
"path": "/apis/v1/bbb-business-profiles-ratings-complaint/businesses/profile",
"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"
]
}
},
"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 BBB business profile identified by its bbb.org profile URL or by bbb_id + business_id (from search): BBB letter grade with reasons, accreditation status and dates, file-opened/start/incorporation dates, years in business, entity type, categories, address, coordinates, contacts, websites, social links, local BBB office, alerts, and complaint and customer-review totals.
The response contains the tool result directly.
| Documented field | Provider type | Description |
|---|---|---|
id | string | |
bbb_id | string | |
business_id | string | |
name | string | |
alternate_names | string[] | |
profile_url | string | Canonical bbb.org profile URL. |
complaints_url | string | |
reviews_url | string | |
website | string | |
additional_websites | string[] | |
phone | string | |
additional_phones | string[] | |
email | string | |
rating | object | { grade, reasons, not_rated_reason }: BBB letter grade A+ to F or NR with BBB's published reasons. |
accreditation | object | { is_accredited, status_code, accredited_since, revoked_at, texts }. accredited_since stays on file for formerly accredited businesses. |
dates | object | { bbb_file_opened, business_started, business_started_locally, incorporated, new_owner } as YYYY-MM-DD or null. |
years_in_business | number | |
entity_type | string | |
number_of_employees | number | |
is_out_of_business | boolean | |
is_hq | boolean | |
is_multi_location | boolean | |
hq_information | object | HQ profile reference for branch profiles, or null. |
business_description | string | |
products_and_services | string | |
primary_category | string | |
primary_category_id | string | |
categories | object[] | { name, url }. |
has_high_risk_category | boolean | |
address | object | { line1, line2, city, state, postal_code, formatted }. |
latitude | number | |
longitude | number | |
service_area_descriptions | string[] | |
service_area_postal_codes | string[] | |
contacts | object[] | { name, title, is_principal, is_management, is_primary }. |
social_media | object[] | { type, url }. |
local_bbb | object | { name, url } of the BBB office holding the file. |
reviews_summary | object | { total, average_star_rating, suppressed } for the whole profile. |
complaints_summary | object | { total, closed_past_3_years, closed_past_12_months } for the whole profile. |
alerts | object[] | BBB alerts as published (pattern of complaints, government actions). |
latest_reviews | object[] | { id, display_name, preview_text }. |
payment_methods | string[] | |
license | object | Licensing block as published, or null. |
source_url | string | |
observed_at_ms | number |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.