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

# /alabama/companies/search

> Search Alabama businesses in the Secretary of State registry by name, optionally filtered by entity type, registration status and city. Returns each matching entity's entity ID number, name, city, legal form and status.

**Price:** 1 credit per 25 results



## OpenAPI

````yaml /openapi/company-registries.json post /api/alabama/companies/search
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/alabama/companies/search:
    post:
      tags:
        - US
      summary: /alabama/companies/search
      description: >-
        Search Alabama businesses in the Secretary of State registry by name,
        optionally filtered by entity type, registration status and city.
        Returns each matching entity's entity ID number, name, city, legal form
        and status.


        **Price:** 1 credit per 25 results
      operationId: __api_alabama_companies_search_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AlabamaCompaniesSearchPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AlabamaCompanySearchItem'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    AlabamaCompaniesSearchPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        query:
          type: string
          minLength: 1
        entity_type:
          anyOf:
            - $ref: '#/components/schemas/AlabamaEntityType'
            - type: 'null'
        status:
          anyOf:
            - $ref: '#/components/schemas/AlabamaStatus'
            - type: 'null'
        city:
          anyOf:
            - type: string
            - type: 'null'
        count:
          type: integer
          minimum: 1
      type: object
      required:
        - query
        - count
    AlabamaCompanySearchItem:
      properties:
        '@type':
          type: string
          default: AlabamaCompanySearchItem
        entity_id:
          type: string
        name:
          anyOf:
            - type: string
            - type: 'null'
        city:
          anyOf:
            - type: string
            - type: 'null'
        legal_form:
          anyOf:
            - type: string
            - type: 'null'
        status:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - entity_id
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    AlabamaEntityType:
      type: string
      enum:
        - FST
        - DBC
        - D/C
        - D/S
        - DEC
        - DGP
        - DHA
        - DLL
        - D2P
        - DLP
        - D3P
        - DNP
        - DGN
        - DNL
        - DNS
        - DPA
        - DPC
        - DPL
        - DPN
        - DP2
        - DML
        - DCP
        - DRT
        - DRP
        - DSL
        - DUA
        - FBC
        - FBE
        - F/C
        - FEC
        - FGP
        - FHA
        - FIC
        - FLL
        - F2P
        - FLP
        - F3P
        - FNP
        - FGN
        - FNL
        - FNS
        - FPA
        - FPC
        - FPL
        - FPN
        - FML
        - FCP
        - FRT
        - FRP
        - FSL
        - FUA
    AlabamaStatus:
      type: string
      enum:
        - exists
        - cancelled
        - consolidated
        - dissolved
        - merged
        - revoked
        - withdrawn
        - registered_name
        - name_reservation
        - previous_name
    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

````