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

# /bbb/businesses

> Get a Better Business Bureau business profile by BBB id (e.g. 0292-1922) or profile URL: name, alternate names, BBB letter rating (A+..F/NR) with reasons, accreditation status, customer star rating, review and complaint counts, categories, entity type, website, address, phone, key contacts, founding dates and the local BBB office.

**Price:** 5 credits

**⚠️ Common errors:** 412: Business not found (well-formed id with no BBB profile)



## OpenAPI

````yaml /openapi/reviews-consumer-business.json post /api/bbb/businesses
openapi: 3.1.0
info:
  title: Any Site API
  description: >+
    Any Site API provides programmatic access to data from LinkedIn, Instagram,
    Twitter, and other platforms.


    ## Authentication


    All API endpoints require an `access-token` header with a valid API token.
    Tokens can be created in the [dashboard](https://app.anysite.io/).


    ## Pricing


    Each endpoint has a credit cost listed in its description. Credits are
    deducted from your token balance per request.

  version: 0.0.1
servers: []
security:
  - AccessToken: []
paths:
  /api/bbb/businesses:
    post:
      tags:
        - /bbb
      summary: /bbb/businesses
      description: >-
        Get a Better Business Bureau business profile by BBB id (e.g. 0292-1922)
        or profile URL: name, alternate names, BBB letter rating (A+..F/NR) with
        reasons, accreditation status, customer star rating, review and
        complaint counts, categories, entity type, website, address, phone, key
        contacts, founding dates and the local BBB office.


        **Price:** 5 credits


        **⚠️ Common errors:** 412: Business not found (well-formed id with no
        BBB profile)
      operationId: __api_bbb_businesses_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BbbBusinessesPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/BbbBusiness'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    BbbBusinessesPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        business:
          type: string
          minLength: 1
      type: object
      required:
        - business
    BbbBusiness:
      properties:
        '@type':
          type: string
          default: BbbBusiness
        id:
          type: string
        name:
          type: string
        alias:
          anyOf:
            - type: string
            - type: 'null'
        alt_names:
          items:
            type: string
          type: array
          default: []
        bbb_rating:
          anyOf:
            - type: string
            - type: 'null'
        rating_reasons:
          items:
            type: string
          type: array
          default: []
        is_accredited:
          anyOf:
            - type: boolean
            - type: 'null'
        accredited_at:
          anyOf:
            - type: string
            - type: 'null'
        rating:
          anyOf:
            - type: number
            - type: 'null'
        review_count:
          anyOf:
            - type: integer
            - type: 'null'
        complaint_count:
          anyOf:
            - type: integer
            - type: 'null'
        closed_complaint_count_3y:
          anyOf:
            - type: integer
            - type: 'null'
        closed_complaint_count_12m:
          anyOf:
            - type: integer
            - type: 'null'
        categories:
          items:
            type: string
          type: array
          default: []
        category:
          anyOf:
            - type: string
            - type: 'null'
        legal_entity_type:
          anyOf:
            - type: string
            - type: 'null'
        phone:
          anyOf:
            - type: string
            - type: 'null'
        email:
          anyOf:
            - type: string
            - type: 'null'
        web_url:
          anyOf:
            - type: string
            - type: 'null'
        address:
          anyOf:
            - type: string
            - type: 'null'
        city:
          anyOf:
            - type: string
            - type: 'null'
        state:
          anyOf:
            - type: string
            - type: 'null'
        zip_code:
          anyOf:
            - type: string
            - type: 'null'
        formatted_address:
          anyOf:
            - type: string
            - type: 'null'
        latitude:
          anyOf:
            - type: number
            - type: 'null'
        longitude:
          anyOf:
            - type: number
            - type: 'null'
        is_hq:
          anyOf:
            - type: boolean
            - type: 'null'
        contacts:
          items:
            $ref: '#/components/schemas/BbbBusinessContact'
          type: array
          default: []
        file_opened_at:
          anyOf:
            - type: string
            - type: 'null'
        business_start_at:
          anyOf:
            - type: string
            - type: 'null'
        incorporated_at:
          anyOf:
            - type: string
            - type: 'null'
        employee_count:
          anyOf:
            - type: integer
            - type: 'null'
        years_in_business:
          anyOf:
            - type: integer
            - type: 'null'
        is_out_of_business:
          anyOf:
            - type: boolean
            - type: 'null'
        local_bbb:
          anyOf:
            - type: string
            - type: 'null'
        profile_url:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - id
        - name
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    BbbBusinessContact:
      properties:
        '@type':
          type: string
          default: BbbBusinessContact
        name:
          anyOf:
            - type: string
            - type: 'null'
        is_principal:
          anyOf:
            - type: boolean
            - type: 'null'
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````