> ## Documentation Index
> Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# Business 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.

## Request 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`

[Complete OpenAPI definition](https://aisa.one/docs/openapi/bbb-business-profiles-ratings-complaint.json)

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "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.


## OpenAPI

````yaml openapi/bbb-business-profiles-ratings-complaint.json POST /apis/v1/bbb-business-profiles-ratings-complaint/businesses/search
openapi: 3.1.0
info:
  description: ''
  title: BBB business profiles
  version: '1'
  x-aisa-capabilities:
    idempotency: Idempotency-Key
    max_price: X-AISA-Max-Price-USD
    quote:
      header: X-AISA-Cost-Mode
      value: quote
  x-aisa-catalogs:
    bbb-business-profiles-ratings-complaint:
      description: ''
      title: BBB business profiles
      x-aisa-capabilities:
        idempotency: Idempotency-Key
        max_price: X-AISA-Max-Price-USD
        quote:
          header: X-AISA-Cost-Mode
          value: quote
      x-aisa-document:
        facts_hash: 5c4ff13b60d0fb4d4c932988f9eec7ee1809ff63354e18a5365e6beed7472316
        generator_version: '3'
        protocol_version: '1'
        schema_version: '1'
      x-aisa-plans:
        builder: 1
        display_plan: payg
        payg: 1
        similarweb_payg: 1
        team: 1
        version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-configured-paths:
    - /apis/v1/bbb-business-profiles-ratings-complaint/businesses/complaints
    - /apis/v1/bbb-business-profiles-ratings-complaint/businesses/profile
    - /apis/v1/bbb-business-profiles-ratings-complaint/businesses/reviews
    - /apis/v1/bbb-business-profiles-ratings-complaint/businesses/search
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:fb393afd9fce6d9b500670936c6f875bd77e5dbb3bb43f2cd727e708bfe594ab
    facts_hash: 5c4ff13b60d0fb4d4c932988f9eec7ee1809ff63354e18a5365e6beed7472316
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: bbb-business-profiles-ratings-complaint
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/bbb-business-profiles-ratings-complaint/businesses/search:
    post:
      tags:
        - BBB business profiles
      summary: Business search
      description: >-
        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.
      operationId: bbb-business-profiles-ratings-complaint.businesses.search
      requestBody:
        content:
          application/json:
            schema:
              additionalProperties: true
              properties:
                country:
                  default: us
                  description: >-
                    Which BBB site to search.


                    Provider 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).

                    Provider 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.


                    Provider 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
      responses:
        '200':
          content:
            application/json:
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            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.
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.