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

# /new_hampshire/companies

> Get a New Hampshire business's registry record from the Secretary of State QuickStart business database by its Business ID: name, entity type, status, formation dates, jurisdiction, addresses, registered agent, principals (officers/members), NAICS purpose codes, annual report years and contact details.

**Price:** 5 credits

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



## OpenAPI

````yaml /openapi/company-registries.json post /api/new_hampshire/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/new_hampshire/companies:
    post:
      tags:
        - US
      summary: /new_hampshire/companies
      description: >-
        Get a New Hampshire business's registry record from the Secretary of
        State QuickStart business database by its Business ID: name, entity
        type, status, formation dates, jurisdiction, addresses, registered
        agent, principals (officers/members), NAICS purpose codes, annual report
        years and contact details.


        **Price:** 5 credits


        **⚠️ Common errors:** 412: No business found for the given Business ID
      operationId: __api_new_hampshire_companies_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NewHampshireCompaniesPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/NewHampshireCompany'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    NewHampshireCompaniesPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        id:
          type: string
          minLength: 1
      type: object
      required:
        - id
    NewHampshireCompany:
      properties:
        '@type':
          type: string
          default: NewHampshireCompany
        id:
          type: string
        name:
          anyOf:
            - type: string
            - type: 'null'
        legal_form:
          anyOf:
            - type: string
            - type: 'null'
        status:
          anyOf:
            - type: string
            - type: 'null'
        corporation_subtype:
          anyOf:
            - type: string
            - type: 'null'
        management_style:
          anyOf:
            - type: string
            - type: 'null'
        formation_date:
          anyOf:
            - type: string
            - type: 'null'
        jurisdiction_formation_date:
          anyOf:
            - type: string
            - type: 'null'
        citizenship:
          anyOf:
            - type: string
            - type: 'null'
        name_in_jurisdiction:
          anyOf:
            - type: string
            - type: 'null'
        duration:
          anyOf:
            - type: string
            - type: 'null'
        last_annual_report_year:
          anyOf:
            - type: string
            - type: 'null'
        next_report_year:
          anyOf:
            - type: string
            - type: 'null'
        expiration_date:
          anyOf:
            - type: string
            - type: 'null'
        last_renewal_date:
          anyOf:
            - type: string
            - type: 'null'
        fiscal_year_end_date:
          anyOf:
            - type: string
            - type: 'null'
        email:
          anyOf:
            - type: string
            - type: 'null'
        notification_email:
          anyOf:
            - type: string
            - type: 'null'
        phone:
          anyOf:
            - type: string
            - type: 'null'
        principal_address:
          anyOf:
            - type: string
            - type: 'null'
        mailing_address:
          anyOf:
            - type: string
            - type: 'null'
        principal_purpose:
          anyOf:
            - type: string
            - type: 'null'
        naics_codes:
          items:
            $ref: '#/components/schemas/NewHampshireNaicsCode'
          type: array
          default: []
        principals:
          items:
            $ref: '#/components/schemas/NewHampshirePrincipal'
          type: array
          default: []
        principal_count:
          anyOf:
            - type: integer
            - type: 'null'
        registered_agent:
          anyOf:
            - $ref: '#/components/schemas/NewHampshireAgent'
            - type: 'null'
        url:
          type: string
      type: object
      required:
        - id
        - url
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    NewHampshireNaicsCode:
      properties:
        '@type':
          type: string
          default: NewHampshireNaicsCode
        code:
          anyOf:
            - type: string
            - type: 'null'
        subcode:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    NewHampshirePrincipal:
      properties:
        '@type':
          type: string
          default: NewHampshirePrincipal
        name:
          anyOf:
            - type: string
            - type: 'null'
        address:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    NewHampshireAgent:
      properties:
        '@type':
          type: string
          default: NewHampshireAgent
        name:
          anyOf:
            - type: string
            - type: 'null'
        office_address:
          anyOf:
            - type: string
            - type: 'null'
        mailing_address:
          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

````