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

# /rmsp/companies

> Look up a Russian SME-register subject by its INN, OGRN or OGRNIP in the Federal Tax Service's Register of Small and Medium-sized Enterprises: registered name, subject type (legal entity or sole proprietor), SME category (micro/small/medium), registry status and registration dates, main activity (OKVED) code and name, region and locality, average headcount, and registry flags (newly created, social enterprise, support recipient, licenses, contracts, high-tech, partnership).

**Price:** 1 credit

**⚠️ Common errors:** 412: No SME-register subject matches this INN/OGRN/OGRNIP (the subject is not in the register)



## OpenAPI

````yaml /openapi/company-registries.json post /api/rmsp/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/rmsp/companies:
    post:
      tags:
        - /rmsp
      summary: /rmsp/companies
      description: >-
        Look up a Russian SME-register subject by its INN, OGRN or OGRNIP in the
        Federal Tax Service's Register of Small and Medium-sized Enterprises:
        registered name, subject type (legal entity or sole proprietor), SME
        category (micro/small/medium), registry status and registration dates,
        main activity (OKVED) code and name, region and locality, average
        headcount, and registry flags (newly created, social enterprise, support
        recipient, licenses, contracts, high-tech, partnership).


        **Price:** 1 credit


        **⚠️ Common errors:** 412: No SME-register subject matches this
        INN/OGRN/OGRNIP (the subject is not in the register)
      operationId: __api_rmsp_companies_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RmspCompaniesPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/RmspCompany'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    RmspCompaniesPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        query:
          type: string
      type: object
      required:
        - query
    RmspCompany:
      properties:
        '@type':
          type: string
          default: RmspCompany
        inn:
          type: string
        ogrn:
          type: string
        name:
          type: string
        np_type:
          $ref: '#/components/schemas/RmspNpType'
        category:
          anyOf:
            - $ref: '#/components/schemas/RmspCategory'
            - type: 'null'
        category_name:
          anyOf:
            - type: string
            - type: 'null'
        is_active:
          type: boolean
          default: false
        is_new:
          type: boolean
          default: false
        is_social:
          type: boolean
          default: false
        is_support_recipient:
          type: boolean
          default: false
        has_licenses:
          type: boolean
          default: false
        has_contracts:
          type: boolean
          default: false
        is_hitech:
          type: boolean
          default: false
        is_partnership:
          type: boolean
          default: false
        registered_at:
          anyOf:
            - type: string
            - type: 'null'
        excluded_at:
          anyOf:
            - type: string
            - type: 'null'
        region_code:
          anyOf:
            - type: string
            - type: 'null'
        region:
          anyOf:
            - type: string
            - type: 'null'
        area:
          anyOf:
            - type: string
            - type: 'null'
        city:
          anyOf:
            - type: string
            - type: 'null'
        locality:
          anyOf:
            - type: string
            - type: 'null'
        okved:
          anyOf:
            - type: string
            - type: 'null'
        okved_name:
          anyOf:
            - type: string
            - type: 'null'
        employee_count:
          anyOf:
            - type: integer
            - type: 'null'
        phone:
          anyOf:
            - type: string
            - type: 'null'
        email:
          anyOf:
            - type: string
            - type: 'null'
        web_url:
          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
    RmspNpType:
      type: string
      enum:
        - UL
        - IP
    RmspCategory:
      type: string
      enum:
        - '1'
        - '2'
        - '3'
    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

````