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

# /houjinbangou/companies

> Get a Japanese company's registry record by its 13-digit Corporate Number (法人番号) from the National Tax Agency: registered name (and kana reading, English name when registered), head-office address, assignment and last-update dates, and the full change history (former names/addresses, mergers and other registered changes).

**Price:** 20 credits

**⚠️ Common errors:** 412: Corporate Number not found (valid 13-digit format but no company is assigned this number)



## OpenAPI

````yaml /openapi/company-registries.json post /api/houjinbangou/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/houjinbangou/companies:
    post:
      tags:
        - /houjinbangou
      summary: /houjinbangou/companies
      description: >-
        Get a Japanese company's registry record by its 13-digit Corporate
        Number (法人番号) from the National Tax Agency: registered name (and kana
        reading, English name when registered), head-office address, assignment
        and last-update dates, and the full change history (former
        names/addresses, mergers and other registered changes).


        **Price:** 20 credits


        **⚠️ Common errors:** 412: Corporate Number not found (valid 13-digit
        format but no company is assigned this number)
      operationId: __api_houjinbangou_companies_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/HoujinbangouCompaniesPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/HoujinbangouCompany'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HoujinbangouCompaniesPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        corporate_number:
          type: string
      type: object
      required:
        - corporate_number
    HoujinbangouCompany:
      properties:
        '@type':
          type: string
          default: HoujinbangouCompany
        corporate_number:
          type: string
        name:
          type: string
        kana:
          anyOf:
            - type: string
            - type: 'null'
        name_en:
          anyOf:
            - type: string
            - type: 'null'
        address:
          anyOf:
            - type: string
            - type: 'null'
        address_en:
          anyOf:
            - type: string
            - type: 'null'
        updated_at:
          anyOf:
            - type: string
            - type: 'null'
        updated_at_raw:
          anyOf:
            - type: string
            - type: 'null'
        assigned_at:
          anyOf:
            - type: string
            - type: 'null'
        status:
          anyOf:
            - type: string
            - type: 'null'
        closed_at:
          anyOf:
            - type: string
            - type: 'null'
        changes:
          items:
            $ref: '#/components/schemas/HoujinbangouChange'
          type: array
          default: []
        url:
          type: string
      type: object
      required:
        - corporate_number
        - name
        - url
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    HoujinbangouChange:
      properties:
        '@type':
          type: string
          default: HoujinbangouChange
        date:
          anyOf:
            - type: string
            - type: 'null'
        date_raw:
          anyOf:
            - type: string
            - type: 'null'
        reason:
          anyOf:
            - type: string
            - type: 'null'
        assigned:
          type: boolean
          default: false
      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

````