First call: entity status from the Statsnet API
Quick answer. Call POST /companies/search at statsnet.co/api/v1 with an x-api-key header, read the candidate, then fetch its public profile. Public endpoints need no key and are rate limited; paid ones need an active subscription. Statsnet maintains a Go SDK at github.com/statsnet/gosdk, and the example below uses the standard library.
Steps
-
Create a key
Up to 10 per account, each inheriting the owner’s subscription.
-
Search the license holder
Use the name the board shows and a jurisdiction filter.
-
Confirm on the card
Name, address and status should fit the license record.
-
Store the ID
Use it for every later status check.
Errors a status job should handle
Statsnet returns 401 for a missing or invalid key, 402 when the subscription is inactive, 403 when the endpoint is not on the plan, 404 when the company is not found and 429 for quota or rate limits. Treat 404 as a manual-review case. Back off on 429.
Each paid company request is one report; the same company again within 14 days is free. The Statsnet API documentation and the OpenAPI 3.1 file define the response shape. Python and JavaScript SDKs are also available.
Example requests
body := strings.NewReader(`{"query": "holder name", "filters": {"jurisdiction": ["kz"]}}`)
req, _ := http.NewRequest("POST", "https://statsnet.co/api/v1/companies/search?limit=5", body)
req.Header.Set("x-api-key", os.Getenv("STATSNET_KEY"))
req.Header.Set("Content-Type", "application/json")
resp, err := http.DefaultClient.Do(req) curl "https://statsnet.co/api/v1/companies/kz/{identifier}/md"