---
title: "🔒 #26565 Реквизиты юр. лица по ИНН или банка по БИК из DaData. data = null - не найдено. Доступно и без компании - для регистрации."
method: GET
path: "/company/check-requisites"
tags: ["Company"]
---

# 🔒 #26565 Реквизиты юр. лица по ИНН или банка по БИК из DaData. data = null - не найдено. Доступно и без компании - для регистрации.

`GET /company/check-requisites`

## Request

- Base URL: `http://localhost`
- URL: `http://localhost/company/check-requisites`
- Auth: one of:
  - API key in header `sid` and API key in header `rts` and API key in header `sig`
  - HTTP bearer

#26565 Реквизиты юр. лица по ИНН или банка по БИК из DaData. data = null - не найдено. Доступно и без компании - для регистрации.

**Access:** `authorized` (10 ) · **allowNullCompany:** true · **Scope:** `read`

**Allows:** `company:create` (все обязательны; без ресурса)

### TypeScript (copy-paste)

**`GET /company/check-requisites`**

<details open><summary><b>Params</b></summary>

```typescript
export interface CompanyCheckRequisitesParams {
  inn?: string | null
  bic?: string | null
}
```

</details>

<details open><summary><b>Response</b></summary>

```typescript
export type CompanyCheckRequisitesResponse = IServerResponse<Resp_company_check-requisites>

export interface IServerResponse<T = any> {
  code: number
  data: T
  srvTS: number
  rkey: string
}
```

</details>

> Полный файл типов: [`/docs/types`](/docs/types) · raw: [`/docs/api-types.ts`](/docs/api-types.ts)

## Query parameters

- `inn` string, nullable
- `bic` string, nullable

## Headers

- `devID` string, uuid, required
- `tz` string, required
- `app` string, required
- `appVer` string, required
- `rKey` string

## Response `200`

OK — `IServerResponse<Resp_company_check-requisites>`

- object
  - `code` integer, required
  - `data` union, required: type ResponseData = { type: 'company'; data: OrganizationRequisites | null } | { type: 'bank'; data: BankRequisites | null }
    - object
      - `type` 'company', required
      - `data` OrganizationRequisites, required: Stub schema for unresolved $ref OrganizationRequisites (from ResponseData AST)
    - object
      - `type` 'bank', required
      - `data` BankRequisites, required: Stub schema for unresolved $ref BankRequisites (from ResponseData AST)
  - `srvTS` integer, required: Server timestamp (ms)
  - `rkey` string, required: Request key

## Other responses

- `400`: BadRequest: Neither INN nor BIC is passed
- `401`: Unauthorized: Active user session required
- `403`: AccessNotAllowed — privilegeRequired: нет привилегии; data.params = { code: 'privilegeRequired', allow, relation? }
- `406`: TimeResync — расхождение rts с сервером
- `500`: Service: DaData API key is not configured: set SERVICES_DADATA_API_KEY in the stage env (app-env); ExternalRequest: DaData request failed

---

[API](https://skmtc.dev/kosmodrom/apis/kosmodrom-backend-api.md) · [All operations](https://skmtc.dev/kosmodrom/apis/kosmodrom-backend-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kosmodrom/apis/kosmodrom-backend-api/revisions/a143b51ba29a?raw)
