First screening calls against the Statsnet API
Quick answer. Start with the free Markdown card, map an identifier to a Statsnet ID, then call /relations on a key with an active subscription. The base URL is https://statsnet.co/api/v1, authentication is an x-api-key header, and the full contract is published as OpenAPI 3.1.
Steps
-
Read the card
Call the Markdown endpoint to confirm you have the right company.
-
Pin the ID
Store the Statsnet ID returned by get_id or search.
-
Pull relations
Request /relations and queue every person and parent for the next checks.
-
Record the gaps
Note sanctions screening as pending until it runs on OFAC’s search.
Before the first request
Public endpoints need no key and are rate limited without a quota, so the first two samples below run as they are. Paid endpoints need a key starting with sk_live_ and an active subscription; an account can hold up to 10 keys, which lets you separate a screening service from a back-office script.
Statsnet publishes its contract as OpenAPI 3.1 with a Swagger viewer, and maintains SDKs for Python (statsnet-python-sdk), JavaScript and Go. Generate a client from the spec if your stack is not covered.
Reading the responses
A screening job should branch on status codes rather than parse error text. 401 means the key is missing or invalid, 402 that the subscription lapsed, 403 that the endpoint is outside the plan, 404 that the company was not found, and 429 that a quota or rate limit was hit. Log a 404 on a relations call as “no relations data returned”, not as “no owners”.
Statsnet counts one report per company for paid calls, and repeats on the same company within 14 days are free. Fetching the profile and relations for one subject in the same session therefore costs a single report.
Example requests
curl "https://statsnet.co/api/v1/companies/uz/302936161/md" curl "https://statsnet.co/api/v1/companies/get_id/kz/190340012345" curl -X POST "https://statsnet.co/api/v1/companies/search?limit=10" \
-H "x-api-key: sk_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "Caspian Freight", "filters": {"jurisdiction": ["kz"]}}' curl -H "x-api-key: sk_live_YOUR_KEY" \
"https://statsnet.co/api/v1/companies/STATSNET_ID/relations" curl -H "x-api-key: sk_live_YOUR_KEY" \
"https://statsnet.co/api/v1/companies/individuals/INDIVIDUAL_IDENTIFIER" pip install statsnet-python-sdk