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

# /ariregister/companies

> Get an Estonian business's full registry record from the e-Business Register by its 8-digit registry code: name, legal form and subtype, status, enterprise register code, LEI code, VAT number and start date, share capital, founding and registration dates, financial year period, e-invoice operator, address and contacts, the management board and supervisory board (name, personal identification code, country, role, start and end dates), shareholders (name, contribution, share type), beneficial owners (name, manner of control), areas of activity (EMTAK code and type), annual reports (year, period, revenue, profit, profit margin and report download URL), articles of association documents (effective date, status and download URL) and tax information (tax debt, state and workforce taxes, taxable turnover and number of employees).

**Price:** 10 credits

**⚠️ Common errors:** 412: No company found for the given registry code



## OpenAPI

````yaml /openapi/company-registries.json post /api/ariregister/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/ariregister/companies:
    post:
      tags:
        - /ariregister
      summary: /ariregister/companies
      description: >-
        Get an Estonian business's full registry record from the e-Business
        Register by its 8-digit registry code: name, legal form and subtype,
        status, enterprise register code, LEI code, VAT number and start date,
        share capital, founding and registration dates, financial year period,
        e-invoice operator, address and contacts, the management board and
        supervisory board (name, personal identification code, country, role,
        start and end dates), shareholders (name, contribution, share type),
        beneficial owners (name, manner of control), areas of activity (EMTAK
        code and type), annual reports (year, period, revenue, profit, profit
        margin and report download URL), articles of association documents
        (effective date, status and download URL) and tax information (tax debt,
        state and workforce taxes, taxable turnover and number of employees).


        **Price:** 10 credits


        **⚠️ Common errors:** 412: No company found for the given registry code
      operationId: __api_ariregister_companies_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AriregisterCompaniesPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AriregisterCompany'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    AriregisterCompaniesPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        reg_code:
          type: string
      type: object
      required:
        - reg_code
    AriregisterCompany:
      properties:
        '@type':
          type: string
          default: AriregisterCompany
        reg_code:
          type: string
        name:
          anyOf:
            - type: string
            - type: 'null'
        legal_form:
          anyOf:
            - type: string
            - type: 'null'
        subtype:
          anyOf:
            - type: string
            - type: 'null'
        status:
          anyOf:
            - type: string
            - type: 'null'
        enterprise_register_code:
          anyOf:
            - type: string
            - type: 'null'
        lei_code:
          anyOf:
            - type: string
            - type: 'null'
        vat_number:
          anyOf:
            - type: string
            - type: 'null'
        vat_start_date:
          anyOf:
            - type: string
            - type: 'null'
        capital:
          anyOf:
            - type: string
            - type: 'null'
        founded_date:
          anyOf:
            - type: string
            - type: 'null'
        registered_date:
          anyOf:
            - type: string
            - type: 'null'
        financial_year_period:
          anyOf:
            - type: string
            - type: 'null'
        articles_amended_date:
          anyOf:
            - type: string
            - type: 'null'
        einvoice_operator:
          anyOf:
            - type: string
            - type: 'null'
        address:
          anyOf:
            - type: string
            - type: 'null'
        email:
          anyOf:
            - type: string
            - type: 'null'
        phone:
          anyOf:
            - type: string
            - type: 'null'
        website:
          anyOf:
            - type: string
            - type: 'null'
        board:
          items:
            $ref: '#/components/schemas/AriregisterPerson'
          type: array
          default: []
        supervisory_board:
          items:
            $ref: '#/components/schemas/AriregisterPerson'
          type: array
          default: []
        shareholders:
          items:
            $ref: '#/components/schemas/AriregisterShareholder'
          type: array
          default: []
        beneficial_owners:
          items:
            $ref: '#/components/schemas/AriregisterBeneficialOwner'
          type: array
          default: []
        activities:
          items:
            $ref: '#/components/schemas/AriregisterActivity'
          type: array
          default: []
        annual_reports:
          items:
            $ref: '#/components/schemas/AriregisterAnnualReport'
          type: array
          default: []
        articles_of_association:
          items:
            $ref: '#/components/schemas/AriregisterStatuteDocument'
          type: array
          default: []
        tax:
          anyOf:
            - $ref: '#/components/schemas/AriregisterTaxInfo'
            - type: 'null'
        url:
          type: string
      type: object
      required:
        - reg_code
        - url
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    AriregisterPerson:
      properties:
        '@type':
          type: string
          default: AriregisterPerson
        name:
          type: string
        personal_id:
          anyOf:
            - type: string
            - type: 'null'
        country:
          anyOf:
            - type: string
            - type: 'null'
        role:
          anyOf:
            - type: string
            - type: 'null'
        start_date:
          anyOf:
            - type: string
            - type: 'null'
        end_date:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - name
    AriregisterShareholder:
      properties:
        '@type':
          type: string
          default: AriregisterShareholder
        name:
          type: string
        personal_id:
          anyOf:
            - type: string
            - type: 'null'
        country:
          anyOf:
            - type: string
            - type: 'null'
        contribution:
          anyOf:
            - type: string
            - type: 'null'
        share_type:
          anyOf:
            - type: string
            - type: 'null'
        start_date:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - name
    AriregisterBeneficialOwner:
      properties:
        '@type':
          type: string
          default: AriregisterBeneficialOwner
        name:
          type: string
        personal_id:
          anyOf:
            - type: string
            - type: 'null'
        country:
          anyOf:
            - type: string
            - type: 'null'
        control:
          anyOf:
            - type: string
            - type: 'null'
        start_date:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - name
    AriregisterActivity:
      properties:
        '@type':
          type: string
          default: AriregisterActivity
        name:
          type: string
        emtak_code:
          anyOf:
            - type: string
            - type: 'null'
        type:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - name
    AriregisterAnnualReport:
      properties:
        '@type':
          type: string
          default: AriregisterAnnualReport
        year:
          type: integer
        submitted_date:
          anyOf:
            - type: string
            - type: 'null'
        period:
          anyOf:
            - type: string
            - type: 'null'
        status:
          anyOf:
            - type: string
            - type: 'null'
        revenue:
          anyOf:
            - type: integer
            - type: 'null'
        profit:
          anyOf:
            - type: integer
            - type: 'null'
        profit_margin:
          anyOf:
            - type: string
            - type: 'null'
        report_url:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - year
    AriregisterStatuteDocument:
      properties:
        '@type':
          type: string
          default: AriregisterStatuteDocument
        effective_date:
          anyOf:
            - type: string
            - type: 'null'
        valid_until:
          anyOf:
            - type: string
            - type: 'null'
        approval_date:
          anyOf:
            - type: string
            - type: 'null'
        status:
          anyOf:
            - type: string
            - type: 'null'
        document_url:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    AriregisterTaxInfo:
      properties:
        '@type':
          type: string
          default: AriregisterTaxInfo
        has_tax_debt:
          anyOf:
            - type: boolean
            - type: 'null'
        tax_debt:
          anyOf:
            - type: string
            - type: 'null'
        state_taxes:
          anyOf:
            - type: string
            - type: 'null'
        workforce_taxes:
          anyOf:
            - type: string
            - type: 'null'
        taxable_turnover:
          anyOf:
            - type: string
            - type: 'null'
        employee_count:
          anyOf:
            - type: integer
            - type: 'null'
        period:
          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

````