> ## 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 profile

> One BBB business profile identified by its bbb.org profile URL or by bbb_id + business_id (from search): BBB letter grade with reasons, accreditation status and dates, file-opened/start/incorporation dates, years in business, entity type, categories, address, coordinates, contacts, websites, social links, local BBB office, alerts, and complaint and customer-review totals.

## Request contract

* **Method and path:** POST /apis/v1/bbb-business-profiles-ratings-complaint/businesses/profile
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/bbb-business-profiles-ratings-complaint/businesses/profile`

[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.profile",
  "method": "POST",
  "path": "/apis/v1/bbb-business-profiles-ratings-complaint/businesses/profile",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "schema": {
          "additionalProperties": true,
          "allOf": [
            {
              "anyOf": [
                {
                  "properties": {
                    "bbb_id": {}
                  },
                  "required": [
                    "bbb_id"
                  ]
                },
                {
                  "properties": {
                    "url": {}
                  },
                  "required": [
                    "url"
                  ]
                }
              ]
            },
            {
              "anyOf": [
                {
                  "properties": {
                    "business_id": {}
                  },
                  "required": [
                    "business_id"
                  ]
                },
                {
                  "properties": {
                    "url": {}
                  },
                  "required": [
                    "url"
                  ]
                }
              ]
            }
          ],
          "properties": {
            "bbb_id": {
              "description": "4-digit BBB office id from search results, e.g. 0825. Provide together with business_id.",
              "type": "string"
            },
            "business_id": {
              "description": "Numeric BBB business id from search results, e.g. 90019908. Provide together with bbb_id.",
              "type": "string"
            },
            "country": {
              "default": "us",
              "description": "Only with bbb_id/business_id: which BBB site holds the profile.\n\nProvider reference: allowed values [\"us\", \"ca\"]; default \"us\".",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body",
                "oneOf": [
                  "us",
                  "ca"
                ]
              }
            },
            "url": {
              "description": "HTTPS www.bbb.org/{us|ca}/<state>/<city>/profile/<category>/<name>-<bbb_id>-<business_id> profile URL (section suffixes such as /complaints are accepted). Provide either url, or bbb_id with business_id.",
              "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.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/profile
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/profile:
    post:
      tags:
        - BBB business profiles
      summary: Business profile
      description: >-
        One BBB business profile identified by its bbb.org profile URL or by
        bbb_id + business_id (from search): BBB letter grade with reasons,
        accreditation status and dates, file-opened/start/incorporation dates,
        years in business, entity type, categories, address, coordinates,
        contacts, websites, social links, local BBB office, alerts, and
        complaint and customer-review totals.
      operationId: bbb-business-profiles-ratings-complaint.businesses.profile
      requestBody:
        content:
          application/json:
            schema:
              additionalProperties: true
              allOf:
                - anyOf:
                    - properties:
                        bbb_id: {}
                      required:
                        - bbb_id
                    - properties:
                        url: {}
                      required:
                        - url
                - anyOf:
                    - properties:
                        business_id: {}
                      required:
                        - business_id
                    - properties:
                        url: {}
                      required:
                        - url
              properties:
                bbb_id:
                  description: >-
                    4-digit BBB office id from search results, e.g. 0825.
                    Provide together with business_id.
                  type: string
                business_id:
                  description: >-
                    Numeric BBB business id from search results, e.g. 90019908.
                    Provide together with bbb_id.
                  type: string
                country:
                  default: us
                  description: >-
                    Only with bbb_id/business_id: which BBB site holds the
                    profile.


                    Provider reference: allowed values ["us", "ca"]; default
                    "us".
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                    oneOf:
                      - us
                      - ca
                url:
                  description: >-
                    HTTPS
                    www.bbb.org/{us|ca}/<state>/<city>/profile/<category>/<name>-<bbb_id>-<business_id>
                    profile URL (section suffixes such as /complaints are
                    accepted). Provide either url, or bbb_id with business_id.
                  type: string
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            One BBB business profile identified by its bbb.org profile URL or by
            bbb_id + business_id (from search): BBB letter grade with reasons,
            accreditation status and dates, file-opened/start/incorporation
            dates, years in business, entity type, categories, address,
            coordinates, contacts, websites, social links, local BBB office,
            alerts, and complaint and customer-review totals.


            The response contains the tool result directly.


            | Documented field | Provider type | Description |

            | --- | --- | --- |

            | `id` | string |  |

            | `bbb_id` | string |  |

            | `business_id` | string |  |

            | `name` | string |  |

            | `alternate_names` | string[] |  |

            | `profile_url` | string | Canonical bbb.org profile URL. |

            | `complaints_url` | string |  |

            | `reviews_url` | string |  |

            | `website` | string |  |

            | `additional_websites` | string[] |  |

            | `phone` | string |  |

            | `additional_phones` | string[] |  |

            | `email` | string |  |

            | `rating` | object | { grade, reasons, not_rated_reason }: BBB
            letter grade A+ to F or NR with BBB's published reasons. |

            | `accreditation` | object | { is_accredited, status_code,
            accredited_since, revoked_at, texts }. accredited_since stays on
            file for formerly accredited businesses. |

            | `dates` | object | { bbb_file_opened, business_started,
            business_started_locally, incorporated, new_owner } as YYYY-MM-DD or
            null. |

            | `years_in_business` | number |  |

            | `entity_type` | string |  |

            | `number_of_employees` | number |  |

            | `is_out_of_business` | boolean |  |

            | `is_hq` | boolean |  |

            | `is_multi_location` | boolean |  |

            | `hq_information` | object | HQ profile reference for branch
            profiles, or null. |

            | `business_description` | string |  |

            | `products_and_services` | string |  |

            | `primary_category` | string |  |

            | `primary_category_id` | string |  |

            | `categories` | object[] | { name, url }. |

            | `has_high_risk_category` | boolean |  |

            | `address` | object | { line1, line2, city, state, postal_code,
            formatted }. |

            | `latitude` | number |  |

            | `longitude` | number |  |

            | `service_area_descriptions` | string[] |  |

            | `service_area_postal_codes` | string[] |  |

            | `contacts` | object[] | { name, title, is_principal,
            is_management, is_primary }. |

            | `social_media` | object[] | { type, url }. |

            | `local_bbb` | object | { name, url } of the BBB office holding the
            file. |

            | `reviews_summary` | object | { total, average_star_rating,
            suppressed } for the whole profile. |

            | `complaints_summary` | object | { total, closed_past_3_years,
            closed_past_12_months } for the whole profile. |

            | `alerts` | object[] | BBB alerts as published (pattern of
            complaints, government actions). |

            | `latest_reviews` | object[] | { id, display_name, preview_text }.
            |

            | `payment_methods` | string[] |  |

            | `license` | object | Licensing block as published, or null. |

            | `source_url` | string |  |

            | `observed_at_ms` | number |  |



            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.