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

# /pbnalog/companies/search

> Search Russian legal entities and sole proprietors in the Federal Tax Service's «Прозрачный бизнес» (Transparent Business) service by name, INN, OGRN or OGRNIP, with optional filters for subject type, region, activity (OKVED), legal-entity registry status, sole-proprietor tax regime and SME-register membership. Returns each match's INN, OGRN, name, subject type, status, registration dates, region, main activity and a token for the full company card.

**Price:** 5 credits per 100 results



## OpenAPI

````yaml /openapi/company-registries.json post /api/pbnalog/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/pbnalog/companies/search:
    post:
      tags:
        - /pbnalog
      summary: /pbnalog/companies/search
      description: >-
        Search Russian legal entities and sole proprietors in the Federal Tax
        Service's «Прозрачный бизнес» (Transparent Business) service by name,
        INN, OGRN or OGRNIP, with optional filters for subject type, region,
        activity (OKVED), legal-entity registry status, sole-proprietor tax
        regime and SME-register membership. Returns each match's INN, OGRN,
        name, subject type, status, registration dates, region, main activity
        and a token for the full company card.


        **Price:** 5 credits per 100 results
      operationId: __api_pbnalog_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/PbnalogCompaniesSearchPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PbnalogCompanySearchResult'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    PbnalogCompaniesSearchPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        query:
          type: string
          default: ''
        count:
          type: integer
          minimum: 1
        np_type:
          anyOf:
            - $ref: '#/components/schemas/PbnalogNpType'
            - type: 'null'
        region:
          anyOf:
            - $ref: '#/components/schemas/PbnalogRegion'
            - type: 'null'
        okved:
          anyOf:
            - type: string
            - type: 'null'
        status:
          anyOf:
            - $ref: '#/components/schemas/PbnalogUlStatus'
            - type: 'null'
        tax_mode:
          anyOf:
            - $ref: '#/components/schemas/PbnalogIpTaxMode'
            - type: 'null'
        msp_only:
          type: boolean
          default: false
      type: object
      required:
        - count
    PbnalogCompanySearchResult:
      properties:
        '@type':
          type: string
          default: PbnalogCompanySearchResult
        inn:
          type: string
        ogrn:
          type: string
        name:
          type: string
        name_short:
          anyOf:
            - type: string
            - type: 'null'
        np_type:
          type: string
        status:
          anyOf:
            - type: string
            - type: 'null'
        status_code:
          anyOf:
            - type: string
            - type: 'null'
        is_invalid:
          type: boolean
          default: false
        registered_at:
          anyOf:
            - type: string
            - type: 'null'
        ogrn_date:
          anyOf:
            - type: string
            - type: 'null'
        region:
          anyOf:
            - type: string
            - type: 'null'
        region_code:
          anyOf:
            - type: string
            - type: 'null'
        okved:
          anyOf:
            - type: string
            - type: 'null'
        okved_name:
          anyOf:
            - type: string
            - type: 'null'
        token:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - inn
        - ogrn
        - name
        - np_type
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    PbnalogNpType:
      type: string
      enum:
        - ul
        - ip
    PbnalogRegion:
      type: string
      enum:
        - '01'
        - '02'
        - '03'
        - '04'
        - '05'
        - '06'
        - '07'
        - '08'
        - '09'
        - '10'
        - '11'
        - '12'
        - '13'
        - '14'
        - '15'
        - '16'
        - '17'
        - '18'
        - '19'
        - '20'
        - '21'
        - '22'
        - '23'
        - '24'
        - '25'
        - '26'
        - '27'
        - '28'
        - '29'
        - '30'
        - '31'
        - '32'
        - '33'
        - '34'
        - '35'
        - '36'
        - '37'
        - '38'
        - '39'
        - '40'
        - '41'
        - '42'
        - '43'
        - '44'
        - '45'
        - '46'
        - '47'
        - '48'
        - '49'
        - '50'
        - '51'
        - '52'
        - '53'
        - '54'
        - '55'
        - '56'
        - '57'
        - '58'
        - '59'
        - '60'
        - '61'
        - '62'
        - '63'
        - '64'
        - '65'
        - '66'
        - '67'
        - '68'
        - '69'
        - '70'
        - '71'
        - '72'
        - '73'
        - '74'
        - '75'
        - '76'
        - '77'
        - '78'
        - '79'
        - '83'
        - '86'
        - '87'
        - '89'
        - '90'
        - '91'
        - '92'
        - '93'
        - '94'
        - '95'
        - '99'
    PbnalogUlStatus:
      type: string
      enum:
        - '10'
        - '20'
        - '30'
        - '40'
        - '50'
        - '60'
    PbnalogIpTaxMode:
      type: string
      enum:
        - '10'
        - '20'
        - '30'
        - '40'
        - '50'
    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

````