curl --request POST \
--url https://api.aisa.one/apis/v1/bbb-business-profiles-ratings-complaint/businesses/search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "<string>"
}
'import requests
url = "https://api.aisa.one/apis/v1/bbb-business-profiles-ratings-complaint/businesses/search"
payload = { "query": "<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({query: '<string>'})
};
fetch('https://api.aisa.one/apis/v1/bbb-business-profiles-ratings-complaint/businesses/search', 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/search",
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([
'query' => '<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/search"
payload := strings.NewReader("{\n \"query\": \"<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/search")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"query\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/bbb-business-profiles-ratings-complaint/businesses/search")
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 \"query\": \"<string>\"\n}"
response = http.request(request)
puts response.read_bodyBusiness search
Find BBB business profiles by business name or category near a place (US or Canada). Returns one page of 15 results with each business’s BBB letter grade, accreditation flag, categories, address, phones, coordinates and profile URL, plus totals for pagination. BBB’s matching is fuzzy: check the returned name.
curl --request POST \
--url https://api.aisa.one/apis/v1/bbb-business-profiles-ratings-complaint/businesses/search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "<string>"
}
'import requests
url = "https://api.aisa.one/apis/v1/bbb-business-profiles-ratings-complaint/businesses/search"
payload = { "query": "<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({query: '<string>'})
};
fetch('https://api.aisa.one/apis/v1/bbb-business-profiles-ratings-complaint/businesses/search', 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/search",
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([
'query' => '<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/search"
payload := strings.NewReader("{\n \"query\": \"<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/search")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"query\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/bbb-business-profiles-ratings-complaint/businesses/search")
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 \"query\": \"<string>\"\n}"
response = http.request(request)
puts response.read_bodyRequest contract
- Method and path: POST /apis/v1/bbb-business-profiles-ratings-complaint/businesses/search
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/bbb-business-profiles-ratings-complaint/businesses/search
{
"operationId": "bbb-business-profiles-ratings-complaint.businesses.search",
"method": "POST",
"path": "/apis/v1/bbb-business-profiles-ratings-complaint/businesses/search",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"additionalProperties": true,
"properties": {
"country": {
"default": "us",
"description": "Which BBB site to search.\n\nProvider reference: allowed values [\"us\", \"ca\"]; default \"us\".",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body",
"oneOf": [
"us",
"ca"
]
}
},
"location": {
"description": "City and state/province (Austin, TX) or postal code, up to 120 characters. Omit for a nationwide search.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"page": {
"default": 1,
"description": "Results page, 1 to 100 (15 results per page).\n\nProvider reference: minimum 1; maximum 100; default 1.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body",
"max": 100,
"min": 1
}
},
"query": {
"description": "Business name or category, 1 to 200 characters, e.g. roofing, Comcast, moving company.",
"type": "string"
},
"sort": {
"default": "Relevance",
"description": "Result order.\n\nProvider reference: allowed values [\"Relevance\", \"Distance\", \"Rating\", \"AToZ\", \"ZToA\"]; default \"Relevance\".",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body",
"oneOf": [
"Relevance",
"Distance",
"Rating",
"AToZ",
"ZToA"
]
}
}
},
"required": [
"query"
],
"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
Response
Find BBB business profiles by business name or category near a place (US or Canada). Returns one page of 15 results with each business's BBB letter grade, accreditation flag, categories, address, phones, coordinates and profile URL, plus totals for pagination. BBB's matching is fuzzy: check the returned name.
The response contains the tool result directly.
The provider identifies results as the primary payload key.
| Documented field | Provider type | Description |
|---|---|---|
id | string | |
business_id | string | |
bbb_id | string | |
bbb_name | string | |
name | string | |
primary_category | string | |
categories | object[] | |
rating | string | |
rating_score | number | |
accredited | boolean | |
is_charity | boolean | |
address | string | |
city | string | |
state | string | |
postal_code | string | |
phones | string[] | |
latitude | number | |
longitude | number | |
distance | number | |
profile_url | string | |
local_report_url | string | |
logo_url | string | |
out_of_business_status | string | |
service_areas_summary | string[] |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.