Skip to main content
POST
Search

Request contract

  • Method and path: POST /apis/v1/bbb-org/businesses/search
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/bbb-org/businesses/search
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

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

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
category_id
string
required

Restrict to one BBB type-of-business id (filter_category), taken from a previous search's filters.categories. Pattern: ^[0-9]{5}-[0-9]{3}$.

accredited_only
boolean

Only BBB Accredited Businesses (filter_accredited).

country
string
default:USA

Market to search: bbb.org serves the United States and Canada.

Provider reference: allowed values ["USA", "CAN"]; default "USA".

distance_miles
number

Radius around location (filter_distance); requires location.

Provider reference: allowed values ["5", "10", "25", "50", "100"].

location
string

City and state/province (Austin, TX), or a ZIP / postal code (bbb.org find_loc). Omit for a nationwide search.

min_rating
string

Minimum BBB letter grade (filter_ratings): A means A and above.

Provider reference: allowed values ["A", "B", "C", "D", "F"].

page
number
default:1

1-based result page of 15 items; bbb.org exposes at most 15 pages per query.

Provider reference: minimum 1; maximum 50; default 1.

query
string

Business name or category words (bbb.org find_text). Required unless category_id is given.

sort
string
default:Relevance

bbb.org sort order. Distance requires location.

Provider reference: allowed values ["Relevance", "Distance", "Rating", "AToZ", "ZToA"]; default "Relevance".

state
string

Restrict to one state/province code (filter_state). Pattern: ^[A-Z]{2}$.

Response

Find businesses on bbb.org by name or category words and an optional city/state or postal code, with the site's own filters (accredited only, minimum letter grade, category id, state, radius) and sort. Returns 15 items per page with BBB identity, canonical profile URL, letter grade, accreditation flag, categories, address, phones and service areas, plus the filter values bbb.org offers.

The response contains the tool result directly.

The provider identifies items as the primary payload key.

These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.