Skip to contents

Available Data

List available data categories for a company.

View as Markdown

Returns counts of available data records across different categories for the specified company.

Endpoint

Parameters

ParameterTypeInDescription
company_idintegerpathThe unique identifier of the company.

Code Examples

Get available data

Response

The response body has no {"ok": ...} envelope: top-level keys are the record arrays per category plus a meta object with per-category counts. The arrays are populated only when the company view has been purchased (otherwise they come back empty/null); the counts in meta are always present.

Success response
FieldTypeDescription
bank_accounts, stores, certs, debtors, jobs, quasi_contracts, places, states, pos_terminals, domains, scoring, gov_loans, trademarks, counterparties, kaspi_shops, rights, farmers, fieldsarrayRecord lists per data category.
assetsarrayAsset types derived from tax data (vehicle, realty, land plot).
counterparties_countintegerNumber of counterparty records.
metaobjectPer-category record counts (*_count).

Error Handling

Errors are returned as {"status": <HTTP code>, "message": "<text>"}.

Error response