Hoppa till innehåll
Menu and API reference

API reference

Change feed

Continuously retrieve new records for whichever dataset you want to monitor.

GET /api/v1/changes
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.

DatasetRecords in the feedNew rows can appearScope
insider_transactionsPDMR transactionsEvery minutemarket
short_positionsShort position observationsEvery three minutesmarket
trademarks_filedNewly filed trademark applicationsOn import, no promised cadencetrademarks
new_companiesNewly registered active companiesHourlycompanies
insolvencyBankruptcies, liquidations, reorganisationsWeekly, Mondayscompanies

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_cursor until has_more is false.
  • 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.

NameTypeWhat 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.

Request
curl "https://firmainfo.se/api/v1/changes?dataset=new_companies&after=2026-08-01&limit=1" \
  -H "Authorization: Bearer $FIRMAINFO_API_KEY"
Response
{
  "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.

Continue here