API docs

Business licenses (US)

Get state business and professional licenses of a US company.

Returns state business and professional licenses matched by the company's legal name. row carries the source license fields (type, status, expiry). For licenses of Kazakhstan companies use Licenses. Non-US companies return an empty list.

Endpoint

GET /api/v1/companies/:company_id/us-licenses

Find the company_id with Search (POST /api/v1/companies/search with "filters": {"jurisdiction": ["us-de"]}) or resolve a state entity number with GET /api/v1/companies/get_id/:jurisdiction/:identifier (e.g. us-de, 5600000).

Parameters

ParameterTypeInDescription
company_idintegerpathNumeric Statsnet id of a US company (from search or get_id).
pageintegerqueryPage number (default: 1).
limitintegerqueryRecords per page (default: 100).

Code Examples

Get US licenses

curl "https://statsnet.co/api/v1/companies/10000913141092/us-licenses" \
  -H "x-api-key: sk_live_YOUR_KEY"

Response

Success response

{
  "records": [
    {
      "category": "licenses",
      "state": "FL",
      "number": "CGC1530011",
      "date": "2021-06-30",
      "name": "ACME HOLDINGS LLC",
      "row": {
        "license_type": "Certified General Contractor",
        "status": "Current"
      }
    }
  ],
  "total": 1
}

Error Handling

Error response

{
  "status": 403,
  "message": "access denied"
}

This endpoint can also return {"status": 402, "message": "payment required"} when the subscription is canceled or expired, and {"status": 429, "message": "quota exhausted"} when the plan’s report quota for the current period is used up.