Skip to content
Federal Lien Search Check for liens
On this page
  1. Steps
  2. Reading the response codes
  3. Example requests
  4. Sources reviewed

Quickstart: first Statsnet calls for a lien file

Quick answer. Read a public Markdown profile with no key, create a key on a Statsnet plan, search the business by name, then call the paid profile and relations endpoints on the internal ID. Each paid company counts once against the plan quota, and a repeat within 14 days is free.

Steps

  1. Try a public profile

    The Markdown endpoint needs no key. The documented example uses a Kazakhstan identifier.

  2. Create a key

    Keys look like sk_live_... and inherit the owner subscription. An account can hold up to 10.

  3. Search by name

    POST /companies/search with a query and a jurisdiction filter taken from the spec.

  4. Fetch relations

    GET /companies/{id}/relations lists shareholders, officers and affiliated companies.

Reading the response codes

Statsnet answers 401 when the key is missing or wrong, 402 when the subscription is inactive, 403 when the endpoint is not on the plan, 404 when the company is not found and 429 when a quota or rate limit is hit. Log the code with the request so a reviewer can tell a not-found from a billing problem.

Field names live in the OpenAPI 3.1 spec and the Swagger UI. Generate a client from the spec, or install the Statsnet Python, JavaScript or Go SDK, rather than guessing field names from a single response.

Example requests

Public Markdown profile (no key)
curl "https://statsnet.co/api/v1/companies/kz/000740000728/md"
Name search
curl -X POST "https://statsnet.co/api/v1/companies/search?limit=10" \
  -H "x-api-key: $STATSNET_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "Example Holdings LLC", "filters": {"jurisdiction": ["$JURISDICTION"]}}'
Relations for a matched ID
curl -H "x-api-key: $STATSNET_KEY" "https://statsnet.co/api/v1/companies/$ID/relations"

Sources reviewed