Skip to content
Entity Search Co Check a name
On this page
  1. Steps
  2. Before you write code
  3. Reading the status codes
  4. Example requests
  5. Sources reviewed

First requests against the Statsnet API

Quick answer. Start keyless: fetch a Markdown company profile and resolve a national identifier to an internal ID. Then create a key (sent as x-api-key), call POST /companies/search, and fetch the paid profile or relations. Python, JavaScript and Go SDKs wrap the same REST base at statsnet.co/api/v1.

Steps

  1. Fetch a keyless profile

    Call the Markdown endpoint with a jurisdiction code and identifier to see the shape of a public card.

  2. Resolve an internal ID

    Use /companies/get_id/{jurisdiction}/{identifier} so later calls can use /companies/{id}/… routes.

  3. Search with a key

    POST a query and a jurisdiction filter to /companies/search; set limit for page size.

  4. Go deeper where it matters

    Call /paid or /relations only for companies you will actually review, since each counts as a report.

Before you write code

Open the Statsnet API documentation and the OpenAPI 3.1 spec at statsnet.co/api/v1/openapi.json. Generating a client from the spec beats hand-typing field names. Statsnet allows up to 10 keys per account, and each key inherits the owner’s subscription, so give staging and production their own keys.

There is no separate API plan. Public endpoints are free and rate limited; paid endpoints need a key plus an active subscription, and one paid request per company counts as one report, with repeats inside 14 days free.

Reading the status codes

Statsnet answers 401 when the key is missing or invalid, 402 when the subscription is inactive, 403 when the endpoint is not on your plan, 404 when nothing matches and 429 when you hit a quota or rate limit. Back off on 429; do not retry 402 or 403 in a loop, because no retry will change a plan.

Example requests

Markdown profile (public, no key)
curl "https://statsnet.co/api/v1/companies/kz/000740000728/md"
Internal ID from a national identifier (public)
curl "https://statsnet.co/api/v1/companies/get_id/uz/{identifier}"
Search with a key
curl -X POST "https://statsnet.co/api/v1/companies/search?limit=20" \
  -H "x-api-key: sk_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "Altyn Dala", "filters": {"jurisdiction": ["kz"]}}'
Relations for a company (paid)
curl -H "x-api-key: sk_live_YOUR_KEY" "https://statsnet.co/api/v1/companies/{id}/relations"
SDKs
pip install statsnet-python-sdk
# JavaScript: github.com/statsnet/js-sdk
# Go: github.com/statsnet/gosdk
MCP in Claude Code
claude mcp add --transport http statsnet https://statsnet.co/mcp --header "Authorization: Bearer sk_live_YOUR_KEY"

Sources reviewed