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

# /nzbn/companies

> Get a New Zealand business's full registry record from the NZBN register by its New Zealand Business Number: name, entity status and type, registration date, Australian Business Number, directors and officers, shareholders and share allocations, trading names and areas, industry classification, registered/service/postal addresses, contact details, annual return filing month, constitution status and insolvency history.

**Price:** 1 credit

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



## OpenAPI

````yaml /openapi/company-registries.json post /api/nzbn/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/nzbn/companies:
    post:
      tags:
        - /nzbn
      summary: /nzbn/companies
      description: >-
        Get a New Zealand business's full registry record from the NZBN register
        by its New Zealand Business Number: name, entity status and type,
        registration date, Australian Business Number, directors and officers,
        shareholders and share allocations, trading names and areas, industry
        classification, registered/service/postal addresses, contact details,
        annual return filing month, constitution status and insolvency history.


        **Price:** 1 credit


        **⚠️ Common errors:** 412: No business found for the given NZBN
      operationId: __api_nzbn_companies_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NzbnCompaniesPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/NzbnCompany'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    NzbnCompaniesPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        nzbn:
          type: string
      type: object
      required:
        - nzbn
    NzbnCompany:
      properties:
        '@type':
          type: string
          default: NzbnCompany
        nzbn:
          type: string
        name:
          type: string
        entity_status_code:
          anyOf:
            - type: string
            - type: 'null'
        entity_status:
          anyOf:
            - type: string
            - type: 'null'
        entity_type_code:
          anyOf:
            - type: string
            - type: 'null'
        entity_type_description:
          anyOf:
            - type: string
            - type: 'null'
        registration_date:
          anyOf:
            - type: string
            - type: 'null'
        last_updated_at:
          anyOf:
            - type: string
            - type: 'null'
        source_register:
          anyOf:
            - type: string
            - type: 'null'
        source_register_id:
          anyOf:
            - type: string
            - type: 'null'
        australian_business_number:
          anyOf:
            - type: string
            - type: 'null'
        australian_company_number:
          anyOf:
            - type: string
            - type: 'null'
        overseas_company:
          type: boolean
          default: false
        country_of_origin:
          anyOf:
            - type: string
            - type: 'null'
        annual_return_filing_month:
          anyOf:
            - type: integer
            - type: 'null'
        annual_return_last_filed:
          anyOf:
            - type: string
            - type: 'null'
        financial_report_filing_month:
          anyOf:
            - type: integer
            - type: 'null'
        has_constitution_filed:
          type: boolean
          default: false
        extensive_shareholding:
          type: boolean
          default: false
        removal_commenced:
          type: boolean
          default: false
        number_of_shares:
          anyOf:
            - type: integer
            - type: 'null'
        charities_number:
          anyOf:
            - type: string
            - type: 'null'
        balance_date:
          anyOf:
            - type: string
            - type: 'null'
        emails:
          items:
            $ref: '#/components/schemas/NzbnEmail'
          type: array
        phones:
          items:
            $ref: '#/components/schemas/NzbnPhone'
          type: array
        websites:
          items:
            type: string
          type: array
        addresses:
          items:
            $ref: '#/components/schemas/NzbnAddress'
          type: array
        industry_classifications:
          items:
            $ref: '#/components/schemas/NzbnIndustryClassification'
          type: array
        trading_names:
          items:
            $ref: '#/components/schemas/NzbnTradingName'
          type: array
        trading_areas:
          items:
            $ref: '#/components/schemas/NzbnTradingArea'
          type: array
        roles:
          items:
            $ref: '#/components/schemas/NzbnRole'
          type: array
        share_allocations:
          items:
            $ref: '#/components/schemas/NzbnShareAllocation'
          type: array
        insolvencies:
          items:
            $ref: '#/components/schemas/NzbnInsolvency'
          type: array
        ultimate_holding_company:
          anyOf:
            - $ref: '#/components/schemas/NzbnUltimateHoldingCompany'
            - type: 'null'
      type: object
      required:
        - nzbn
        - name
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    NzbnEmail:
      properties:
        '@type':
          type: string
          default: NzbnEmail
        email_address:
          anyOf:
            - type: string
            - type: 'null'
        purpose:
          anyOf:
            - type: string
            - type: 'null'
        start_date:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    NzbnPhone:
      properties:
        '@type':
          type: string
          default: NzbnPhone
        phone_number:
          anyOf:
            - type: string
            - type: 'null'
        country_code:
          anyOf:
            - type: string
            - type: 'null'
        area_code:
          anyOf:
            - type: string
            - type: 'null'
        purpose:
          anyOf:
            - type: string
            - type: 'null'
        start_date:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    NzbnAddress:
      properties:
        '@type':
          type: string
          default: NzbnAddress
        address_type:
          anyOf:
            - type: string
            - type: 'null'
        care_of:
          anyOf:
            - type: string
            - type: 'null'
        address_line_1:
          anyOf:
            - type: string
            - type: 'null'
        address_line_2:
          anyOf:
            - type: string
            - type: 'null'
        address_line_3:
          anyOf:
            - type: string
            - type: 'null'
        address_line_4:
          anyOf:
            - type: string
            - type: 'null'
        postal_code:
          anyOf:
            - type: string
            - type: 'null'
        country_code:
          anyOf:
            - type: string
            - type: 'null'
        start_date:
          anyOf:
            - type: string
            - type: 'null'
        end_date:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    NzbnIndustryClassification:
      properties:
        '@type':
          type: string
          default: NzbnIndustryClassification
        code:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    NzbnTradingName:
      properties:
        '@type':
          type: string
          default: NzbnTradingName
        name:
          type: string
        start_date:
          anyOf:
            - type: string
            - type: 'null'
        end_date:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - name
    NzbnTradingArea:
      properties:
        '@type':
          type: string
          default: NzbnTradingArea
        trading_area:
          type: string
        start_date:
          anyOf:
            - type: string
            - type: 'null'
        end_date:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - trading_area
    NzbnRole:
      properties:
        '@type':
          type: string
          default: NzbnRole
        role_type:
          anyOf:
            - type: string
            - type: 'null'
        role_status:
          anyOf:
            - type: string
            - type: 'null'
        first_name:
          anyOf:
            - type: string
            - type: 'null'
        middle_names:
          anyOf:
            - type: string
            - type: 'null'
        last_name:
          anyOf:
            - type: string
            - type: 'null'
        entity_name:
          anyOf:
            - type: string
            - type: 'null'
        entity_nzbn:
          anyOf:
            - type: string
            - type: 'null'
        start_date:
          anyOf:
            - type: string
            - type: 'null'
        end_date:
          anyOf:
            - type: string
            - type: 'null'
        addresses:
          items:
            $ref: '#/components/schemas/NzbnAddress'
          type: array
      type: object
    NzbnShareAllocation:
      properties:
        '@type':
          type: string
          default: NzbnShareAllocation
        allocation:
          anyOf:
            - type: integer
            - type: 'null'
        shareholders:
          items:
            $ref: '#/components/schemas/NzbnShareholder'
          type: array
      type: object
    NzbnInsolvency:
      properties:
        '@type':
          type: string
          default: NzbnInsolvency
        insolvency_type:
          anyOf:
            - type: string
            - type: 'null'
        commenced:
          anyOf:
            - type: string
            - type: 'null'
        appointees:
          items:
            $ref: '#/components/schemas/NzbnInsolvencyAppointee'
          type: array
      type: object
    NzbnUltimateHoldingCompany:
      properties:
        '@type':
          type: string
          default: NzbnUltimateHoldingCompany
        name:
          anyOf:
            - type: string
            - type: 'null'
        type:
          anyOf:
            - type: string
            - type: 'null'
        number:
          anyOf:
            - type: string
            - type: 'null'
        nzbn:
          anyOf:
            - type: string
            - type: 'null'
        country:
          anyOf:
            - type: string
            - type: 'null'
        effective_date:
          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
    NzbnShareholder:
      properties:
        '@type':
          type: string
          default: NzbnShareholder
        type:
          anyOf:
            - type: string
            - type: 'null'
        first_name:
          anyOf:
            - type: string
            - type: 'null'
        middle_names:
          anyOf:
            - type: string
            - type: 'null'
        last_name:
          anyOf:
            - type: string
            - type: 'null'
        full_name:
          anyOf:
            - type: string
            - type: 'null'
        entity_name:
          anyOf:
            - type: string
            - type: 'null'
        entity_nzbn:
          anyOf:
            - type: string
            - type: 'null'
        appointment_date:
          anyOf:
            - type: string
            - type: 'null'
        vacation_date:
          anyOf:
            - type: string
            - type: 'null'
        address:
          anyOf:
            - $ref: '#/components/schemas/NzbnAddress'
            - type: 'null'
      type: object
    NzbnInsolvencyAppointee:
      properties:
        '@type':
          type: string
          default: NzbnInsolvencyAppointee
        first_name:
          anyOf:
            - type: string
            - type: 'null'
        middle_names:
          anyOf:
            - type: string
            - type: 'null'
        last_name:
          anyOf:
            - type: string
            - type: 'null'
        full_name:
          anyOf:
            - type: string
            - type: 'null'
        organisation_name:
          anyOf:
            - type: string
            - type: 'null'
        email:
          anyOf:
            - type: string
            - type: 'null'
        appointment_date:
          anyOf:
            - type: string
            - type: 'null'
        vacation_date:
          anyOf:
            - type: string
            - type: 'null'
        address:
          anyOf:
            - $ref: '#/components/schemas/NzbnAddress'
            - type: 'null'
      type: object
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````