curl --request POST \
--url https://api.aisa.one/apis/v1/bbb-org/businesses/profile \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"id": "0825-1000223803"
}
'import requests
url = "https://api.aisa.one/apis/v1/bbb-org/businesses/profile"
payload = { "id": "0825-1000223803" }
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({id: '0825-1000223803'})
};
fetch('https://api.aisa.one/apis/v1/bbb-org/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-org/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([
'id' => '0825-1000223803'
]),
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-org/businesses/profile"
payload := strings.NewReader("{\n \"id\": \"0825-1000223803\"\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-org/businesses/profile")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"id\": \"0825-1000223803\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/bbb-org/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 \"id\": \"0825-1000223803\"\n}"
response = http.request(request)
puts response.read_body{
"accreditation": {
"accredited_since": "2024-01-16",
"is_accredited": true,
"revoked_at": null,
"status_code": 0,
"texts": []
},
"address": {
"city": "Austin",
"country_code": 2,
"formatted": "8410 Georgian Dr # B, Austin, TX 78753-6003",
"is_us_based": true,
"postal_code": "78753-6003",
"state": "TX",
"street": "8410 Georgian Dr # B",
"street2": null
},
"alerts": [],
"alt_names": [
"Calixto Plumbing, LLC"
],
"attribution": "Better Business Bureau (bbb.org)",
"bbb_id": "0825",
"business_id": "1000223803",
"categories": [
{
"name": "Plumber",
"url": "https://www.bbb.org/us/tx/austin/category/plumber"
},
{
"name": "Plumbing Renovation",
"url": "https://www.bbb.org/us/tx/austin/category/plumbing-renovation"
},
{
"name": "Commercial Plumber",
"url": "https://www.bbb.org/us/tx/austin/category/commercial-plumber"
}
],
"complaints_summary": {
"closed_last_12_months": 0,
"closed_last_3_years": 0,
"total_displayed": 0,
"unit": "complaints"
},
"complaints_url": "https://www.bbb.org/us/tx/austin/profile/plumber/calixto-plumbing-0825-1000223803/complaints",
"dates": {
"bbb_file_opened": "2024-01-16",
"business_started": "2023-03-14",
"business_started_locally": null,
"incorporated": "2023-03-14",
"new_owner": null
},
"employees": null,
"entity_type": "Limited Liability Company (LLC)",
"has_high_risk_category": false,
"id": "0825-1000223803",
"is_multi_location": false,
"is_out_of_business": false,
"latitude": 30.3,
"licenses": [
{
"agency": "Texas State Board of Plumbing Examiners",
"agency_state": "TX",
"expiration_date": "2026-11-30",
"notes": null,
"number": "44648"
}
],
"local_bbb": {
"id": "0825",
"name": "BBB Heart of Texas",
"url": "https://www.bbb.org/local-bbb/bbb-serving-the-heart-of-texas"
},
"logo_url": "https://m.bbb.org/prod/ProfileImages/2024/1f7a8bd4-fdd2-45ca-8963-5c246e1d3b85.png",
"longitude": -97.76,
"management": [
{
"is_principal": true,
"name": "Mr. Omar Calixto Cordoba",
"title": "Owner/Manager"
}
],
"name": "Calixto Plumbing",
"observed_at_ms": 1789483200000,
"phone": "(512) 945-3143",
"primary_category": {
"id": "10113-000",
"name": "Plumber"
},
"rating": {
"grade": "A+",
"methodology_url": "https://www.bbb.org/all/overview-of-ratings",
"not_rated_reason": null,
"reasons": [
"Customer Reviews are not used in the calculation of the BBB Letter Grade Rating."
],
"scale": "BBB letter grade A+ to F; NR = not rated"
},
"reviews_summary": {
"average_star_rating": 1,
"scale": "stars_1_to_5",
"suppressed": false,
"total": 1
},
"reviews_url": "https://www.bbb.org/us/tx/austin/profile/plumber/calixto-plumbing-0825-1000223803/customer-reviews",
"service_area": null,
"source_url": "https://www.bbb.org/us/tx/austin/profile/plumber/calixto-plumbing-0825-1000223803",
"terms_url": "https://www.bbb.org/terms-of-use",
"website": "https://calixtoplumbing.com/",
"years_in_business": 3
}Profile
You have a BBB id (from search or resolve) or a pasted bbb.org profile URL and need ratings, accreditation and complaint summary figures.
curl --request POST \
--url https://api.aisa.one/apis/v1/bbb-org/businesses/profile \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"id": "0825-1000223803"
}
'import requests
url = "https://api.aisa.one/apis/v1/bbb-org/businesses/profile"
payload = { "id": "0825-1000223803" }
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({id: '0825-1000223803'})
};
fetch('https://api.aisa.one/apis/v1/bbb-org/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-org/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([
'id' => '0825-1000223803'
]),
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-org/businesses/profile"
payload := strings.NewReader("{\n \"id\": \"0825-1000223803\"\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-org/businesses/profile")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"id\": \"0825-1000223803\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/bbb-org/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 \"id\": \"0825-1000223803\"\n}"
response = http.request(request)
puts response.read_body{
"accreditation": {
"accredited_since": "2024-01-16",
"is_accredited": true,
"revoked_at": null,
"status_code": 0,
"texts": []
},
"address": {
"city": "Austin",
"country_code": 2,
"formatted": "8410 Georgian Dr # B, Austin, TX 78753-6003",
"is_us_based": true,
"postal_code": "78753-6003",
"state": "TX",
"street": "8410 Georgian Dr # B",
"street2": null
},
"alerts": [],
"alt_names": [
"Calixto Plumbing, LLC"
],
"attribution": "Better Business Bureau (bbb.org)",
"bbb_id": "0825",
"business_id": "1000223803",
"categories": [
{
"name": "Plumber",
"url": "https://www.bbb.org/us/tx/austin/category/plumber"
},
{
"name": "Plumbing Renovation",
"url": "https://www.bbb.org/us/tx/austin/category/plumbing-renovation"
},
{
"name": "Commercial Plumber",
"url": "https://www.bbb.org/us/tx/austin/category/commercial-plumber"
}
],
"complaints_summary": {
"closed_last_12_months": 0,
"closed_last_3_years": 0,
"total_displayed": 0,
"unit": "complaints"
},
"complaints_url": "https://www.bbb.org/us/tx/austin/profile/plumber/calixto-plumbing-0825-1000223803/complaints",
"dates": {
"bbb_file_opened": "2024-01-16",
"business_started": "2023-03-14",
"business_started_locally": null,
"incorporated": "2023-03-14",
"new_owner": null
},
"employees": null,
"entity_type": "Limited Liability Company (LLC)",
"has_high_risk_category": false,
"id": "0825-1000223803",
"is_multi_location": false,
"is_out_of_business": false,
"latitude": 30.3,
"licenses": [
{
"agency": "Texas State Board of Plumbing Examiners",
"agency_state": "TX",
"expiration_date": "2026-11-30",
"notes": null,
"number": "44648"
}
],
"local_bbb": {
"id": "0825",
"name": "BBB Heart of Texas",
"url": "https://www.bbb.org/local-bbb/bbb-serving-the-heart-of-texas"
},
"logo_url": "https://m.bbb.org/prod/ProfileImages/2024/1f7a8bd4-fdd2-45ca-8963-5c246e1d3b85.png",
"longitude": -97.76,
"management": [
{
"is_principal": true,
"name": "Mr. Omar Calixto Cordoba",
"title": "Owner/Manager"
}
],
"name": "Calixto Plumbing",
"observed_at_ms": 1789483200000,
"phone": "(512) 945-3143",
"primary_category": {
"id": "10113-000",
"name": "Plumber"
},
"rating": {
"grade": "A+",
"methodology_url": "https://www.bbb.org/all/overview-of-ratings",
"not_rated_reason": null,
"reasons": [
"Customer Reviews are not used in the calculation of the BBB Letter Grade Rating."
],
"scale": "BBB letter grade A+ to F; NR = not rated"
},
"reviews_summary": {
"average_star_rating": 1,
"scale": "stars_1_to_5",
"suppressed": false,
"total": 1
},
"reviews_url": "https://www.bbb.org/us/tx/austin/profile/plumber/calixto-plumbing-0825-1000223803/customer-reviews",
"service_area": null,
"source_url": "https://www.bbb.org/us/tx/austin/profile/plumber/calixto-plumbing-0825-1000223803",
"terms_url": "https://www.bbb.org/terms-of-use",
"website": "https://calixtoplumbing.com/",
"years_in_business": 3
}Request contract
- Method and path: POST /apis/v1/bbb-org/businesses/profile
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/bbb-org/businesses/profile
{
"operationId": "bbb-org.businesses.profile",
"method": "POST",
"path": "/apis/v1/bbb-org/businesses/profile",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"examples": {
"provider": {
"summary": "Official provider example; checked against AIsa request constraints",
"value": {
"id": "0825-1000223803"
}
}
},
"schema": {
"additionalProperties": true,
"allOf": [
{
"anyOf": [
{
"properties": {
"id": {}
},
"required": [
"id"
]
},
{
"properties": {
"url": {}
},
"required": [
"url"
]
}
]
}
],
"properties": {
"id": {
"description": "BBB identity `<bbbId>-<businessId>` as it appears at the end of the profile URL (e.g. 0825-1000223803). Pattern: ^[0-9]{4}-[0-9]{1,12}$.",
"type": "string"
},
"url": {
"description": "A pasted bbb.org business profile URL, or any of its sub pages (/complaints, /customer-reviews, /leave-a-review). Exactly one of `id` or `url`.",
"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.0005 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
Response
The full bbb.org business profile for one business: names, website and phone, categories, BBB letter grade with reasons, accreditation status and dates, file-opened / started / incorporated dates, address and coordinates, entity type, years in business, complaint counts (closed in the last 3 years and 12 months), review count and average stars, alerts such as government actions, licences and management.
The response contains the tool result directly.
| Documented field | Provider type | Description |
|---|---|---|
accreditation | object | |
address | object | |
alerts | object[] | Government actions, advertising reviews and other BBB alerts, verbatim HTML. |
alt_names | string[] | |
attribution | string | Attribution string to display with the data. |
bbb_id | string | Four-digit id of the local BBB that holds the file. |
business_id | string | Numeric business id assigned by BBB. |
categories | object[] | |
complaints_summary | object | Complaint counts as bbb.org shows them; null when the page omits a figure. |
complaints_url | string | |
dates | object | |
employees | number | Employee count when bbb.org shows a positive number; null otherwise (0 means unknown on the site). |
entity_type | string | |
has_high_risk_category | boolean | |
id | string | Stable bbb.org identity <bbbId>-<businessId>, the trailing part of every profile URL. |
is_multi_location | boolean | |
is_out_of_business | boolean | |
latitude | number | |
licenses | object[] | |
local_bbb | object | |
logo_url | string | |
longitude | number | |
management | object[] | Business management / principal contacts as bbb.org lists them (names and titles only). |
name | string | |
observed_at_ms | number | Unix epoch milliseconds (UTC) when this program read the page. Live read on every call, no cache. |
phone | string | Primary business phone as listed. |
primary_category | object | |
rating | object | |
reviews_summary | object | |
reviews_url | string | |
service_area | string | |
source_url | string | Canonical bbb.org profile URL. |
terms_url | string | bbb.org terms of use governing this public data. |
website | string | Business website as listed. |
years_in_business | number |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.