Skip to content
← All guides

Data and Brreg

The Brreg API: a practical introduction

Sources last checked:

The Central Coordinating Register for Legal Entities has an open REST API that needs no key. It is enough to build simple lists yourself. Here is what you need to get started.

Basic searches

The endpoint for entities is data.brreg.no/enhetsregisteret/api/enheter. You can filter with parameters such as organisasjonsform (organisation form), naeringskode (industry code), kommunenummer (municipality number) and fraStiftelsesdato/tilStiftelsesdato (incorporation date range). The response is JSON with a list and a page object containing totalElements.

  • Example: organisasjonsform=AS&naeringskode=69.2&kommunenummer=0301 returns private limited companies with the accounting industry code in Oslo.
  • The industry code matches from the start, so 43 returns every code beginning with 43.
  • You can give several municipalities, separated by commas.

Pagination and limits

Use size and page to move through results. The documentation describes a limit on how deep you can page within one search. Split large searches up, for example month by month on incorporation date, rather than paging through everything.

Keep the data up to date

The API has separate endpoints for updates, so you can fetch changes since your last run instead of downloading everything again. Store the time of your most recent fetch.

Licence and personal data

The data is open under NLOD, the Norwegian Licence for Open Government Data. Roles, and the owners of sole proprietorships, are personal data, and using them needs a lawful basis under the GDPR. See the guide on GDPR and Brreg data.

When a tool pays off

The API gives you raw data. Scoring, accounts, website analysis, duplicate checks and sending rules you have to build yourself. That is what LeadResearch does for you.

Sources

Read more