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

# /sbis/contragents/search

> Search Russian companies and sole proprietors (contractors) by name, INN, OGRN or other requisites. Returns a list with name, INN/KPP/OGRN/OKPO, region, category, address, registration date, revenue, director and primary activity code. Supports region and industry-category filtering and ordering by relevance or revenue.

**Price:** 5 credits per 40 results



## OpenAPI

````yaml /openapi/company-registries.json post /api/sbis/contragents/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/sbis/contragents/search:
    post:
      tags:
        - /sbis
      summary: /sbis/contragents/search
      description: >-
        Search Russian companies and sole proprietors (contractors) by name,
        INN, OGRN or other requisites. Returns a list with name,
        INN/KPP/OGRN/OKPO, region, category, address, registration date,
        revenue, director and primary activity code. Supports region and
        industry-category filtering and ordering by relevance or revenue.


        **Price:** 5 credits per 40 results
      operationId: __api_sbis_contragents_search_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SbisContragentsSearchPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SbisSearchItem'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    SbisContragentsSearchPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        query:
          type: string
          minLength: 1
        count:
          type: integer
          minimum: 1
        region:
          items:
            type: string
          type: array
          default: []
        category:
          items:
            $ref: '#/components/schemas/SbisSearchCategory'
          type: array
          default: []
        sort:
          $ref: '#/components/schemas/SbisSearchSort'
          default: relevance
      type: object
      required:
        - query
        - count
    SbisSearchItem:
      properties:
        '@type':
          type: string
          default: SbisSearchItem
        id:
          type: string
        spp_id:
          anyOf:
            - type: integer
            - type: 'null'
        is_sole_proprietor:
          type: boolean
          default: false
        name:
          anyOf:
            - type: string
            - type: 'null'
        inn:
          anyOf:
            - type: string
            - type: 'null'
        kpp:
          anyOf:
            - type: string
            - type: 'null'
        ogrn:
          anyOf:
            - type: string
            - type: 'null'
        okpo:
          anyOf:
            - type: string
            - type: 'null'
        region:
          anyOf:
            - type: string
            - type: 'null'
        category:
          anyOf:
            - type: string
            - type: 'null'
        address:
          anyOf:
            - type: string
            - type: 'null'
        registered_at:
          anyOf:
            - type: string
            - type: 'null'
        revenue:
          anyOf:
            - type: integer
            - type: 'null'
        main_activity_code:
          anyOf:
            - type: string
            - type: 'null'
        uuid:
          anyOf:
            - type: string
            - type: 'null'
        director:
          anyOf:
            - $ref: '#/components/schemas/SbisPerson'
            - type: 'null'
      type: object
      required:
        - id
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    SbisSearchCategory:
      type: string
      enum:
        - auto_service
        - security
        - business_finance
        - paper_packaging
        - woodworking
        - computers_software
        - beauty_health
        - light_industry
        - machinery
        - medicine_pharma
        - metals
        - science_education
        - real_estate
        - office_home
        - logistics
        - printing_advertising
        - food_beverages_tobacco
        - retail
        - communications
        - agriculture
        - sport_leisure_tourism
        - construction_materials
        - construction
        - raw_materials
        - fuel_energy
        - transport
        - services
        - chemical_industry
        - ecology_cleaning
        - electrical
        - undefined
    SbisSearchSort:
      type: string
      enum:
        - relevance
        - revenue
    SbisPerson:
      properties:
        '@type':
          type: string
          default: SbisPerson
        name:
          anyOf:
            - type: string
            - type: 'null'
        role:
          anyOf:
            - type: string
            - type: 'null'
        since_at:
          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

````