API docs

Metadata (Beta)

Get beta metadata for a company.

Returns beta/experimental metadata for the specified company. This endpoint provides access to new data fields that are being tested before general availability.

Endpoint

GET /api/v1/companies/:company_id/meta/beta

Parameters

ParameterTypeInDescription
company_idintegerpathThe unique identifier of the company.

Code Examples

Get beta metadata

import requests

url = 'https://statsnet.co/api/v1/companies/12345/meta/beta'
headers = {
  'Authorization': 'Bearer sk_live_YOUR_KEY',
  'Content-Type': 'application/json'
}

response = requests.get(url, headers=headers).json()
print(response)

Response

The response body has no {"ok": ...} envelope. Top-level keys: company, seo, alternatives, risks, relations, meta, contacts_summary. Company contacts, shareholders and capital values are stripped from this public shell — the contacts_summary block carries typed counts instead.

Success response

{
  "company": {
    "id": 58725961,
    "identifier": "302233483",
    "title": "Company Name LLC",
    "name": "Company Name LLC",
    "name_en": "Company Name LLC",
    "legal_form": "llc",
    "jurisdiction": "kz",
    "status": "Active",
    "inactive": false,
    "addresses": [],
    "identifiers": [{ "type": "bin", "value": "302233483" }],
    "officers": [],
    "financials": [],
    "state": "ALMATY",
    "aggregate_meta": {},
    "incorporation_date": "2018-04-12T00:00:00Z",
    "created_at": "2021-01-14T00:06:22.439Z",
    "updated_at": "2021-01-15T13:24:54.248Z"
  },
  "seo": {
    "title": "Company Name LLC — company profile",
    "description": "Company details, officers and financials",
    "keywords": "Company Name LLC, 302233483"
  },
  "alternatives": [],
  "risks": { "company": [], "shareholders": [], "officers": [], "all": [] },
  "relations": [
    { "connection": "shareholders", "count": 6 },
    { "connection": "officers", "count": 6 },
    { "connection": "contacts", "count": 3 }
  ],
  "meta": {
    "events": 0,
    "contacts": 3,
    "subsidiaries": 0,
    "quasi_contracts": 0,
    "contracts": 2,
    "gov_contracts": 2,
    "activities": 4,
    "court_cases": 0
  },
  "contacts_summary": { "phones": 2, "emails": 1, "websites": 1, "total": 4 }
}

Error Handling

Errors are returned as {"status": <HTTP code>, "message": "<text>"}.

Error response

{
  "status": 404,
  "message": "not found"
}