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

# /brreg/companies

> Get a Norwegian legal entity's registry record from the Central Coordinating Register (Enhetsregisteret) by its organization number: name, organization form, registration and foundation dates, addresses, industry codes, institutional sector, share capital, historic names, statutory purpose, employee count, registration flags and bankruptcy/liquidation status.

**Price:** 1 credit

**⚠️ Common errors:** 412: No legal entity found for the given organization number



## OpenAPI

````yaml /openapi/company-registries.json post /api/brreg/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/brreg/companies:
    post:
      tags:
        - /brreg
      summary: /brreg/companies
      description: >-
        Get a Norwegian legal entity's registry record from the Central
        Coordinating Register (Enhetsregisteret) by its organization number:
        name, organization form, registration and foundation dates, addresses,
        industry codes, institutional sector, share capital, historic names,
        statutory purpose, employee count, registration flags and
        bankruptcy/liquidation status.


        **Price:** 1 credit


        **⚠️ Common errors:** 412: No legal entity found for the given
        organization number
      operationId: __api_brreg_companies_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BrregCompaniesPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/BrregCompany'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    BrregCompaniesPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        organization_number:
          type: string
      type: object
      required:
        - organization_number
    BrregCompany:
      properties:
        '@type':
          type: string
          default: BrregCompany
        organization_number:
          type: string
        name:
          type: string
        organization_form:
          anyOf:
            - type: string
            - type: 'null'
        organization_form_description:
          anyOf:
            - type: string
            - type: 'null'
        registration_date:
          anyOf:
            - type: string
            - type: 'null'
        foundation_date:
          anyOf:
            - type: string
            - type: 'null'
        statute_date:
          anyOf:
            - type: string
            - type: 'null'
        deregistered_date:
          anyOf:
            - type: string
            - type: 'null'
        homepage:
          anyOf:
            - type: string
            - type: 'null'
        email:
          anyOf:
            - type: string
            - type: 'null'
        phone:
          anyOf:
            - type: string
            - type: 'null'
        mobile:
          anyOf:
            - type: string
            - type: 'null'
        language_form:
          anyOf:
            - type: string
            - type: 'null'
        employee_count:
          anyOf:
            - type: integer
            - type: 'null'
        has_registered_employee_count:
          type: boolean
          default: false
        business_address:
          anyOf:
            - $ref: '#/components/schemas/BrregAddress'
            - type: 'null'
        postal_address:
          anyOf:
            - $ref: '#/components/schemas/BrregAddress'
            - type: 'null'
        industry_code_1:
          anyOf:
            - $ref: '#/components/schemas/BrregIndustryCode'
            - type: 'null'
        industry_code_2:
          anyOf:
            - $ref: '#/components/schemas/BrregIndustryCode'
            - type: 'null'
        industry_code_3:
          anyOf:
            - $ref: '#/components/schemas/BrregIndustryCode'
            - type: 'null'
        sector:
          anyOf:
            - $ref: '#/components/schemas/BrregSector'
            - type: 'null'
        capital:
          anyOf:
            - $ref: '#/components/schemas/BrregCapital'
            - type: 'null'
        historic_names:
          items:
            $ref: '#/components/schemas/BrregHistoricName'
          type: array
          default: []
        purpose:
          items:
            type: string
          type: array
          default: []
        activity:
          items:
            type: string
          type: array
          default: []
        last_submitted_annual_accounts:
          anyOf:
            - type: string
            - type: 'null'
        in_group:
          type: boolean
          default: false
        bankruptcy:
          type: boolean
          default: false
        under_liquidation:
          type: boolean
          default: false
        under_forced_liquidation:
          type: boolean
          default: false
        registered_in_business_register:
          type: boolean
          default: false
        registered_in_vat_register:
          type: boolean
          default: false
        registered_in_foundation_register:
          type: boolean
          default: false
        registered_in_voluntary_register:
          type: boolean
          default: false
        registered_in_party_register:
          type: boolean
          default: false
      type: object
      required:
        - organization_number
        - name
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    BrregAddress:
      properties:
        '@type':
          type: string
          default: BrregAddress
        address:
          items:
            type: string
          type: array
          default: []
        postal_code:
          anyOf:
            - type: string
            - type: 'null'
        city:
          anyOf:
            - type: string
            - type: 'null'
        municipality:
          anyOf:
            - type: string
            - type: 'null'
        municipality_number:
          anyOf:
            - type: string
            - type: 'null'
        country:
          anyOf:
            - type: string
            - type: 'null'
        country_code:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    BrregIndustryCode:
      properties:
        '@type':
          type: string
          default: BrregIndustryCode
        code:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    BrregSector:
      properties:
        '@type':
          type: string
          default: BrregSector
        code:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    BrregCapital:
      properties:
        '@type':
          type: string
          default: BrregCapital
        capital_amount:
          anyOf:
            - type: number
            - type: 'null'
        capital_currency:
          anyOf:
            - type: string
            - type: 'null'
        capital_type:
          anyOf:
            - type: string
            - type: 'null'
        share_count:
          anyOf:
            - type: integer
            - type: 'null'
        registered_at:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    BrregHistoricName:
      properties:
        '@type':
          type: string
          default: BrregHistoricName
        name:
          type: string
        from_date:
          anyOf:
            - type: string
            - type: 'null'
        to_date:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - 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

````