datasets_bbb_businesses_search
Search the stored BBB businesses dataset for business profiles, including its computed A+-to-F grade, accreditation status, category, and contact information. Records also store BBB's complaint and review counts and the BBB alerts on each profile with their full text. Filter by name, location, rating, accreditation, has_alerts, alert_title, or min_complaints. Costs 1 credit per record returned (minimum 2), so keep page_size to what you need; use datasets_bbb_businesses_item for one record or datasets_bbb_businesses_facets for filter counts.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "datasets_bbb_businesses_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Optional full-text match on the business name/category, max 256 characters. | |
| city | No | Optional exact city slug as in the profile URL, e.g. san-diego. Use the values returned by facets?facet=city with a state filter, and send state with it. | |
| page | No | Result page number, 1-based, default 1; page times page_size must not exceed 10000. | |
| sort | No | Optional sort order. Allowed values: relevance, rating_desc, rating_asc, accredited_first, name_asc, years_in_business_desc, complaints_desc. Defaults to relevance with q, otherwise accredited_first. | |
| state | No | Optional exact 2-letter state or province code as in the profile URL, e.g. tx. Use the values returned by facets?facet=state. | |
| rating | No | Optional exact letter-grade rating filter. Allowed values: A+, A, A-, B+, B, B-, C+, C, C-, D+, D, D-, F. | |
| run_id | No | Optional exact crawl run id filter, e.g. bbb-20260906. Use the values returned by facets?facet=run_id. | |
| country | No | Optional country filter, parsed from the profile URL. Allowed values: us, ca. | |
| category | No | Optional exact category filter, e.g. Plumber (case-sensitive). Use the values returned by facets?facet=category. | |
| page_size | No | Page size, default 20, max 100; page times page_size must not exceed 10000. | |
| accredited | No | Optional accreditation filter; true keeps only accredited businesses, false only the others. | |
| has_alerts | No | Optional BBB-alert filter; true keeps businesses whose profile carries at least one BBB alert, false keeps refreshed records with none. Records not yet re-crawled since the field was added match neither. | |
| alert_title | No | Optional exact BBB alert title filter, e.g. Pattern of Complaint. Use the values returned by facets?facet=alert_title. | |
| entity_type | No | Optional exact entity-type filter, e.g. Limited Liability Company (LLC) (case-sensitive). Use the values returned by facets?facet=entity_type. | |
| min_complaints | No | Optional floor against total_complaints (BBB's three-year complaint count), 0 or greater, e.g. 1 for businesses with at least one complaint. | |
| address_country | No | Optional country filter derived from the business address, separate from the profile-URL country. Allowed values: us, ca. | |
| min_rating_rank | No | Optional numeric floor against the denormalized rating rank (A+=12 down to F=0), e.g. 10 for 'A- and above'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The tool result payload (shape varies per tool; see each tool's docs resource). |