Один реестр через API
Country-agnostic схема: тот же ответ для любой юрисдикции. Базовый URL — api-v2.safedeal.kz.
Аутентификация
Все запросы требуют ключ API в заголовке X-API-Key. Ключ создаётся в личном кабинете.
curl https://api-v2.safedeal.kz/api/v2/kz/companies/523302 \ -H "X-API-Key: $SAFEDEAL_API_KEY"
Базовый URL
Все эндпоинты монтируются под api-v2.safedeal.kz. kz в пути — код страны (например, kz).
Ошибки
Ошибки возвращаются в формате RFC 9457 (problem+json): поля type, title, status, detail. HTTP-код отражает статус.
{ "type", "title", "status", "detail" }Пагинация
Списочные эндпоинты принимают page и per_page; в ответе есть total_count.
Интеграции
SafeDeal — это прежде всего API. Проверку контрагента по БИН/ИИН можно встроить в любую вашу систему: CRM, учётную программу, таблицы или собственный продукт. Данные — риски, финансы, статус, PDF-отчёт — возвращаются автоматически, без ручного захода на сайт.
Прямая интеграция в любой продукт — основной способ подключения.
Массовая проверка списка БИН/ИИН и выгрузка отчётов таблицей.
Проверка контрагента прямо в карточке CRM. Коннектор на нашем API.
Обогащение сделок и компаний данными и рисками SafeDeal.
Проверка контрагентов из учётной системы по БИН.
Как это работает
- 1Получите API-ключ в личном кабинете (Профиль → «API»).
- 2На событие в вашей системе (добавили компанию по БИН) вызовите наше API.
- 3Запишите ответ (риски / финансы / статус / ссылку на PDF) в поля карточки.
curl https://api-v2.safedeal.kz/api/v2/kz/companies/523302 \ -H "X-API-Key: $SAFEDEAL_API_KEY"
Битрикс24 — пошагово
Что получаете: проверку контрагента прямо в карточке компании или сделки — по БИН подтягиваются риски, финансовое состояние и статус из SafeDeal.
- 1В SafeDeal скопируйте API-ключ (Профиль → «API»).
- 2В Битрикс24 создайте входящий вебхук или локальное приложение (Разработчикам → Другое → «Входящий вебхук» / «Локальное приложение») с доступом к CRM.
- 3Настройте робота или бизнес-процесс в CRM: на добавление/изменение компании возьмите БИН из поля карточки и вызовите наше API (пример ниже).
- 4Разберите JSON-ответ и запишите значения в поля карточки (риск, статус, дата регистрации) либо покажите ссылку на PDF-отчёт.
# Битрикс дёргает наш API по идентификатору компании curl https://api-v2.safedeal.kz/api/v2/kz/companies/523302 \ -H "X-API-Key: $SAFEDEAL_API_KEY"
Идентификатор компании находится поиском по БИН (см. справочник ниже); полный список полей ответа — в разделах справочника (компания, риски, финансы, налоги, суды и др.). Готовое приложение для Битрикс-маркетплейса — по запросу.
Нужна помощь с интеграцией или готовый коннектор под вашу систему?
Meta
Get available features for the country
| countryобязательный | path · string |
curl https://api-v2.safedeal.kz/api/v2/kz/features \ -H "X-API-Key: $SAFEDEAL_API_KEY"
{
"accreditations": true,
"arrest": true,
"bank": true,
"certificate": true,
"company": true,
"court": true,
"founders": true,
"head_participation": true,
"procurement": true,
"risk": true,
"search": true,
"tax": true
}Static country metadata with per-region company counts
| countryобязательный | path · string |
curl https://api-v2.safedeal.kz/api/v2/kz/info \ -H "X-API-Key: $SAFEDEAL_API_KEY"
{
"classifiers": {
"activity": {
"code": "string",
"name": "string"
},
"extra": [
{
"header": true,
"key": "string",
"label": "string"
}
],
"region": {
"code": "string",
"name": "string"
}
},
"code": "string",
"currency": {
"code": "string",
"locale": "string",
"symbol": "string"
},
"filters": {
"legalForms": [
{
"code": "string",
"value": "string"
}
],
"sizeClasses": [
{
"code": "string",
"value": "string"
}
]
},
"flag": "string",
"identifiers": [
{
"appliesTo": [
"string"
],
"code": "string",
"full": "string",
"length": 0,
"personal": true,
"primary": true,
"role": "string",
"short": "string"
}
],
"locale": {
"dateFormat": "string",
"default": "string",
"numberLocale": "string",
"phoneCode": "string"
},
"map": {
"available": true
},
"name": {
"en": "string",
"genitive": "string",
"kk": "string",
"nominative": "string",
"prepositional": "string"
},
"regions": [
{
"apiValue": "string",
"count": 0,
"kato": "string",
"name": {
"genitive": "string",
"nominative": "string"
},
"slug": "string"
}
],
"sources": [
{
"description": "string",
"itemUrlTemplate": "string",
"key": "string",
"name": "string",
"role": "string",
"url": "string"
}
],
"tax": {
"vatApplicable": true
},
"tools": [
{
"name": "string",
"slug": "string"
}
]
}Public coverage stats for the landing page
| countryобязательный | path · string |
curl https://api-v2.safedeal.kz/api/v2/kz/stats \ -H "X-API-Key: $SAFEDEAL_API_KEY"
{
"companies": 0,
"jurisdictions": 0,
"risk_checks": 0
}Search & discovery
Get alternative companies
| countryобязательный | path · string | |
| registration_number | query · string | |
| industry_code | query · string |
curl https://api-v2.safedeal.kz/api/v2/kz/alternatives \ -H "X-API-Key: $SAFEDEAL_API_KEY"
{
"items": [
{
"active": true,
"address_area": "string",
"address_full": "string",
"employee_count": "string",
"extra": {},
"head": "string",
"id": 0,
"industry": "string",
"industry_code": "string",
"legal_form": "string",
"name": "string",
"registration_date": "2026-01-01T00:00:00Z",
"registration_number": "string",
"size": "string",
"status": "string",
"status_code": "string"
}
],
"page": 0,
"per_page": 0,
"total_count": 0
}Browse company catalog
| countryобязательный | path · string | |
| area | query · string | |
| industry_code | query · string | |
| page | query · integer | |
| per_page | query · integer |
curl https://api-v2.safedeal.kz/api/v2/kz/catalog \ -H "X-API-Key: $SAFEDEAL_API_KEY"
{
"items": [
{
"active": true,
"address_area": "string",
"address_full": "string",
"employee_count": "string",
"extra": {},
"head": "string",
"id": 0,
"industry": "string",
"industry_code": "string",
"legal_form": "string",
"name": "string",
"registration_date": "2026-01-01T00:00:00Z",
"registration_number": "string",
"size": "string",
"status": "string",
"status_code": "string"
}
],
"page": 0,
"per_page": 0,
"stats": {
"active": 0,
"inactive": 0,
"top_industries": [
{
"code": "string",
"count": 0,
"name": "string"
}
]
},
"total_count": 0
}Search companies
| countryобязательный | path · string | |
| qобязательный | query · string | |
| page | query · integer | |
| per_page | query · integer |
curl https://api-v2.safedeal.kz/api/v2/kz/search \ -H "X-API-Key: $SAFEDEAL_API_KEY"
{
"items": [
{
"active": true,
"address": "string",
"address_area": "string",
"country_code": "string",
"employee_count": "string",
"extra": {},
"head": "string",
"id": 0,
"industry_code": "string",
"industry_name": "string",
"legal_form": "string",
"name": "string",
"registration_date": "2026-01-01T00:00:00Z",
"registration_number": "string",
"size": "string",
"status": "string",
"status_code": "string"
}
],
"page": 0,
"per_page": 0,
"total_count": 0
}Advanced company search
| countryобязательный | path · string |
curl -X POST https://api-v2.safedeal.kz/api/v2/kz/search/advanced \ -H "X-API-Key: $SAFEDEAL_API_KEY"
{
"items": [
{
"active": true,
"address": "string",
"address_area": "string",
"country_code": "string",
"employee_count": "string",
"extra": {},
"head": "string",
"id": 0,
"industry_code": "string",
"industry_name": "string",
"legal_form": "string",
"name": "string",
"registration_date": "2026-01-01T00:00:00Z",
"registration_number": "string",
"size": "string",
"status": "string",
"status_code": "string"
}
],
"page": 0,
"per_page": 0,
"total_count": 0
}Search tenders
| countryобязательный | path · string |
curl -X POST https://api-v2.safedeal.kz/api/v2/kz/tenders/search \ -H "X-API-Key: $SAFEDEAL_API_KEY"
{
"has_next": true,
"items": [
{
"count_lots": 0,
"end_date": "string",
"extra": {},
"id": 0,
"last_update_date": "string",
"method": "string",
"name": "string",
"organizer_name": "string",
"organizer_registration_number": "string",
"publish_date": "string",
"start_date": "string",
"status": "string",
"supplier_registration_number": "string",
"total_sum": 0
}
],
"last_id": 0,
"total_count": 0
}Company
Get company data by ID
| countryобязательный | path · string | |
| idобязательный | path · string |
curl https://api-v2.safedeal.kz/api/v2/kz/companies/523302 \ -H "X-API-Key: $SAFEDEAL_API_KEY"
{
"active": true,
"address": {
"city": "string",
"full": "string",
"postal_code": "string",
"region": "string",
"street": "string"
},
"country_code": "string",
"created_at": "2026-01-01T00:00:00Z",
"employee_count": "string",
"extra": {},
"full_name": "string",
"head": {
"name": "string",
"position": "string"
},
"id": 0,
"identifiers": [
{
"code": "string",
"value": "string"
}
],
"industry_code": "string",
"industry_codes": [
"string"
],
"industry_name": "string",
"legal_form": "string",
"name": "string",
"name_local": "string",
"old_heads": [
"string"
],
"paid": true,
"registration_date": "2026-01-01T00:00:00Z",
"registration_number": "string",
"roles": "string",
"size": "string",
"status": "string",
"status_code": "string",
"updated_at": "2026-01-01T00:00:00Z"
}Check the user's paid access to a company without spending a check
| countryобязательный | path · string | |
| idобязательный | path · string |
curl https://api-v2.safedeal.kz/api/v2/kz/companies/523302/access \ -H "X-API-Key: $SAFEDEAL_API_KEY"
{
"paid": true
}Get company accounting report
| countryобязательный | path · string | |
| idобязательный | path · string |
curl https://api-v2.safedeal.kz/api/v2/kz/companies/523302/accounting \ -H "X-API-Key: $SAFEDEAL_API_KEY"
{
"chief_name": "string",
"sections": [
{
"lines": [
{
"code": "string",
"current_value": "string",
"name": "string",
"previous_value": "string"
}
],
"name": "string"
}
]
}Get company accreditations / program memberships
| countryобязательный | path · string | |
| idобязательный | path · string | |
| page | query · integer | |
| per_page | query · integer |
curl https://api-v2.safedeal.kz/api/v2/kz/companies/523302/accreditations \ -H "X-API-Key: $SAFEDEAL_API_KEY"
{
"items": [
{
"certificate_number": "string",
"issued_date": "string",
"program_code": "string",
"program_name": "string",
"status": "string",
"valid_until": "string"
}
],
"page": 0,
"per_page": 0,
"total_count": 0
}Get company affiliations
| countryобязательный | path · string | |
| idобязательный | path · string | |
| direction | query · string | |
| page | query · integer | |
| per_page | query · integer |
curl https://api-v2.safedeal.kz/api/v2/kz/companies/523302/affiliations \ -H "X-API-Key: $SAFEDEAL_API_KEY"
{
"head": "string",
"items": [
{
"direction": "up",
"name": "string",
"note": "string",
"reason": "string",
"registration_number": "string",
"type": "string"
}
],
"legal_form": "string",
"page": 0,
"per_page": 0,
"total_count": 0
}Get company financial arrests
| countryобязательный | path · string | |
| idобязательный | path · string | |
| page | query · integer | |
| per_page | query · integer |
curl https://api-v2.safedeal.kz/api/v2/kz/companies/523302/arrests \ -H "X-API-Key: $SAFEDEAL_API_KEY"
{
"active_sum": 0,
"active_total": 0,
"checks": [
{
"found": true,
"type": "string"
}
],
"items": [
{
"amount": 0,
"authority": "string",
"collector": "string",
"collector_registration_number": "string",
"collector_type": "string",
"currency": "string",
"date": "2026-01-01T00:00:00Z",
"debt_amount": 0,
"department": "string",
"description": "string",
"number": "string",
"status": "string",
"type": "string"
}
],
"page": 0,
"per_page": 0,
"returned_sum": 0,
"returned_total": 0,
"sum": 0,
"total_count": 0
}Get company bank accounts
| countryобязательный | path · string | |
| idобязательный | path · string | |
| page | query · integer | |
| per_page | query · integer |
curl https://api-v2.safedeal.kz/api/v2/kz/companies/523302/bank-accounts \ -H "X-API-Key: $SAFEDEAL_API_KEY"
{
"items": [
{
"account_num": "string",
"bank_code": "string",
"bank_name": "string"
}
],
"page": 0,
"per_page": 0,
"total_count": 0
}Get company branches
| countryобязательный | path · string | |
| idобязательный | path · string |
curl https://api-v2.safedeal.kz/api/v2/kz/companies/523302/branches \ -H "X-API-Key: $SAFEDEAL_API_KEY"
{
"items": [
{
"address": {
"city": "string",
"full": "string",
"postal_code": "string",
"region": "string",
"street": "string"
},
"id": 0,
"name": "string",
"registration_number": "string"
}
],
"page": 0,
"per_page": 0,
"total_count": 0
}Get company certificates
| countryобязательный | path · string | |
| idобязательный | path · string | |
| page | query · integer | |
| per_page | query · integer | |
| type | query · string |
curl https://api-v2.safedeal.kz/api/v2/kz/companies/523302/certificates \ -H "X-API-Key: $SAFEDEAL_API_KEY"
{
"items": [
{
"expiry_date": "2026-01-01T00:00:00Z",
"id": "string",
"issued_by": "string",
"issued_date": "2026-01-01T00:00:00Z",
"name": "string",
"number": "string",
"status": "string",
"type": "string"
}
],
"page": 0,
"per_page": 0,
"total_count": 0
}Get certificates statistics
| countryобязательный | path · string | |
| idобязательный | path · string |
curl https://api-v2.safedeal.kz/api/v2/kz/companies/523302/certificates/meta \ -H "X-API-Key: $SAFEDEAL_API_KEY"
{
"counts": {},
"total": 0
}Get company contact information
| countryобязательный | path · string | |
| idобязательный | path · string |
curl https://api-v2.safedeal.kz/api/v2/kz/companies/523302/contacts \ -H "X-API-Key: $SAFEDEAL_API_KEY"
{
"emails": [
"string"
],
"phones": [
"string"
],
"total_count": 0,
"websites": [
"string"
]
}Get company procurement contracts
| countryобязательный | path · string | |
| idобязательный | path · string | |
| page | query · integer | |
| per_page | query · integer |
curl https://api-v2.safedeal.kz/api/v2/kz/companies/523302/contracts \ -H "X-API-Key: $SAFEDEAL_API_KEY"
{
"items": [
{
"amount": 0,
"currency": "string",
"customer_name": "string",
"customer_reg_num": "string",
"extra": {},
"id": "string",
"number": "string",
"sign_date": "2026-01-01T00:00:00Z",
"status": "string",
"subject": "string",
"supplier_name": "string",
"supplier_reg_num": "string"
}
],
"page": 0,
"per_page": 0,
"total_count": 0
}Get contracts aggregated by calendar year (supplier and customer)
| countryобязательный | path · string | |
| idобязательный | path · string |
curl https://api-v2.safedeal.kz/api/v2/kz/companies/523302/contracts/by-year \ -H "X-API-Key: $SAFEDEAL_API_KEY"
{
"customer": [
{
"count": 0,
"currency": "string",
"government_entity": 0,
"status": "string",
"status_id": 0,
"sum": 0,
"sum_vat": 0,
"year": 0
}
],
"supplier": [
{
"count": 0,
"currency": "string",
"government_entity": 0,
"status": "string",
"status_id": 0,
"sum": 0,
"sum_vat": 0,
"year": 0
}
]
}Get contracts statistics
| countryобязательный | path · string | |
| idобязательный | path · string |
curl https://api-v2.safedeal.kz/api/v2/kz/companies/523302/contracts/meta \ -H "X-API-Key: $SAFEDEAL_API_KEY"
{
"as_customer": 0,
"as_supplier": 0,
"currency": "string",
"government_entity": 0,
"sum_vat": 0,
"total_amount": 0,
"total_contracts": 0
}Get company court cases
| countryобязательный | path · string | |
| idобязательный | path · string | |
| page | query · integer | |
| per_page | query · integer | |
| status | query · string | |
| role | query · string | |
| year_from | query · integer | |
| year_to | query · integer |
curl https://api-v2.safedeal.kz/api/v2/kz/companies/523302/court-cases \ -H "X-API-Key: $SAFEDEAL_API_KEY"
{
"items": [
{
"amount": 0,
"case_number": "string",
"category": "string",
"court": "string",
"currency": "string",
"defendants": [
"string"
],
"end_date": "2026-01-01T00:00:00Z",
"extra": {},
"plaintiffs": [
"string"
],
"start_date": "2026-01-01T00:00:00Z",
"status": "string"
}
],
"page": 0,
"per_page": 0,
"total_count": 0
}Get court cases statistics
| countryобязательный | path · string | |
| idобязательный | path · string |
curl https://api-v2.safedeal.kz/api/v2/kz/companies/523302/court-cases/meta \ -H "X-API-Key: $SAFEDEAL_API_KEY"
{
"active_cases": 0,
"as_defendant": 0,
"as_plaintiff": 0,
"by_category": [
{
"code": "string",
"count": 0
}
],
"completed_cases": 0,
"total_cases": 0
}Get court cases worker status
| countryобязательный | path · string | |
| idобязательный | path · string |
curl https://api-v2.safedeal.kz/api/v2/kz/companies/523302/court-cases/status \ -H "X-API-Key: $SAFEDEAL_API_KEY"
{
"created_at": "string",
"current_area": "string",
"current_court": "string",
"current_year": 0,
"status": "string",
"updated_at": "string"
}Get company employees
| countryобязательный | path · string | |
| idобязательный | path · string |
curl https://api-v2.safedeal.kz/api/v2/kz/companies/523302/employees \ -H "X-API-Key: $SAFEDEAL_API_KEY"
{
"employees": [
{
"name": "string",
"position": "string"
}
]
}Get company events
| countryобязательный | path · string | |
| idобязательный | path · string | |
| page | query · integer | |
| per_page | query · integer |
curl https://api-v2.safedeal.kz/api/v2/kz/companies/523302/events \ -H "X-API-Key: $SAFEDEAL_API_KEY"
{
"items": [
{
"date": "2026-01-01T00:00:00Z",
"description": "string",
"id": 0,
"new_value": "string",
"old_value": "string",
"type": "string"
}
],
"page": 0,
"per_page": 0,
"total_count": 0
}Get aggregated change-history metadata
| countryобязательный | path · string | |
| idобязательный | path · string |
curl https://api-v2.safedeal.kz/api/v2/kz/companies/523302/events/meta \ -H "X-API-Key: $SAFEDEAL_API_KEY"
{
"by_type": [
{
"count": 0,
"type": "string"
}
],
"total_count": 0
}Get company financial reports
| countryобязательный | path · string | |
| idобязательный | path · string |
curl https://api-v2.safedeal.kz/api/v2/kz/companies/523302/finances \ -H "X-API-Key: $SAFEDEAL_API_KEY"
{
"items": [
{
"currency": "string",
"expense": 0,
"extra": {},
"profit": 0,
"revenue": 0,
"type": "string",
"year": 0
}
],
"page": 0,
"per_page": 0,
"total_count": 0
}Get company founders/shareholders
| countryобязательный | path · string | |
| idобязательный | path · string | |
| page | query · integer | |
| per_page | query · integer |
curl https://api-v2.safedeal.kz/api/v2/kz/companies/523302/founders \ -H "X-API-Key: $SAFEDEAL_API_KEY"
{
"items": [
{
"inactive": true,
"is_person": true,
"name": "string",
"registration_number": "string",
"share": 0
}
],
"page": 0,
"per_page": 0,
"total_count": 0
}Get the head's participation in other legal entities
| countryобязательный | path · string | |
| idобязательный | path · string |
curl https://api-v2.safedeal.kz/api/v2/kz/companies/523302/head-participation \ -H "X-API-Key: $SAFEDEAL_API_KEY"
{
"head": "string",
"items": [
{
"active": true,
"address_area": "string",
"head": "string",
"id": 0,
"industry": "string",
"industry_code": "string",
"name": "string",
"registration_date": "2026-01-01T00:00:00Z",
"registration_number": "string",
"role": "current",
"size": "string",
"sole_trader": true,
"staff_number": "string"
}
],
"total_count": 0
}Get company licenses
| countryобязательный | path · string | |
| idобязательный | path · string | |
| page | query · integer | |
| per_page | query · integer |
curl https://api-v2.safedeal.kz/api/v2/kz/companies/523302/licenses \ -H "X-API-Key: $SAFEDEAL_API_KEY"
{
"items": [
{
"expiry_date": "2026-01-01T00:00:00Z",
"id": "string",
"issued_by": "string",
"issued_date": "2026-01-01T00:00:00Z",
"name": "string",
"number": "string",
"status": "string"
}
],
"page": 0,
"per_page": 0,
"total_count": 0
}Get company news
| countryобязательный | path · string | |
| idобязательный | path · string |
curl https://api-v2.safedeal.kz/api/v2/kz/companies/523302/news \ -H "X-API-Key: $SAFEDEAL_API_KEY"
{
"items": [
{
"link": "string",
"pub_date": "string",
"source": "string",
"source_link": "string",
"title": "string"
}
],
"page": 0,
"per_page": 0,
"total_count": 0
}Get company property profile (land / real estate / vehicles)
| countryобязательный | path · string | |
| idобязательный | path · string |
curl https://api-v2.safedeal.kz/api/v2/kz/companies/523302/property \ -H "X-API-Key: $SAFEDEAL_API_KEY"
{
"currency": "string",
"items": [
{
"by_year": [
{
"count": 0,
"sum": 0,
"year": 0
}
],
"kind": "land",
"present": true,
"total_sum": 0
}
],
"present_count": 0,
"total_sum": 0
}Get company relations graph
| countryобязательный | path · string | |
| idобязательный | path · string |
curl https://api-v2.safedeal.kz/api/v2/kz/companies/523302/relations \ -H "X-API-Key: $SAFEDEAL_API_KEY"
{
"edges": [
{
"source_id": 0,
"target_id": 0,
"type": "string",
"types": [
"string"
]
}
],
"nodes": [
{
"id": 0,
"name": "string",
"registration_number": "string",
"type": "string"
}
]
}Get company risk profile
| countryобязательный | path · string | |
| idобязательный | path · string |
curl https://api-v2.safedeal.kz/api/v2/kz/companies/523302/risks \ -H "X-API-Key: $SAFEDEAL_API_KEY"
{
"items": [
{
"active": true,
"category": "string",
"description": "string",
"details": [
{
"court_decision": "string",
"created_at": "string",
"date": "string",
"debt": "string",
"name": "string",
"penalty": "string",
"penny": "string",
"reason": "string",
"start_date": "string",
"sum": "string",
"ugd": "string",
"updated_at": "string",
"url": "string"
}
],
"severity": "low",
"source": "string",
"subject_name": "string",
"subject_type": "head",
"title": "string"
}
],
"page": 0,
"per_page": 0,
"score": 0,
"total_count": 0
}Get company rivals
| countryобязательный | path · string | |
| idобязательный | path · string |
curl https://api-v2.safedeal.kz/api/v2/kz/companies/523302/rivals \ -H "X-API-Key: $SAFEDEAL_API_KEY"
{
"items": [
{
"active": true,
"address_area": "string",
"address_full": "string",
"employee_count": "string",
"extra": {},
"head": "string",
"id": 0,
"industry": "string",
"industry_code": "string",
"legal_form": "string",
"name": "string",
"registration_date": "2026-01-01T00:00:00Z",
"registration_number": "string",
"size": "string",
"status": "string",
"status_code": "string"
}
],
"page": 0,
"per_page": 0,
"total_count": 0
}Get taxable profit estimated from corporate income tax
| countryобязательный | path · string | |
| idобязательный | path · string |
curl https://api-v2.safedeal.kz/api/v2/kz/companies/523302/tax/estimated-profit \ -H "X-API-Key: $SAFEDEAL_API_KEY"
{
"items": [
{
"currency": "string",
"profit": 0,
"rate": 0,
"tax": 0,
"year": 0
}
]
}Get company tax payments
| countryобязательный | path · string | |
| idобязательный | path · string | |
| page | query · integer | |
| per_page | query · integer | |
| sort_by | query · string | |
| sort_order | query · string | |
| year_from | query · integer | |
| year_to | query · integer | |
| kbk | query · string | Budget-classification code — return only payments under this code |
curl https://api-v2.safedeal.kz/api/v2/kz/companies/523302/tax/payments \ -H "X-API-Key: $SAFEDEAL_API_KEY"
{
"items": [
{
"amount": 0,
"category": "string",
"category_id": "string",
"currency": "string",
"date": "2026-01-01T00:00:00Z",
"extra": {},
"status": "string",
"tax_authority": "string",
"tax_authority_code": "string"
}
],
"page": 0,
"per_page": 0,
"total_count": 0
}Get aggregated tax payment metadata
| countryобязательный | path · string | |
| idобязательный | path · string |
curl https://api-v2.safedeal.kz/api/v2/kz/companies/523302/tax/payments/meta \ -H "X-API-Key: $SAFEDEAL_API_KEY"
{
"by_category": [
{
"code": "string",
"count": 0,
"name": "string",
"sum": 0
}
],
"by_month": [
{
"count": 0,
"month": 0,
"sum": 0,
"year": 0
}
],
"by_status": [
{
"count": 0,
"pay_status": "string",
"sum": 0
}
],
"by_type": [
{
"code": "string",
"count": 0,
"name": "string",
"name_kz": "string",
"sum": 0
}
],
"by_year": [
{
"count": 0,
"sum": 0,
"year": 0
}
],
"total_count": 0,
"total_sum": 0
}Get company tax summary
| countryобязательный | path · string | |
| idобязательный | path · string |
curl https://api-v2.safedeal.kz/api/v2/kz/companies/523302/tax/summary \ -H "X-API-Key: $SAFEDEAL_API_KEY"
{
"items": [
{
"currency": "string",
"fine": 0,
"penalty": 0,
"total": 0,
"vat_refund": 0,
"year": 0
}
],
"page": 0,
"per_page": 0,
"total_count": 0
}Bulk
List batch jobs (all countries)
| page | query · integer | |
| per_page | query · integer |
curl https://api-v2.safedeal.kz/api/v2/batches \ -H "X-API-Key: $SAFEDEAL_API_KEY"
{
"items": [
{
"completed_at": "2026-01-01T00:00:00Z",
"created_at": "2026-01-01T00:00:00Z",
"failed_items": 0,
"id": 0,
"name": "string",
"processed_items": 0,
"status": "string",
"total_items": 0
}
],
"page": 0,
"per_page": 0,
"total_count": 0
}List batch jobs
| countryобязательный | path · string | |
| page | query · integer | |
| per_page | query · integer |
curl https://api-v2.safedeal.kz/api/v2/kz/batches \ -H "X-API-Key: $SAFEDEAL_API_KEY"
{
"items": [
{
"completed_at": "2026-01-01T00:00:00Z",
"created_at": "2026-01-01T00:00:00Z",
"failed_items": 0,
"id": 0,
"name": "string",
"processed_items": 0,
"status": "pending",
"total_items": 0
}
],
"page": 0,
"per_page": 0,
"total_count": 0
}Create a batch verification job
| countryобязательный | path · string |
curl -X POST https://api-v2.safedeal.kz/api/v2/kz/batches \ -H "X-API-Key: $SAFEDEAL_API_KEY"
{
"completed_at": "2026-01-01T00:00:00Z",
"created_at": "2026-01-01T00:00:00Z",
"failed_items": 0,
"id": 0,
"name": "string",
"processed_items": 0,
"status": "pending",
"total_items": 0
}Get batch job status
| countryобязательный | path · string | |
| idобязательный | path · integer |
curl https://api-v2.safedeal.kz/api/v2/kz/batches/523302 \ -H "X-API-Key: $SAFEDEAL_API_KEY"
{
"completed_at": "2026-01-01T00:00:00Z",
"created_at": "2026-01-01T00:00:00Z",
"failed_items": 0,
"id": 0,
"name": "string",
"processed_items": 0,
"status": "pending",
"total_items": 0
}Get batch job results
| countryобязательный | path · string | |
| idобязательный | path · integer | |
| page | query · integer | |
| per_page | query · integer |
curl https://api-v2.safedeal.kz/api/v2/kz/batches/523302/results \ -H "X-API-Key: $SAFEDEAL_API_KEY"
{
"items": [
{
"company": {
"active": true,
"address": {
"city": "string",
"full": "string",
"postal_code": "string",
"region": "string",
"street": "string"
},
"country_code": "string",
"created_at": "2026-01-01T00:00:00Z",
"employee_count": "string",
"extra": {},
"full_name": "string",
"head": {
"name": "string",
"position": "string"
},
"id": 0,
"identifiers": [
{
"code": "string",
"value": "string"
}
],
"industry_code": "string",
"industry_codes": [
"string"
],
"industry_name": "string",
"legal_form": "string",
"name": "string",
"name_local": "string",
"old_heads": [
"string"
],
"paid": true,
"registration_date": "2026-01-01T00:00:00Z",
"registration_number": "string",
"roles": "string",
"size": "string",
"status": "string",
"status_code": "string",
"updated_at": "2026-01-01T00:00:00Z"
},
"company_id": 0,
"contracts_count": 0,
"court_cases_count": 0,
"error_message": "string",
"finance": {
"currency": "string",
"expense": 0,
"extra": {},
"profit": 0,
"revenue": 0,
"type": "string",
"year": 0
},
"licenses_count": 0,
"registration_number": "string",
"risks": [
{
"active": true,
"category": "string",
"description": "string",
"details": [
{}
],
"severity": "low",
"source": "string",
"subject_name": "string",
"subject_type": "head",
"title": "string"
}
],
"status": "string"
}
],
"page": 0,
"per_page": 0,
"total_count": 0
}