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

> Search the New Zealand Business Number register by business name or website, optionally filtered by one or more entity statuses (e.g. Registered, InLiquidation) and entity types (e.g. NZCompany, SoleTrader, Trust). Returns matching businesses with NZBN, name, status, type, trading names, previous names and industry classification.

**Price:** 1 credit per 50 results



## OpenAPI

````yaml /openapi/company-registries.json post /api/nzbn/companies/search
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/search:
    post:
      tags:
        - /nzbn
      summary: /nzbn/companies/search
      description: >-
        Search the New Zealand Business Number register by business name or
        website, optionally filtered by one or more entity statuses (e.g.
        Registered, InLiquidation) and entity types (e.g. NZCompany, SoleTrader,
        Trust). Returns matching businesses with NZBN, name, status, type,
        trading names, previous names and industry classification.


        **Price:** 1 credit per 50 results
      operationId: __api_nzbn_companies_search_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NzbnSearchPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/NzbnSearchCompany'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    NzbnSearchPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        keyword:
          type: string
        entity_status:
          anyOf:
            - items:
                $ref: '#/components/schemas/NzbnEntityStatus'
              type: array
            - type: 'null'
        entity_type:
          anyOf:
            - items:
                $ref: '#/components/schemas/NzbnEntityType'
              type: array
            - type: 'null'
        count:
          type: integer
          minimum: 1
      type: object
      required:
        - keyword
        - count
    NzbnSearchCompany:
      properties:
        '@type':
          type: string
          default: NzbnSearchCompany
        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'
        source_register_id:
          anyOf:
            - type: string
            - type: 'null'
        previous_names:
          items:
            type: string
          type: array
        trading_names:
          items:
            $ref: '#/components/schemas/NzbnTradingName'
          type: array
        industry_classifications:
          items:
            $ref: '#/components/schemas/NzbnIndustryClassification'
          type: array
      type: object
      required:
        - nzbn
        - name
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    NzbnEntityStatus:
      type: string
      enum:
        - Registered
        - VoluntaryAdministration
        - InReceivership
        - InLiquidation
        - InStatutoryAdministration
        - Inactive
        - RemovedClosed
    NzbnEntityType:
      type: string
      enum:
        - NZCompany
        - OverseasCompany
        - SoleTrader
        - Partnership
        - Trust
        - IncorporatedSociety
        - CharitableTrust
        - GovtCentral
        - GovtEdu
        - GovtLocal
        - GovtOther
        - LimitedPartnershipNz
        - FriendlySociety
        - IndustrialAndProvidentSociety
        - CreditUnion
        - LimitedPartnershipOverseas
        - BuildingSociety
        - SpecialBodies
    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
    NzbnIndustryClassification:
      properties:
        '@type':
          type: string
          default: NzbnIndustryClassification
        code:
          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

````