API reference
Metadata
Retrieve code tables, field definitions and estimated data coverage.
- 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.
| Path | What you get |
|---|---|
/metadata/legal-forms | Legal forms such as AB, HB, KB, EK, BRF and E |
/metadata/company-statuses | Permitted status values for companies |
/metadata/role-types | Role and position types |
/metadata/proceeding-codes | Codes and labels for insolvency proceedings |
/metadata/trademark-statuses | Permitted status values for trademarks |
/metadata/sni-codes?level=1..5 | SNI industry codes at the chosen level |
/metadata/financial-fields | Which fields are included at each detail level |
/metadata/data-coverage | Estimated row count and freshness per dataset |
Request and response
The example shows a request against the production environment and a successful response.
curl "https://firmainfo.se/api/v1/metadata/data-coverage"
{
"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 }
}
}