Statsnet SDKs, OpenAPI spec and machine-readable docs
Quick answer. Statsnet publishes SDKs for Python, JavaScript and Go, an OpenAPI 3.1 spec at statsnet.co/api/v1/openapi.json, a Swagger UI and a machine-readable api.md page. Use the spec as the source of truth for paths, parameters and jurisdiction codes.
Libraries
The Python SDK installs with pip install statsnet-python-sdk and lives at github.com/statsnet/python-sdk. The JavaScript SDK is at github.com/statsnet/js-sdk and the Go SDK at github.com/statsnet/gosdk. Read each repository’s README for method names; this site does not reproduce them, because they can change between releases.
Specs and generated clients
The OpenAPI 3.1 document describes every path, including the public ones that need no key. Teams with their own HTTP layer can generate a typed client from it. The Swagger UI is handy for trying a request by hand before writing code.
For AI tooling, statsnet.co/api.md presents the API as plain Markdown. A coding agent can read it in one pass and write a client without scraping web pages.
Pinning versions
Lien files are evidence. Pin the SDK version you used, store the raw JSON response with the file, and note the date. If Statsnet changes a field later, you can still show what it said on the day.
The same goes for the spec. Save a copy of openapi.json alongside the code that relies on it, and diff it when you upgrade. A renamed field in a relations response is easier to catch in a spec diff than in a lien file that suddenly lists no officers.
Example requests
pip install statsnet-python-sdk curl -o statsnet-openapi.json "https://statsnet.co/api/v1/openapi.json"