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

# /listorg/companies

> Get a Russian company (FNS/EGRUL registry) by INN, OGRN or internal id: name, full legal name, status, INN/KPP/OGRN/OKPO/OKATO/OKTMO/OKOPF/OKFS/OKOGU, director, charter capital, headcount, registration dates, address with coordinates, phones/email/website, primary and additional activities (OKVED), founders, legal successors and predecessors, pension/social fund (SFR) registrations, licenses, regulatory inspections (FGIS), Fedresurs and gazette (vestnik) publications, and 223-FZ procurement.

**Price:** 5 credits

**⚠️ Common errors:** 412: Company not found (well-formed INN/OGRN but no matching record in the registry)



## OpenAPI

````yaml /openapi/company-registries.json post /api/listorg/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/listorg/companies:
    post:
      tags:
        - /listorg
      summary: /listorg/companies
      description: >-
        Get a Russian company (FNS/EGRUL registry) by INN, OGRN or internal id:
        name, full legal name, status,
        INN/KPP/OGRN/OKPO/OKATO/OKTMO/OKOPF/OKFS/OKOGU, director, charter
        capital, headcount, registration dates, address with coordinates,
        phones/email/website, primary and additional activities (OKVED),
        founders, legal successors and predecessors, pension/social fund (SFR)
        registrations, licenses, regulatory inspections (FGIS), Fedresurs and
        gazette (vestnik) publications, and 223-FZ procurement.


        **Price:** 5 credits


        **⚠️ Common errors:** 412: Company not found (well-formed INN/OGRN but
        no matching record in the registry)
      operationId: __api_listorg_companies_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ListorgCompaniesPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ListorgCompany'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ListorgCompaniesPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        company:
          type: string
          minLength: 1
      type: object
      required:
        - company
    ListorgCompany:
      properties:
        '@type':
          type: string
          default: ListorgCompany
        id:
          type: string
        url:
          type: string
        name:
          anyOf:
            - type: string
            - type: 'null'
        full_name:
          anyOf:
            - type: string
            - type: 'null'
        status:
          anyOf:
            - type: string
            - type: 'null'
        is_active:
          anyOf:
            - type: boolean
            - 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'
        okato:
          anyOf:
            - type: string
            - type: 'null'
        oktmo:
          anyOf:
            - type: string
            - type: 'null'
        okopf:
          anyOf:
            - type: string
            - type: 'null'
        okfs:
          anyOf:
            - type: string
            - type: 'null'
        okogu:
          anyOf:
            - type: string
            - type: 'null'
        director:
          anyOf:
            - $ref: '#/components/schemas/ListorgDirector'
            - type: 'null'
        charter_capital:
          anyOf:
            - type: integer
            - type: 'null'
        employee_count:
          anyOf:
            - type: integer
            - type: 'null'
        founder_count:
          anyOf:
            - type: integer
            - type: 'null'
        created_at:
          anyOf:
            - type: string
            - type: 'null'
        registered_at:
          anyOf:
            - type: string
            - type: 'null'
        postal_code:
          anyOf:
            - type: string
            - type: 'null'
        address:
          anyOf:
            - type: string
            - type: 'null'
        legal_address:
          anyOf:
            - type: string
            - type: 'null'
        latitude:
          anyOf:
            - type: number
            - type: 'null'
        longitude:
          anyOf:
            - type: number
            - type: 'null'
        phones:
          items:
            type: string
          type: array
          default: []
        email:
          anyOf:
            - type: string
            - type: 'null'
        website_url:
          anyOf:
            - type: string
            - type: 'null'
        main_activity:
          anyOf:
            - $ref: '#/components/schemas/ListorgActivity'
            - type: 'null'
        activities:
          items:
            $ref: '#/components/schemas/ListorgActivity'
          type: array
          default: []
        founders:
          items:
            $ref: '#/components/schemas/ListorgFounder'
          type: array
          default: []
        successors:
          items:
            $ref: '#/components/schemas/ListorgCompanyRef'
          type: array
          default: []
        predecessors:
          items:
            $ref: '#/components/schemas/ListorgCompanyRef'
          type: array
          default: []
        sfr_registrations:
          items:
            $ref: '#/components/schemas/ListorgSfrRegistration'
          type: array
          default: []
        licenses:
          items:
            $ref: '#/components/schemas/ListorgLicense'
          type: array
          default: []
        inspections:
          items:
            $ref: '#/components/schemas/ListorgInspection'
          type: array
          default: []
        fedresurs_messages:
          items:
            $ref: '#/components/schemas/ListorgFedresursMessage'
          type: array
          default: []
        vestnik_messages:
          items:
            $ref: '#/components/schemas/ListorgVestnikMessage'
          type: array
          default: []
        procurement_223:
          anyOf:
            - $ref: '#/components/schemas/ListorgProcurement223'
            - type: 'null'
      type: object
      required:
        - id
        - url
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    ListorgDirector:
      properties:
        '@type':
          type: string
          default: ListorgDirector
        name:
          anyOf:
            - type: string
            - type: 'null'
        position:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    ListorgActivity:
      properties:
        '@type':
          type: string
          default: ListorgActivity
        code:
          anyOf:
            - type: string
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    ListorgFounder:
      properties:
        '@type':
          type: string
          default: ListorgFounder
        name:
          anyOf:
            - type: string
            - type: 'null'
        inn:
          anyOf:
            - type: string
            - type: 'null'
        share:
          anyOf:
            - type: string
            - type: 'null'
        person_id:
          anyOf:
            - type: string
            - type: 'null'
        company_id:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    ListorgCompanyRef:
      properties:
        '@type':
          type: string
          default: ListorgCompanyRef
        id:
          anyOf:
            - type: string
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
        inn:
          anyOf:
            - type: string
            - type: 'null'
        ogrn:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    ListorgSfrRegistration:
      properties:
        '@type':
          type: string
          default: ListorgSfrRegistration
        fund:
          anyOf:
            - type: string
            - type: 'null'
        number:
          anyOf:
            - type: string
            - type: 'null'
        registered_at:
          anyOf:
            - type: string
            - type: 'null'
        authority:
          anyOf:
            - type: string
            - type: 'null'
        egrul_grn:
          anyOf:
            - type: string
            - type: 'null'
        egrul_at:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    ListorgLicense:
      properties:
        '@type':
          type: string
          default: ListorgLicense
        number:
          anyOf:
            - type: string
            - type: 'null'
        issued_at:
          anyOf:
            - type: string
            - type: 'null'
        activity:
          anyOf:
            - type: string
            - type: 'null'
        location:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    ListorgInspection:
      properties:
        '@type':
          type: string
          default: ListorgInspection
        number:
          anyOf:
            - type: string
            - type: 'null'
        started_at:
          anyOf:
            - type: string
            - type: 'null'
        type:
          anyOf:
            - type: string
            - type: 'null'
        status:
          anyOf:
            - type: string
            - type: 'null'
        authority:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    ListorgFedresursMessage:
      properties:
        '@type':
          type: string
          default: ListorgFedresursMessage
        date:
          anyOf:
            - type: string
            - type: 'null'
        number:
          anyOf:
            - type: string
            - type: 'null'
        type:
          anyOf:
            - type: string
            - type: 'null'
        text:
          anyOf:
            - type: string
            - type: 'null'
        publisher_name:
          anyOf:
            - type: string
            - type: 'null'
        publisher_inn:
          anyOf:
            - type: string
            - type: 'null'
        publisher_ogrn:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    ListorgVestnikMessage:
      properties:
        '@type':
          type: string
          default: ListorgVestnikMessage
        journal:
          anyOf:
            - type: string
            - type: 'null'
        date:
          anyOf:
            - type: string
            - type: 'null'
        type:
          anyOf:
            - type: string
            - type: 'null'
        text:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    ListorgProcurement223:
      properties:
        '@type':
          type: string
          default: ListorgProcurement223
        contract_count:
          anyOf:
            - type: integer
            - type: 'null'
        total_sum:
          anyOf:
            - type: string
            - type: 'null'
        top_customers:
          items:
            $ref: '#/components/schemas/ListorgProcurementCustomer'
          type: array
          default: []
      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
    ListorgProcurementCustomer:
      properties:
        '@type':
          type: string
          default: ListorgProcurementCustomer
        id:
          anyOf:
            - type: string
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
        summary:
          anyOf:
            - type: string
            - type: 'null'
      type: object
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````