Skip to content
UCC Liens Search Check a debtor
On this page
  1. Steps
  2. Responses to expect
  3. SDKs and accounting
  4. Example requests
  5. Sources reviewed

Statsnet sample requests for lien search preparation

Quick answer. The Statsnet REST API lives at https://statsnet.co/api/v1 and returns JSON. Authenticate search and paid calls with x-api-key: sk_live_…; public routes need no key. The samples below search a name, read a public Markdown card, list relations and request a bulk export.

Steps

  1. Browse the spec

    Swagger UI and openapi.json list every parameter.

  2. Run a broad search

    Leave filters off first to see same-name companies in other jurisdictions.

  3. Narrow and confirm

    Add the jurisdiction filter and confirm on the state register.

  4. Pull relations

    Add affiliates and prior names to the search plan.

Responses to expect

Statsnet answers 200 on success, 401 for a missing or invalid key, 402 for an inactive subscription, 403 for an endpoint outside the plan, 404 for no match and 429 for quota or rate limiting. A 404 on search says nothing about liens; it only means Statsnet did not match that string.

Why run the first search without filters? Because a name that looks unique in one state often has twins elsewhere, and those twins are exactly the companies a careless lien search confuses with the debtor. Seeing them early lets you decide whether a variant will pull in filings that belong to someone else, and lets the report explain why certain names were left out.

SDKs and accounting

Install the Python SDK with pip install statsnet-python-sdk; JavaScript and Go SDKs are at github.com/statsnet/js-sdk and github.com/statsnet/gosdk. Each paid request on a new company counts as one report from the plan, with repeats on that company free for 14 days. The export body format is documented in the Statsnet API reference.

Example requests

Search with a jurisdiction filter
curl -X POST "https://statsnet.co/api/v1/companies/search?limit=25" \
  -H "x-api-key: sk_live_YOUR_KEY" -H "Content-Type: application/json" \
  -d '{"query": "Pinecrest Mechanical", "filters": {"jurisdiction": ["<code from openapi.json>"]}}'
Public Markdown card
curl "https://statsnet.co/api/v1/companies/kz/000740000728/md"
Relations
curl -H "x-api-key: sk_live_YOUR_KEY" "https://statsnet.co/api/v1/companies/{id}/relations"
Bulk export (paid)
curl -X POST "https://statsnet.co/api/v1/export" -H "x-api-key: sk_live_YOUR_KEY" -H "Content-Type: application/json" -d @filters.json

Sources reviewed