Markdown endpoint, SDKs and the OpenAPI spec
Quick answer. Statsnet returns JSON from its REST API and Markdown from a dedicated public company endpoint. It publishes Python, JavaScript and Go SDKs, an OpenAPI 3.1 spec, a Swagger UI and an api.md page. Pick Markdown for language models and JSON for code that stores fields.
Markdown or JSON
GET /companies/{jurisdiction}/{identifier}/md returns a public company card in Markdown. It suits a model that will read and summarise, and Statsnet describes it as convenient for AI agents. JSON suits a lien worksheet that needs fields in columns: the free /companies/{id}/meta/beta profile or the paid /companies/{id}/paid profile.
SDKs
Python: pip install statsnet-python-sdk, source at github.com/statsnet/python-sdk. JavaScript: github.com/statsnet/js-sdk. Go: github.com/statsnet/gosdk. The READMEs carry the method names; follow them rather than examples copied from elsewhere.
Spec and docs for tooling
The OpenAPI 3.1 spec is the contract for paths, parameters and responses, and the Swagger UI lets you try calls by hand. statsnet.co/api.md is a plain-Markdown description of the API that a coding agent can read in one go.
For a Texas lien product, keep the spec version with your code and the raw responses with each file. When a reviewer asks how a debtor name was chosen, the stored Statsnet response answers it.
Example requests
curl "https://statsnet.co/api/v1/companies/kz/000740000728/md" git clone https://github.com/statsnet/gosdk