Integrations · REST API

Statsnet API — company data over REST

The Statsnet REST API gives you programmatic access to the same data as the website: company profiles for Kazakhstan, Kyrgyzstan and Uzbekistan, contacts, government contracts, relations and risks. The API base is `https://statsnet.co/api/v1`; responses are JSON.

  1. API key from your account
  2. Request to /api/v1
  3. Plan report accounting
  4. JSON with company data

Quick start

Public endpoints work without a key. Fetch a company profile by BIN with a single request:

curl "https://statsnet.co/api/v1/companies/kz/000740000728/meta/beta"

For paid data, create an API key in your account and pass it in the x-api-key header:

curl "https://statsnet.co/api/v1/companies/123/contacts" \
  -H "x-api-key: sk_live_YOUR_KEY"

Authentication and keys

Requests are signed with the x-api-key header carrying a value like sk_live_.... Keys are created in your account — up to 10 keys per account.

A key inherits its owner's subscription: without an active paid plan the key only reaches public endpoints. Paid endpoints consume the report quota of your plan — the same way viewing profiles on the website does. Keep the key on your server and never ship it in client-side code or shared repositories.

Public endpoints

Available without a key or subscription:

Method and pathDescription
GET /companies/{id}/meta/betaCompany profile by internal ID (JSON)
GET /companies/{jurisdiction}/{identifier}/meta/betaProfile by BIN/IIN; jurisdictions: kz, uz, kg
GET /companies/{jurisdiction}/{identifier}/mdCompany profile as Markdown — convenient for AI agents
GET /companies/states/{jurisdiction}List of regions for a jurisdiction

Require a key with an active subscription. Requesting a full profile spends one report; repeat requests for the same company within 2 weeks are free.

Method and pathDescription
GET /companies/{id}/paidFull company profile
GET /companies/{id}/contactsContacts (phones, emails, websites)
GET /companies/{id}/gov-contractsGovernment contracts
GET /companies/{id}/quasi_contractsQuasi-government sector contracts
GET /companies/{id}/relationsRelations graph: shareholders, officers, affiliated companies
GET /individuals/{identifier}Individual profile by IIN
POST /exportBulk company exports by filters (Excel)

Company search by name and filters is available via POST /business/search (parameters query, jurisdiction, limit — from 1 to 500).

Request accounting and limits

  • One paid request per company = one report from your plan quota.
  • A repeat request for the same company within 14 days does not spend quota.
  • The number of reports depends on your plan — see pricing.
  • Public endpoints don't consume quota but are rate limited.

Response codes

CodeMeaning
200Successful request
401Key missing or invalid
402Subscription inactive — paid endpoint unavailable
403Resource not accessible on the current plan
404Company or resource not found
429Period quota exhausted or rate limit exceeded

SDKs and libraries

Official SDKs cover the main endpoints so you don't hand-roll HTTP:

Python example:

from statsnet_python_sdk import Client

client = Client("sk_live_YOUR_KEY")
companies = client.search(query="kazpost", jurisdiction="kz", limit=5)
company = client.get_company("kz", companies[0]["id"])

Specification and AI integrations

How much does API access cost?

There is no separate API plan: a key inherits your Statsnet subscription. Public endpoints are free; paid ones spend your plan's reports — prices and limits are on the pricing page. For banks, fintech and high-volume use cases we offer bulk exports and custom limits — reach out via the contact form.

How do I get an API key?

Sign up on Statsnet, open your account and create a key in the API section. One account can hold up to 10 keys — for example, separate keys for staging and production.

Which jurisdictions are available through the API?

Kazakhstan (kz), Uzbekistan (uz) and Kyrgyzstan (kg). The data set depends on the jurisdiction: Kazakhstan has the richest coverage (financials, government contracts, risks, relations).

How is the API different from the MCP server?

The API is classic REST for integrations with a predefined scenario: your system decides which endpoints to call and when. The MCP server serves the same data to AI assistants, which pick tools themselves based on the user's question. The key and request accounting are shared.