API reference
Change feed
Continuously retrieve new records for whichever dataset you want to monitor.
- Access
-
Scope
Samma scope som vald datamängd - Cost
- 1 unit per row in the response
Every dataset uses the same response shape and shows the most recent observations first. The key needs the same scope as the chosen dataset's ordinary endpoints.
| Dataset | Records in the feed | New rows can appear | Scope |
|---|---|---|---|
insider_transactions | PDMR transactions | Every minute | market |
short_positions | Short position observations | Every three minutes | market |
trademarks_filed | Newly filed trademark applications | On import, no promised cadence | trademarks |
new_companies | Newly registered active companies | Hourly | companies |
insolvency | Bankruptcies, liquidations, reorganisations | Weekly, Mondays | companies |
The column says how often the dataset can actually change. A polling interval shorter than that returns empty responses, not fresher data.
A safe way to poll
-
Start with
?dataset=…&after=YYYY-MM-DD. -
Continue with
next_cursoruntilhas_moreisfalse. - Save the last cursor when the run finishes, and use it next time.
-
A cursor is valid for 24 hours. If it has expired, start again with
after.
Parameters
Parameters not marked as required may be omitted.
| Name | Type | What the field does |
|---|---|---|
dataset
Required
|
string | Choose one of the datasets in the table. |
after
|
date | Include only records from this date onwards. |
limit
|
integer |
Rows per page, from 1 to 200.
Default: 100
|
cursor
|
string |
Continue from next_cursor in the previous response.
|
Request and response
The example shows a request against the production environment and a successful response.
curl "https://firmainfo.se/api/v1/changes?dataset=new_companies&after=2026-08-01&limit=1" \
-H "Authorization: Bearer $FIRMAINFO_API_KEY"
{
"dataset": "new_companies",
"data": [
{
"id": "5595971499",
"name": "TM Industri AB",
"registration_number": "559597-1499",
"legal_form": "AB",
"registration_date": "2026-08-11",
"city": "MALMÖ",
"sni_primary": "43210"
}
],
"has_more": true,
"next_cursor": "MjAyNi0wOC0xMXw1NTk1OTcxNDk5"
}
Good to know
-
Sole traders are not included in
new_companies. New registrations of companies based on a personal identity number are not distributed in bulk feeds.