Hoppa till innehåll
Menu and API reference

API reference

Metadata

Retrieve code tables, field definitions and estimated data coverage.

GET /api/v1/metadata/…
Access
Public resource
Cost
Free, and no API key needed

Fetch code values on demand, or synchronise them locally. Either way the integration keeps working when the tables gain new values.

PathWhat you get
/metadata/legal-formsLegal forms such as AB, HB, KB, EK, BRF and E
/metadata/company-statusesPermitted status values for companies
/metadata/role-typesRole and position types
/metadata/proceeding-codesCodes and labels for insolvency proceedings
/metadata/trademark-statusesPermitted status values for trademarks
/metadata/sni-codes?level=1..5SNI industry codes at the chosen level
/metadata/financial-fieldsWhich fields are included at each detail level
/metadata/data-coverageEstimated row count and freshness per dataset

Request and response

The example shows a request against the production environment and a successful response.

Request
curl "https://firmainfo.se/api/v1/metadata/data-coverage"
Response
{
  "precision": "estimate",
  "datasets": {
    "companies": { "rows": 3542541 },
    "annual_reports": { "rows": 3047359 },
    "workplaces": { "rows": 1418910 },
    "roles": { "rows": 1197311 },
    "insider_transactions": { "rows": 164768, "newest_record": "2026-08-12T19:58:39+00:00" },
    "short_positions": { "rows": 38621, "newest_record": "2026-08-12" },
    "trademarks": { "rows": 600383 },
    "trademark_events": { "rows": 6553121 }
  }
}

Continue here