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

> Get an Alabama business's registry record from the Secretary of State by its entity ID number: exact name, entity type, status (with the date it took effect and any successor it merged or consolidated into), place and date of formation, principal and mailing addresses, registered agent (name and addresses), nature of business, authorized and paid-in capital, incorporators or members (name and addresses), the years annual reports were filed, the transaction history (dated changes to agent, name, address, etc.), and recorded documents (date, type and page count). For foreign entities also the home-state legal name and service-of-process address.

**Price:** 1 credit

**⚠️ Common errors:** 412: No business found for the given entity ID



## OpenAPI

````yaml /openapi/company-registries.json post /api/alabama/companies
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:
    post:
      tags:
        - US
      summary: /alabama/companies
      description: >-
        Get an Alabama business's registry record from the Secretary of State by
        its entity ID number: exact name, entity type, status (with the date it
        took effect and any successor it merged or consolidated into), place and
        date of formation, principal and mailing addresses, registered agent
        (name and addresses), nature of business, authorized and paid-in
        capital, incorporators or members (name and addresses), the years annual
        reports were filed, the transaction history (dated changes to agent,
        name, address, etc.), and recorded documents (date, type and page
        count). For foreign entities also the home-state legal name and
        service-of-process address.


        **Price:** 1 credit


        **⚠️ Common errors:** 412: No business found for the given entity ID
      operationId: __api_alabama_companies_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AlabamaCompaniesPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AlabamaCompany'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    AlabamaCompaniesPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        entity_id:
          type: string
      type: object
      required:
        - entity_id
    AlabamaCompany:
      properties:
        '@type':
          type: string
          default: AlabamaCompany
        entity_id:
          type: string
        name:
          anyOf:
            - type: string
            - type: 'null'
        legal_form:
          anyOf:
            - type: string
            - type: 'null'
        status:
          anyOf:
            - type: string
            - type: 'null'
        status_date:
          anyOf:
            - type: string
            - type: 'null'
        successor:
          anyOf:
            - type: string
            - type: 'null'
        foreign_legal_name:
          anyOf:
            - type: string
            - type: 'null'
        place_of_formation:
          anyOf:
            - type: string
            - type: 'null'
        formation_date:
          anyOf:
            - type: string
            - type: 'null'
        qualify_date:
          anyOf:
            - type: string
            - type: 'null'
        principal_address:
          anyOf:
            - type: string
            - type: 'null'
        principal_mailing_address:
          anyOf:
            - type: string
            - type: 'null'
        registered_agent:
          anyOf:
            - type: string
            - type: 'null'
        registered_office_address:
          anyOf:
            - type: string
            - type: 'null'
        registered_office_mailing_address:
          anyOf:
            - type: string
            - type: 'null'
        service_of_process:
          anyOf:
            - type: string
            - type: 'null'
        nature_of_business:
          anyOf:
            - type: string
            - type: 'null'
        capital_authorized:
          anyOf:
            - type: string
            - type: 'null'
        capital_paid_in:
          anyOf:
            - type: string
            - type: 'null'
        officers:
          items:
            $ref: '#/components/schemas/AlabamaOfficer'
          type: array
          default: []
        annual_report_years:
          items:
            type: integer
          type: array
          default: []
        transactions:
          items:
            $ref: '#/components/schemas/AlabamaTransaction'
          type: array
          default: []
        recorded_documents:
          items:
            $ref: '#/components/schemas/AlabamaDocument'
          type: array
          default: []
        url:
          type: string
      type: object
      required:
        - entity_id
        - url
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    AlabamaOfficer:
      properties:
        '@type':
          type: string
          default: AlabamaOfficer
        name:
          type: string
        role:
          anyOf:
            - type: string
            - type: 'null'
        address:
          anyOf:
            - type: string
            - type: 'null'
        mailing_address:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - name
    AlabamaTransaction:
      properties:
        '@type':
          type: string
          default: AlabamaTransaction
        date:
          anyOf:
            - type: string
            - type: 'null'
        detail:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    AlabamaDocument:
      properties:
        '@type':
          type: string
          default: AlabamaDocument
        date:
          anyOf:
            - type: string
            - type: 'null'
        type:
          anyOf:
            - type: string
            - type: 'null'
        page_count:
          anyOf:
            - type: integer
            - 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

````