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

# /handelsregister/companies

> Get German company details from the commercial register by court, register type and number

**Price:** 20 credits

**⚠️ Common errors:** 412: No company found for the given court, register type and number



## OpenAPI

````yaml /openapi/company-registries.json post /api/handelsregister/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/handelsregister/companies:
    post:
      tags:
        - /handelsregister
      summary: /handelsregister/companies
      description: >-
        Get German company details from the commercial register by court,
        register type and number


        **Price:** 20 credits


        **⚠️ Common errors:** 412: No company found for the given court,
        register type and number
      operationId: __api_handelsregister_companies_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/HandelsregisterCompanyPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/HandelsregisterCompany'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HandelsregisterCompanyPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        company:
          type: string
          minLength: 1
      type: object
      required:
        - company
    HandelsregisterCompany:
      properties:
        '@type':
          type: string
          default: HandelsregisterCompany
        name:
          type: string
        court:
          type: string
        register_type:
          type: string
        register_number:
          type: string
        legal_form:
          anyOf:
            - type: string
            - type: 'null'
        registered_office:
          anyOf:
            - type: string
            - type: 'null'
        address:
          anyOf:
            - $ref: '#/components/schemas/HandelsregisterAddress'
            - type: 'null'
        capital:
          anyOf:
            - $ref: '#/components/schemas/HandelsregisterCapital'
            - type: 'null'
        purpose:
          anyOf:
            - type: string
            - type: 'null'
        representation:
          anyOf:
            - type: string
            - type: 'null'
        status:
          anyOf:
            - type: string
            - type: 'null'
        last_entry_date:
          anyOf:
            - type: string
            - type: 'null'
        entry_count:
          anyOf:
            - type: integer
            - type: 'null'
        last_change_date:
          anyOf:
            - type: string
            - type: 'null'
        first_statute_date:
          anyOf:
            - type: string
            - type: 'null'
        officers:
          items:
            $ref: '#/components/schemas/HandelsregisterOfficer'
          type: array
        former_names:
          items:
            type: string
          type: array
        register_entries:
          items:
            type: string
          type: array
      type: object
      required:
        - name
        - court
        - register_type
        - register_number
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    HandelsregisterAddress:
      properties:
        '@type':
          type: string
          default: HandelsregisterAddress
        street:
          anyOf:
            - type: string
            - type: 'null'
        house_number:
          anyOf:
            - type: string
            - type: 'null'
        postal_code:
          anyOf:
            - type: string
            - type: 'null'
        city:
          anyOf:
            - type: string
            - type: 'null'
        country:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    HandelsregisterCapital:
      properties:
        '@type':
          type: string
          default: HandelsregisterCapital
        value:
          anyOf:
            - type: number
            - type: 'null'
        currency:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    HandelsregisterOfficer:
      properties:
        '@type':
          type: string
          default: HandelsregisterOfficer
        name:
          anyOf:
            - type: string
            - type: 'null'
        role:
          anyOf:
            - type: string
            - type: 'null'
        organization_name:
          anyOf:
            - type: string
            - type: 'null'
        birth_date:
          anyOf:
            - type: string
            - type: 'null'
        city:
          anyOf:
            - type: string
            - type: 'null'
        representation:
          anyOf:
            - type: string
            - 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

````