Documentation for Open Data from the Central Coordinating Register for Legal Entities (CCR) (2.0.0)

Download OpenAPI specification:Download

Welcome to the API documentation for Open Data from The Central Coordinating Register for Legal Entities (CCR). Here you will find a technical description of all the REST services in the API, as well as examples of both HTTP requests and responses (Note that the entities provided in the documentation are not real).

See change log

Swagger UI

Klikk her for Norsk versjon

Overview of services

HTTP Verb API Endpoint Description
GET /api (Root) Lists links to other services
GET /api/enheter Search for entities
GET /api/enheter/{orgnr} Fetch a specific entity
GET /api/enheter/{orgnr}/roller Fetch all roles for a specific entity
GET /autorisert-api/enheter/{orgnr}/roller Fetch all roles for a specific entity, including personal identification numbers.
GET, HEAD /api/enheter/lastned Download entities in JSON format
GET, HEAD /api/enheter/lastned/csv Download entities in CSV format
GET, HEAD /api/enheter/lastned/regneark Download entities in XLSX format
GET /api/underenheter Search for sub-entities
GET, HEAD /api/underenheter/{orgnr} Fetch a specific sub-entity
GET, HEAD /api/underenheter/lastned Download sub-entities in JSON format
GET, HEAD /api/underenheter/lastned/csv Download sub-entities in CSV format
GET, HEAD /api/underenheter/lastned/regneark Download sub-entities in XLSX format
GET /api/oppdateringer/enheter Fetch updated entities
GET /api/oppdateringer/underenheter Fetch updated sub-entities
GET /api/oppdateringer/roller Fetch role updates
GET /api/organisasjonsformer Fetch all forms of organisation
GET /api/organisasjonsformer/enheter Fetch forms of organisation for entities
GET /api/organisasjonsformer/underenheter Fetch forms of organisation for sub-entities
GET /api/organisasjonsformer/{orgkode} Fetch a given form of organisation
GET /api/roller/totalbestand Download total inventory of roles for all entities
GET /api/roller/rolletyper Fetch role types
GET /api/roller/rollegruppetyper Fetch role group types
GET /api/roller/representanter Fetch representatives
GET /api/matrikkelenhet Fetch a given cadastral unit
GET /partiregisteret/api/lastned/csv Download total inventory of entities from The Register of Political Parties in csv format
GET /frivillighetsregisteret/api/frivillige-organisasjoner Search for non-profit organisations
GET /frivillighetsregisteret/api/frivillige-organisasjoner/{orgnr} Get one non-profit organisations
GET /frivillighetsregisteret/api/frivillige-organisasjoner/totalbestand/csv Download total inventory of entities from The Register of Non-Profit Organisations in csv format
GET /frivillighetsregisteret/api/icnpo-kategorier Get ICNPO categories
GET /frivillighetsregisteret/api/informasjonstyper Get information types in the Register of Non-Profit Organisations

Dictionary

Central Coordinating Register for Legal Entities (CCR)

A registry of basic data about legal persons and other entities. The CCR assigns organisation numbers for unique identification of entities.


Organisation Number

Nine-digit number that uniquely identifies entities in the CCR.


Entity

The top-level unit in the registration structure of the CCR.
Examples include sole proprietorships, associations, companies, condominiums, and others that are registered in the CCR.
Identified by organisation number.


Sub-entity

The lowest level unit in the registration structure of the CCR.
A sub-entity cannot exist alone and is always connected to a main unit.
Identified by organisation number.


Type of organisation

The formal organisation of a business, which provides guidelines regarding liability, taxes, audit obligations, rights and obligations.


Industrial Code

Some businesses have both a standard industrial code and a support unit code.
In these cases, the standard industrial codes should be presented first with code and text.
The support unit code is then shown as text, without a code - with the addition of the text "Provides services to its own group."

Example:

11.050 Production of beer
11.070 Production of mineral waters, soft drinks, and other bottled waters

Wholesale of beverages otherwise:
Provides services to its own group

See Industrial codes at brreg.no
Standard for Business Grouping can be found at ssb.no


Municipality and Geographical Area Division

The entity's business address, postal address, or location address is linked to a municipality or a geographical area division.
From January 1, 2019, the areas Spitsbergen, Bjørnøya, and Hopen will be included in the geographical area division Svalbard area, with code 2100.

Overview of municipalities and geographical area divisions can be found at Standard for Municipal Division and Standard for Regional Special Codes from SSB.


Cadastral Unit

An object that is registered as a unit in the cadastre.
Such cadastral units are primarily land properties, designated by land number and property units number, condominiums, or leasehold.


Support Unit

Support units are entities that only provide group- or enterprise-internal services and are classified with the same industrial code as the units they serve.
They are assigned an alternative industrial code - support unit code - which indicates the type of service performed.


Role

Roles refer to the relationships an entity can have with natural persons or other entities in the CCR.


Role Type

Code list/enum.
Role type further describes the role object.
The fields in the object can vary for different role types.

Examples:

INNH (sole proprietor) registered as a person with a date of birth in a sole proprietorship.
REVI (auditor) registered as an entity with an organisation number.


Role Group

A role group is a logical collection of roles that can be grouped together.


Role Group Type

Code list/enum.
A role group type tells which roles are included in a role group.

For example:

BOARD is a role group for these roles: Chair of the board, deputy chair of the board, board member, deputy board member, and observer.


Representative

Code list/enum.
Representative shows whom the person represents on the board. It can be either the employees, A-, B-, or C-shareholders.

Media typer

Most services respond with JSON, in the HAL format (Hypertext Application Language). The exception is the download services, which result in GZIP-compressed JSON without HAL.

Media Types (Entity) Comment
application/json;utf+8 Not versioned. Response from the latest version in HAL format
application/hal+json;utf+8 Not versioned. Response from the latest version in HAL format
application/vnd.brreg.enhetsregisteret.enhet.v2+json;charset=UTF-8 Explicit version 2. Response from version 2 in HAL format

See more about versioning in the section on Versioning.

Error handling

404 Not Found

If you make a request to an endpoint where the resource does not exist, even though the request is valid, you will receive a response with status 404 and no content.


400 Invalid Request

All endpoints have common validation for parameters.
If one or more parameters have an invalid value, you will receive a response with status code 400.
All invalid parameters will be listed, with an explanation of why.
Below is an example of a 400 response, with an invalid value for the organisation number.


    HTTP/1.1 400 Bad Request
    Vary: Origin
    Vary: Access-Control-Request-Method
    Vary: Access-Control-Request-Headers
    Content-Type: application/json
    Content-Length: 367
    {
      "timestamp" : 1622200011303,
      "status" : 400,
      "error" : "Invalid request",
      "path" : "/enhetsregisteret/api/enheter/9ECD01011/roller",
      "errorCount" : 1,
      "validationErrors" : [ {
        "errorMessage" : "The organisation number must be a number with exactly 9 digits",
        "parameters" : [ "9ECD01011" ],
        "incorrectValue" : "9ECD01011"
      } ]
    }
    

500 Server Error

All endpoints have common error handling for unexpected errors. If an error occurs, you will receive a response with status code 500.
If you wish to report the error to us, it would be helpful if you also send us the trace from the response. This is a UUID that makes it easier for us to locate the logs from the failed request.
Below is an example of a 500 response:


    HTTP/1.1 500 Internal Server Error
    Vary: Origin
    Vary: Access-Control-Request-Method
    Vary: Access-Control-Request-Headers
    Content-Type: application/json
    Content-Length: 257 
    {
      "timestamp" : "2021-05-28T11:34:33.435+0000",
      "status" : 500,
      "error" : "Internal Server Error",
      "message" : "Internal Server Error",
      "path" : "/enhetsregisteret/api/enheter/999999999/roller",
      "trace" : "5631709a-6e3e-4b72-94e7-fcbf6341272a"
    }
    

Changelog

May 5, 2025

Endpoints

/api/enheter
/frivillighetsregisteret/api/frivillige-organisasjoner
/frivillighetsregisteret/api/frivillige-organisasjoner/{organisasjonsnummer}
/frivillighetsregisteret/api/frivillige-organisasjoner/totalbestand/csv
/frivillighetsregisteret/api/icnpo-kategorier
/frivillighetsregisteret/api/informasjonstyper

Changes

February 26, 2025

Endpoints

/api/enheter
/api/enheter/{orgnr}
/api/enheter/lastned
/api/enheter/lastned/csv
/api/enheter/lastned/regneark
/api/underenheter

Changes

  • Add new response fields in JSON, CSV, Excel, and API
    • paategninger (in Excel and CSV, this will be represented as YES/NO)
    • registreringsnummerIHjemland (applies to type of organisation UTLA)
  • Add new query parameters
    • /api/enheter:
      • "navnMetodeForSoek": Search method for the navn parameter. The only supported value is FORTLOEPENDE. Example usage: navn=sesam stasjon&navnMetodeForSoek=FORTLOEPENDE
    • /api/underenheter:
      • "navnMetodeForSoek": Search method for the navn parameter. The only supported value is FORTLOEPENDE. Example usage: navn=sesam stasjon&navnMetodeForSoek=FORTLOEPENDE
October 5, 2024

Endpoints

/api/enheter
/api/enheter/{orgnr}
/api/enheter/lastned
/api/enheter/lastned/regneark
/api/underenheter
/api/underenheter/{orgnr}
/api/underenheter/lastned
/api/underenheter/lastned/regneark

Changes

  • Remove V1 from search and total stock endpoints.
October 3, 2024

Endpoints

/api/enheter
/api/underenheter
/partiregisteret/api/lastned/csv
/frivillighetsregisteret/api/lastned/csv

Changes

  • Add new response fields in json, csv, excel and api
    • /api/enheter:
      • epostadresse
      • telefon
      • mobil
      • registreringsdatoForetaksregisteret
      • registreringsdatoFrivillighetsregisteret
      • registreringsdatoMerverdiavgiftsregisteret
      • registreringsdatoMerverdiavgiftsregisteretEnhetsregisteret
      • registreringsdatoFrivilligMerverdiavgiftsregisteret
      • registreringsdatoPartiregisteret
      • registrertIPartiregisteret
      • registreringsdatoAntallAnsatteNAVAaregisteret
      • registreringsdatoAntallAnsatteEnhetsregisteret
    • /api/underenheter
      • epostadresse
      • telefon
      • mobil
      • registreringsdatoMerverdiavgiftsregisteret
      • registreringsdatoMerverdiavgiftsregisteretEnhetsregisteret
      • registreringsdatoFrivilligMerverdiavgiftsregisteret
      • registreringsdatoAntallAnsatteNAVAaregisteret
      • registreringsdatoAntallAnsatteEnhetsregisteret
  • Add new query parameters
    • /api/enheter:
      • "fraRegistreringsdatoMerverdiavgiftsregisteret". Filter entities on earliest registration date in the VAT register.
      • "tilRegistreringsdatoMerverdiavgiftsregisteret". Filter entities on latest registration date in the VAT register.
      • "fraRegistreringsdatoForetaksregisteret". Filter entities on earliest registration date in the Register of Business Enterprises.
      • "tilRegistreringsdatoForetaksregisteret". Filter entities on latest registration date in the Register of Business Enterprises.
      • "fraRegistreringsdatoFrivillighetsregisteret". Filter entities on earliest registration date in the Register of Non-Profit Organisations.
      • "tilRegistreringsdatoFrivillighetsregisteret". Filter entities on latest registration date in the Register of Non-Profit Organisations.
      • "fraRegistreringsdatoPartiregisteret". Filter entities on earliest registration date in the Register of Political Parties.
      • "tilRegistreringsdatoPartiregisteret". Filter entities on latest registration date in the Register of Political Parties.
      • "registrertIPartiregisteret": Filter entities that are registered in the Register of Political Parties.
    • /api/underenheter:
      • "fraRegistreringsdatoMerverdiavgiftsregisteret". Filter entities on earliest registreringsdato i VAT register.
      • "tilRegistreringsdatoMerverdiavgiftsregisteret". Filter entities on latest registreringsdato i VAT register.
  • Add new endpoints for download of total inventory
July 4, 2024

Endpoints

/api/enheter/lastned/csv
/api/underenheter/lastned/csv

Changes

  • Replace /n with line breaks in forretningsadresse.adresse, beliggenhetsadresse.adresse og postadresse.adresse
June 17, 2024

Endpoints

/autorisert-api/enheter/{orgnr}/roller

Changes

  • New endpoint for retrieving roles that includes personal identification numbers. This endpoint is secured with Maskinporten. Read more about this.
January 4, 2024

Endpoints

/api/enheter
/api/underenheter

Changes

New in version 1

  • Add new query parameters
    • "forretningsadresse.kommunenummer". Filter entities on business address only.
    • "beliggenhetsadresse.kommunenummer". Filter sub-entities on location address only.

New in version 2:

  • Add new query parameters
    • "forretningsadresse.kommunenummer". Filter entities on business address only.
    • "beliggenhetsadresse.kommunenummer". Filter sub-entities on location address only.
  • Chang query parameters
    • kommunenummer
    • Before: Filter entities/sub-entities on business/location addresss
    • Now: Filter entities/sub-entities on municipality number in postal address or business/location addresss.
November 21, 2023

Endpoints

/api/enheter
/api/enheter/{orgnr}
/api/enheter/lastned
/api/enheter/lastned/csv
/api/enheter/lastned/regneark

Changes

New in version 2:

  • Add new fields in json, csv, excel and api
    • underAvviklingDato
    • tvangsavvikletPgaManglendeSlettingDato
    • tvangsopplostPgaManglendeDagligLederDato
    • tvangsopplostPgaManglendeRevisorDato
    • tvangsopplostPgaManglendeRegnskapDato
    • tvangsopplostPgaMangelfulltStyreDato
September 13, 2023

Endpoints

/api/enheter
/api/enheter/{orgnr}
/api/enheter/lastned
/api/enheter/lastned/csv
/api/enheter/lastned/regneark
/api/underenheter
/api/underenheter/{orgnr}
/api/underenheter/lastned
/api/underenheter/lastned/csv
/api/underenheter/lastned/regneark

Changes

Change cells in csv files to contain full values for:

  • postadresse, forretningsadresse and frivilligMvaRegistrertBeskrivelser for entities
  • postadresse, beliggenhetsadresse and frivilligMvaRegistrertBeskrivelser for sub-entities

Introduced in version 2:

  • Change query parameters "fraAntallAnsatte" and "tilAntallAnsatte". It is not possible to search with numbers between 1-4. You will now get a 400 response.
  • Change response field antallAnsatte. The field is no longer mandatory and will be null when the business has between 0-4 employees.
  • Add new response fields
    • harRegistrertAntallAnsatte. The field has been introduced to compensate for the change in the number of employees.
    • hjelpeenhetskode
    • hjelpeenhetskode.kode
    • hjelpeenhetskode.beskrivelse
  • Remove response fields
    • naeringskode1.hjelpeenhetskode
    • naeringskode2.hjelpeenhetskode
    • naeringskode3.hjelpeenhetskode
  • Put quotation marks around file names in the content-disposition header for all file downloads.

Introduced in version 2 for entities:

  • Add new fields to JSON, CSV, Excel, and API.
    • konkursdato
    • vedtektsdato
    • vedtektsfestetFormaal
    • aktivitet
July 27, 2023

Endpoints

/api/enheter/lastned/csv
/api/underenheter/lastned/csv

Changes

Introduce total inventory in CSV format

Versioning

Versions in use

API Header
/api Root. application/vnd.brreg.enhetsregisteret.v1+json
/api/enheter application/vnd.brreg.enhetsregisteret.enhet.v2+json
/api/enheter/lastned application/vnd.brreg.enhetsregisteret.enhet.v2+gzip;charset=UTF-8
/api/enheter/lastned/regneark application/vnd.brreg.enhetsregisteret.enhet.v2+vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8
/api/enheter/lastned/csv application/vnd.brreg.enhetsregisteret.enhet.v2+gzip;charset=UTF-8
/api/enheter/{organisasjonsnummer}/roller application/vnd.brreg.enhetsregisteret.rolle.v1+json
/autorisert-api/enheter/{organisasjonsnummer}/roller application/json
/api/underenheter application/vnd.brreg.enhetsregisteret.underenhet.v2+json
/api/underenheter/lastned application/vnd.brreg.enhetsregisteret.underenhet.v2+gzip;charset=UTF-8
/api/underenheter/lastned/regneark application/vnd.brreg.enhetsregisteret.underenhet.v2+vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8
/api/underenheter/lastned/csv application/vnd.brreg.enhetsregisteret.underenhet.v2+gzip;charset=UTF-8
/api/oppdateringer/enheter application/vnd.brreg.enhetsregisteret.oppdatering.enhet.v1+json
/api/oppdateringer/underenheter application/vnd.brreg.enhetsregisteret.oppdatering.underenhet.v1+json
/api/oppdateringer/roller application/cloudevents-batch+json
/api/organisasjonsformer application/vnd.brreg.enhetsregisteret.organisasjonsform.v1+json
/api/kommuner application/vnd.brreg.enhetsregisteret.kommune.v1+json
/api/roller/rolletyper application/vnd.brreg.enhetsregisteret.rolletype.v1+json
/api/roller/rollegruppetyper application/vnd.brreg.enhetsregisteret.rollegruppetype.v1+json
/api/roller/representanter application/vnd.brreg.enhetsregisteret.representant.v1+json

Strategy

We will try, as far as possible, not to break backward compatibility with our users. However, it may be necessary in some situations, for example for legal reasons or maintenance, to make changes that involve such a break.

In this case, we will version the service so that the latest version will be available along with the previous version. If you do not use versioning in the accept header, you will get the latest version.

An older version will be considered outdated/deprecated, and will eventually be removed. If there is a need for this type of change, we will try to give the user ample time, and notify about the change in advance.

When is a new version introduced?

We will introduce a new version when we introduce a change that affects backward compatibility. Minor changes and patches will not result in a version change in the header.

Example of a change that results in versioning:

  • Remove or change the name of an attribute in the HTTP response.
  • Remove or change the name of a REST endpoint.

When is a version removed?

We will issue warning/operational messages well in advance at https://www.brreg.no/om-oss/driftsmeldinger/. You can also subscribe to an RSS feed (https://www.brreg.no/produkter-og-tjenester/rss-feed/)

How do I choose a version?

You can choose a version by specifying the HTTP Accept-header. Use the header specified in this table.

If you do not specify an Accept-header, you will automatically get the latest version after March 11, 2024.

Pagination

It is possible in most endpoints to browse the result set via page+size, but with certain limitations. (Page+1)*size cannot exceed 10,000. When querying more than 10,000, the service will return HTTP status 400 with an accompanying error message.

If the purpose of browsing deeply into the service is to retrieve all entities, one can instead use the download services. See the chapter on maintaining a copy. These are updated once a day. To update the entities, one can use the update service, and further make individual queries on the entities that have received a change.

Maintenance of copy

To maintain a copy of the CCR, here is the process we have set up:

Download total inventory

Process total inventory

  • You can, for example, store or index a selection of objects in your own database.

PS! The total inventory files are large and may not fit in memory all at once. We recommend using a streaming function to read the file little by little.

Fetch new updates continuously

PS! You can start your copying job from an early ID or a time well before the total inventory is produced. This ensures that you capture all changes!

Retrieve objects again

If there have been new updates since the last time you updated, retrieve the entire object again:

Retrieval of roles with personal identification number

Retrieving roles with a personal identification number is protected by authentication against Maskinporten.

To use this API, you must have a client in Maskinporten with one of these two scopes:

  1. brreg:data:enhetsregisteret
  2. brreg:data:enhetsregisteret:auto

If you are a public sector entity (STAT, KOMM, FYLK, ORGL, and ADOS), you have already been assigned the scope brreg:data:enhetsregisteret:auto.

Everyone else must apply for access by sending an email to opendata@brreg.no and will be assigned the scope brreg:data:enhetsregisteret if we approve the access.

Remember that even if you have been granted the right to use one of the scopes, you must also add the scope to your own client in Maskinporten.

Read here how to authenticate with Maskinporten.

Calls to the API for retrieving roles with a personal identification number require sending a JWT signed by one of the two authentication methods described in the link above. You must also set the resource claim in the JWT grant to https://data.brreg.no/enhetsregisteret/autorisert-api before signing it and sending it to https://maskinporten.no. In the pre production environment, this must be set to https://data.ppe.brreg.no/enhetsregisteret/autorisert-api. When using the pre production environment, you must use https://test.maskinporten.no to retrieve the token. The Bearer token must be a JWT signed by either an enterprise certificate or an asymmetric key.

Example query in curl:

curl -v -X GET -H "Authorization: Bearer $SIGNED_JWT_TOKEN" \
    https://data.brreg.no/enhetsregisteret/autorisert-api/enheter/123456789/roller

Click here for more information about the endpoint.

General

Generic endpoints

Fetch all services

Fetch all services

Responses

Response samples

Content type
application/json

Entities

Operations against the CCR for entities

Fetch entities that match search filters

The service offers a search on entities in the Central Coordinating Register for Legal Entities. The search can be specified with search parameters provided as HTTP query parameters, see below. The search result is paginated with a standard page size of 20 entities.

The result set is limited to 10,000 entities per query. See entities/download for downloading a complete dataset.

It may occur that a main entity's superior entity in the public sector is struck off.

If this information is relevant to you, we recommend that you make a new request to fetch the superior entity. Then you can check if the entity is struck off by checking if the closing date is set. Tip: The self-link shows where you can fetch the superior entity.

The result can be sorted with the sort parameter. For example, with sort=antallAnsatte,ASC. The following parameters can be sorted on:

Parameter
navn
organisasjonsnummer
overordnetEnhet
organisasjonsform.kode
antallAnsatte
hjemmeside
postadresse.kommune
postadresse.kommunenummer
registreringsdatoEnhetsregisteret
registrertIMvaregisteret
registrertIForetaksregisteret
registrertIStiftelsesregisteret
registrertIFrivillighetsregisteret
naeringskode1.kode
naeringskode2.kode
naeringskode3.kode
hjelpeenhetskode.kode
forretningsadresse.kommune
forretningsadresse.kommunenummer
stiftelsesdato
institusjonellSektorkode.kode
konkurs
underAvvikling
underTvangsavviklingEllerTvangsopplosning
query Parameters
navn
string
Example: navn=Sesam stasjon

Entity's name. Free text from 1 to 180 characters

navnMetodeForSoek
string
Example: navnMetodeForSoek=FORTLOEPENDE

Search method for the navn parameter. The only supported value is FORTLOEPENDE. Example usage: navn=sesam stasjon&navnMetodeForSoek=FORTLOEPENDE

organisasjonsnummer
Array of strings <= 2000 items
Example: organisasjonsnummer=248969180,248969181

Comma-separated list of organisation numbers, 9 digits

overordnetEnhet
string
Example: overordnetEnhet=248969180

Organisation number of superior entity in public sector. String of 9 digits

fraAntallAnsatte
string
Example: fraAntallAnsatte=1

Minimum number of employees. Must be 0, 1, or greater than 4

tilAntallAnsatte
string
Example: tilAntallAnsatte=4

Maximum number. Must be 0, 4, or over 4

konkurs
boolean
Example: konkurs=false

Whether the entity is bankrupt.

registrertIMvaregisteret
boolean
Example: registrertIMvaregisteret=false

Whether the entity is registered in the VAT Register

registrertIForetaksregisteret
boolean
Example: registrertIForetaksregisteret=false

Whether the entity is registered in the Register of Business Enterprises.

registrertIStiftelsesregisteret
boolean
Example: registrertIStiftelsesregisteret=false

Whether the entity is registered in the Foundation Register.

registrertIFrivillighetsregisteret
boolean
Example: registrertIFrivillighetsregisteret=false

Whether the entity is registered in the Register of Non-Profit Organisations.

frivilligRegistrertIMvaregisteret
Array of strings
Example: frivilligRegistrertIMvaregisteret=Test beskrivelse

Voluntarily registered in the VAT Register.

underTvangsavviklingEllerTvangsopplosning
boolean
Example: underTvangsavviklingEllerTvangsopplosning=false

Whether the entity is under compulsory liquidation or dissolution

underAvvikling
boolean
Example: underAvvikling=false

Whether the entity is under liquidation

underKonkursbehandling
boolean
Example: underKonkursbehandling=false

Whether the entity is bankrupt, under compulsory liquidation or dissolution

fraRegistreringsdatoEnhetsregisteret
string
Example: fraRegistreringsdatoEnhetsregisteret=2024-01-04

Earliest registration date in the CCR (ISO-8601 yyyy-MM-dd)

tilRegistreringsdatoEnhetsregisteret
string
Example: tilRegistreringsdatoEnhetsregisteret=2024-01-04

Latest registration date in the CCR (ISO-8601 yyyy-MM-dd)

fraStiftelsesdato
string
Example: fraStiftelsesdato=2024-01-04

Earliest foundation date (ISO-8601 yyyy-MM-dd)

tilStiftelsesdato
string
Example: tilStiftelsesdato=2024-01-04

Latest foundation date (ISO-8601 yyyy-MM-dd)

fraRegistreringsdatoMerverdiavgiftsregisteret
string
Example: fraRegistreringsdatoMerverdiavgiftsregisteret=2024-01-04

Earliest registration date in the VAT Register.

tilRegistreringsdatoMerverdiavgiftsregisteret
string
Example: tilRegistreringsdatoMerverdiavgiftsregisteret=2024-01-04

Latest registration date in the VAT Register.

fraRegistreringsdatoForetaksregisteret
string
Example: fraRegistreringsdatoForetaksregisteret=2024-01-04

Earliest registration date in the Register of Business Enterprises.

tilRegistreringsdatoForetaksregisteret
string
Example: tilRegistreringsdatoForetaksregisteret=2024-01-04

Latest registration date in the Register of Business Enterprises.

fraRegistreringsdatoFrivillighetsregisteret
string
Example: fraRegistreringsdatoFrivillighetsregisteret=2024-01-04

Earliest registration date in the Register of Non-Profit Organisations.

tilRegistreringsdatoFrivillighetsregisteret
string
Example: tilRegistreringsdatoFrivillighetsregisteret=2024-01-04

Latest registration date in the Register of Non-Profit Organisations.

fraRegistreringsdatoPartiregisteret
string
Example: fraRegistreringsdatoPartiregisteret=2024-01-04

Earliest registration date in the Register of Political Parties.

tilRegistreringsdatoPartiregisteret
string
Example: tilRegistreringsdatoPartiregisteret=2024-01-04

Latest registration date in the Register of Political Parties.

registrertIPartiregisteret
boolean
Example: registrertIPartiregisteret=false

Whether the entity is registered in the Register of Political Parties.

organisasjonsform
Array of strings
Example: organisasjonsform=AS,ENK

Comma-separated list of types of organisations

hjemmeside
string
Example: hjemmeside=www.brreg.no

Entity's website

institusjonellSektorkode
Array of strings
Example: institusjonellSektorkode=1234,4321

Comma-separated list of sector codes, 4 digits

postadresse.adresse
Array of strings
Example: postadresse.adresse=Oslo,Bergen

Comma-separated list of addresses (postal address)

postadresse.kommunenummer
Array of strings
Example: postadresse.kommunenummer=0301,1101

Comma-separated list of municipality numbers (postal address), 4 digits

postadresse.landkode
Array of strings
Example: postadresse.landkode=GB,NO

Comma-separated list of country codes (postal address)

postadresse.postnummer
Array of strings
Example: postadresse.postnummer=5033,0319

Comma-separated list of postal codes (postal address), 4 digits

postadresse.poststed
string
Example: postadresse.poststed=BERGEN

Postal area (postal address). Free text

kommunenummer
Array of strings
Example: kommunenummer=0301,1101

Comma-separated list of municipality numbers, 4 digits. Filters on business address or postal address

forretningsadresse.kommunenummer
Array of strings
Example: forretningsadresse.kommunenummer=0301,1101

Comma-separated list of municipality numbers (business address), 4 digits

forretningsadresse.postnummer
Array of strings
Example: forretningsadresse.postnummer=5033,0319

Comma-separated list of postal codes (business address), 4 digits

forretningsadresse.poststed
string
Example: forretningsadresse.poststed=OSLO

Postal area (business address). Free text

forretningsadresse.landkode
Array of strings
Example: forretningsadresse.landkode=GB,NO

Comma-separated list of country codes (business address)

forretningsadresse.adresse
Array of strings
Example: forretningsadresse.adresse=Oslo,Bergen

Comma-separated list of addresses (business address)

naeringskode
Array of strings
Example: naeringskode=41.109,01.1

Comma-separated list of industrial codes

sisteInnsendteAarsregnskap
Array of strings
Example: sisteInnsendteAarsregnskap=1999,2000

Comma-separated list of years, 4 digits.

sort
string
Example: sort=antallAnsatte,ASC

Field to sort by and sort order. For example: organisasjonsnummer,ASC or organisasjonsnummer,DESC.

size
number
Example: size=20

Page size

page
number
Example: page=1

Page number

Responses

Request samples

curl 'https://data.brreg.no/enhetsregisteret/api/enheter' -i -X GET

Response samples

Content type
{
  • "_embedded": {
    },
  • "page": {
    }
}

Download entities in JSON format

Download entities in JSON format. If you use no filters/query parameters, you get a file with all entities. If you use filters, you get a maximum of 10000 entities at a time.

query Parameters
navn
string
Example: navn=Sesam stasjon

Entity's name. Free text from 1 to 180 characters

organisasjonsnummer
Array of strings <= 2000 items
Example: organisasjonsnummer=248969180,248969181

Comma-separated list of organisation numbers, 9 digits

overordnetEnhet
string
Example: overordnetEnhet=248969180

Organisation number of superior entity in public sector. String of 9 digits

fraAntallAnsatte
string
Example: fraAntallAnsatte=1

Minimum number of employees. Must be 0, 1, or greater than 4

tilAntallAnsatte
string
Example: tilAntallAnsatte=4

Maximum number. Must be 0, 4, or over 4

konkurs
boolean
Example: konkurs=false

Whether the entity is bankrupt.

registrertIMvaregisteret
boolean
Example: registrertIMvaregisteret=false

Whether the entity is registered in the VAT Register

registrertIForetaksregisteret
boolean
Example: registrertIForetaksregisteret=false

Whether the entity is registered in the Register of Business Enterprises.

registrertIStiftelsesregisteret
boolean
Example: registrertIStiftelsesregisteret=false

Whether the entity is registered in the Foundation Register.

registrertIFrivillighetsregisteret
boolean
Example: registrertIFrivillighetsregisteret=false

Whether the entity is registered in the Register of Non-Profit Organisations.

frivilligRegistrertIMvaregisteret
Array of strings
Example: frivilligRegistrertIMvaregisteret=Test beskrivelse

Voluntarily registered in the VAT Register.

underTvangsavviklingEllerTvangsopplosning
boolean
Example: underTvangsavviklingEllerTvangsopplosning=false

Whether the entity is under compulsory liquidation or dissolution

underAvvikling
boolean
Example: underAvvikling=false

Whether the entity is under liquidation

underKonkursbehandling
boolean
Example: underKonkursbehandling=false

Whether the entity is bankrupt, under compulsory liquidation or dissolution

fraRegistreringsdatoEnhetsregisteret
string
Example: fraRegistreringsdatoEnhetsregisteret=2024-01-04

Earliest registration date in the CCR (ISO-8601 yyyy-MM-dd)

tilRegistreringsdatoEnhetsregisteret
string
Example: tilRegistreringsdatoEnhetsregisteret=2024-01-04

Latest registration date in the CCR (ISO-8601 yyyy-MM-dd)

fraStiftelsesdato
string
Example: fraStiftelsesdato=2024-01-04

Earliest foundation date (ISO-8601 yyyy-MM-dd)

tilStiftelsesdato
string
Example: tilStiftelsesdato=2024-01-04

Latest foundation date (ISO-8601 yyyy-MM-dd)

organisasjonsform
Array of strings
Example: organisasjonsform=AS

Comma-separated list of types of organisations

hjemmeside
string
Example: hjemmeside=www.brreg.no

Entity's website

institusjonellSektorkode
Array of strings
Example: institusjonellSektorkode=1234,4321

Comma-separated list of sector codes, 4 digits

postadresse.adresse
Array of strings
Example: postadresse.adresse=Oslo,Bergen

Comma-separated list of addresses (postal address)

postadresse.kommunenummer
Array of strings
Example: postadresse.kommunenummer=0301,1101

Comma-separated list of municipality numbers (postal address), 4 digits

postadresse.landkode
Array of strings
Example: postadresse.landkode=GB,NO

Comma-separated list of country codes (postal address)

postadresse.postnummer
Array of strings
Example: postadresse.postnummer=5033,0319

Comma-separated list of postal codes (postal address), 4 digits

postadresse.poststed
string
Example: postadresse.poststed=BERGEN

Postal area (postal address). Free text

kommunenummer
Array of strings
Example: kommunenummer=0301,1101

Comma-separated list of municipality numbers (business address), 4 digits

forretningsadresse.kommunenummer
Array of strings
Example: forretningsadresse.kommunenummer=0301,1101

Comma-separated list of municipality numbers (business address), 4 digits

forretningsadresse.postnummer
Array of strings
Example: forretningsadresse.postnummer=5033,0319

Comma-separated list of postal codes (business address), 4 digits

forretningsadresse.poststed
string
Example: forretningsadresse.poststed=OSLO

Postal area (business address). Free text

forretningsadresse.landkode
Array of strings
Example: forretningsadresse.landkode=GB,NO

Comma-separated list of country codes (business address)

forretningsadresse.adresse
Array of strings
Example: forretningsadresse.adresse=Oslo,Bergen

Comma-separated list of addresses (business address)

naeringskode
Array of strings
Example: naeringskode=41.109,01.1

Comma-separated list of industrial codes

sisteInnsendteAarsregnskap
Array of strings
Example: sisteInnsendteAarsregnskap=1999,2000

Comma-separated list of years, 4 digits.

sort
string
Example: sort=ASC

Field to sort by and sort order. For example: organisasjonsnummer,ASC or organisasjonsnummer,DESC.

size
string
Example: size=10

Page size

page
string
Example: page=1

Page number

Responses

Request samples

curl 'https://data.brreg.no/enhetsregisteret/api/enheter/lastned' -X GET -J -O

Response samples

Content type
application/json
{
  • "antallFeil": 4,
  • "valideringsfeil": [
    ],
  • "sti": "cfQRiNgGtG",
  • "feilmelding": "GqDEbwc71f",
  • "tidsstempel": 1704366191,
  • "status": 500
}

Download the total inventory of entities in CSV format

Download the total inventory of entities in CSV format. Line breaks as well as quotation marks may occur in the cells in this CSV file. Therefore, all cells are "escaped" with quotation marks. Quotation marks in the body of the text come as two quotation marks in a row. This is to prevent the cell from terminating too early. You must use a CSV parser that can be configured to handle this correctly. In OpenCSV for Java, we configure "quotechar" and "escapechar". We put both as quotation marks (").

Responses

Request samples

curl 'https://data.brreg.no/enhetsregisteret/api/enheter/lastned/csv' -X GET -J -O

Response samples

Content type
application/json
{
  • "antallFeil": 4,
  • "valideringsfeil": [
    ],
  • "sti": "cfQRiNgGtG",
  • "feilmelding": "GqDEbwc71f",
  • "tidsstempel": 1704366191,
  • "status": 500
}

Download the total inventory of entities as a spreadsheet

Download the total inventory of entities in a spreadsheet. Please note that the data set is divided into two sheet tabs because the number of entities exceeds the number of rows in Excel.

Responses

Request samples

curl 'https://data.brreg.no/enhetsregisteret/api/enheter/lastned/regneark' -X GET -J -O

Response samples

Content type
application/json
{
  • "antallFeil": 4,
  • "valideringsfeil": [
    ],
  • "sti": "cfQRiNgGtG",
  • "feilmelding": "GqDEbwc71f",
  • "tidsstempel": 1704366191,
  • "status": 500
}

Fetch entity by organisation number

Fetch an entity by organisation number.

If an entity is struck off, the response will receive a status code of 200 OK. The HTTP response will then also contain fewer attributes, as shown in the example.

An entity can be removed from the disclosure from the Central Coordinating Register for Legal Entities for legal reasons, for example. If an entity is removed, it will receive a status code of 410 Gone. This should also be considered a request that any copies/caches also remove the relevant entity.

path Parameters
enhetorgnr
required
string
Example: 112233445

Organisation Number of the Entity

Responses

Request samples

curl 'https://data.brreg.no/enhetsregisteret/api/enheter/112233445' -i -X GET

Response samples

Content type
Example
{
  • "respons_klasse": "Enhet",
  • "organisasjonsnummer": "509100675",
  • "navn": "Sesam stasjon",
  • "organisasjonsform": {
    },
  • "postadresse": {
    },
  • "forretningsadresse": {
    },
  • "registrertIMvaregisteret": true,
  • "maalform": "Bokmål",
  • "naeringskode1": {
    },
  • "naeringskode2": {
    },
  • "naeringskode3": {
    },
  • "hjelpeenhetskode": {
    },
  • "underAvvikling": true,
  • "underAvviklingDato": "2024-01-04",
  • "registrertIStiftelsesregisteret": true,
  • "konkurs": true,
  • "konkursdato": "2024-01-04",
  • "tvangsavvikletPgaManglendeSlettingDato": "2024-01-04",
  • "tvangsopplostPgaManglendeDagligLederDato": "2024-01-04",
  • "tvangsopplostPgaManglendeRevisorDato": "2024-01-04",
  • "tvangsopplostPgaManglendeRegnskapDato": "2024-01-04",
  • "tvangsopplostPgaMangelfulltStyreDato": "2024-01-04",
  • "vedtektsdato": "2024-01-04",
  • "vedtektsfestetFormaal": [
    ],
  • "aktivitet": [
    ],
  • "paategninger": [
    ],
  • "registrertIFrivillighetsregisteret": true,
  • "stiftelsesdato": "2024-01-04",
  • "institusjonellSektorkode": {
    },
  • "registrertIForetaksregisteret": true,
  • "registreringsdatoEnhetsregisteret": "2024-01-04",
  • "hjemmeside": "www.brreg.no",
  • "sisteInnsendteAarsregnskap": "2024",
  • "frivilligMvaRegistrertBeskrivelser": [
    ],
  • "underTvangsavviklingEllerTvangsopplosning": true,
  • "antallAnsatte": 50,
  • "harRegistrertAntallAnsatte": true,
  • "overordnetEnhet": "376181782",
  • "registreringsnummerIHjemlandet": "0000804843",
  • "registreringsdatoAntallAnsatteNAVAaregisteret": "2024-01-04",
  • "registreringsdatoAntallAnsatteEnhetsregisteret": "2024-01-04",
  • "registreringsdatoMerverdiavgiftsregisteret": "2024-01-04",
  • "registreringsdatoMerverdiavgiftsregisteretEnhetsregisteret": "2024-01-04",
  • "registreringsdatoFrivilligMerverdiavgiftsregisteret": "2024-01-04",
  • "registreringsdatoForetaksregisteret": "2024-01-04",
  • "registreringsdatoFrivillighetsregisteret": "2024-01-04",
  • "registrertIPartiregisteret": true,
  • "registreringsdatoPartiregisteret": "2024-01-04",
  • "epostadresse": "epost@epost.com",
  • "telefon": "91504800",
  • "mobil": "91504800",
}

Sub-entities

Operations against the CCR for sub-entities

Fetch sub-entities that match search filters

The service offers a search on sub-entities in the Central Coordinating Register for Legal Entities. The search can be specified with search parameters provided as HTTP query parameters, see description. The search result is paginated with a standard page size of 20 entities.

The result set is limited to 10,000 sub-entities per query. See sub-entities/download for downloading a complete dataset.

The result can be sorted with the sort parameter. For example, with sort=antallAnsatte,ASC. The following parameters can be sorted on:

Parameters
navn
organisasjonsnummer
overordnetEnhet
organisasjonsform.kode
antallAnsatte
hjemmeside
postadresse.kommune
postadresse.kommunenummer
registreringsdatoEnhetsregisteret
registrertIMvaregisteret
naeringskode1.kode
naeringskode2.kode
naeringskode3.kode
hjelpeenhetskode.kode
oppstartsdato
nedleggelsesdato
datoEierskifte
slettedato
beliggenhetsadresse.kommune
beliggenhetsadresse.kommunenummer
query Parameters
navn
string
Example: navn=Sesam stasjon

Sub-entity's name. Free text from 1 to 180 characters

navnMetodeForSoek
string
Example: navnMetodeForSoek=FORTLOEPENDE

Search method for the navn parameter. The only supported value is FORTLOEPENDE. Example usage: navn=sesam stasjon&navnMetodeForSoek=FORTLOEPENDE

organisasjonsnummer
Array of strings <= 2000 items
Example: organisasjonsnummer=248969180,248969181

Comma-separated list of organisation numbers, 9 digits

overordnetEnhet
string
Example: overordnetEnhet=248969180

The sub-entity's superior main entity

fraAntallAnsatte
string
Example: fraAntallAnsatte=1

Minimum number of employees. Must be 0, 1 or greater than 4

tilAntallAnsatte
string
Example: tilAntallAnsatte=4

Maximum number. Must be 0, 4, or over 4

registrertIMvaregisteret
string
Example: registrertIMvaregisteret=false

Whether the sub-entity is registered in the VAT Register

fraRegistreringsdatoEnhetsregisteret
string
Example: fraRegistreringsdatoEnhetsregisteret=2024-01-04

Earliest registration date in the CCR (ISO-8601 yyyy-MM-dd)

tilRegistreringsdatoEnhetsregisteret
string
Example: tilRegistreringsdatoEnhetsregisteret=2024-01-04

Latest registration date in the CCR (ISO-8601 yyyy-MM-dd)

fraOppstartsdato
string
Example: fraOppstartsdato=2024-01-04

Earliest start date (ISO-8601 yyyy-MM-dd)

tilOppstartsdato
string
Example: tilOppstartsdato=2024-01-04

Latest start date (ISO-8601 yyyy-MM-dd)

fraDatoEierskifte
string
Example: fraDatoEierskifte=2024-01-04

Earliest date of ownership change (ISO-8601 yyyy-MM-dd)

tilDatoEierskifte
string
Example: tilDatoEierskifte=2024-01-04

Latest date of ownership change (ISO-8601 yyyy-MM-dd)

fraNedleggelsesdato
string
Example: fraNedleggelsesdato=2024-01-04

Earliest date of closure (ISO-8601 yyyy-MM-dd)

tilNedleggelsesdato
string
Example: tilNedleggelsesdato=2024-01-04

Latest date of closure (ISO-8601 yyyy-MM-dd)

fraRegistreringsdatoMerverdiavgiftsregisteret
string
Example: fraRegistreringsdatoMerverdiavgiftsregisteret=2024-01-04

Earliest registration date in the VAT Register.

tilRegistreringsdatoMerverdiavgiftsregisteret
string
Example: tilRegistreringsdatoMerverdiavgiftsregisteret=2024-01-04

Latest registration date in the VAT Register.

organisasjonsform
Array of strings
Example: organisasjonsform=BEDR,AAFY

Comma-separated list of types of organisations

hjemmeside
string
Example: hjemmeside=www.brreg.no

Sub-entity's website

postadresse.kommunenummer
Array of strings
Example: postadresse.kommunenummer=0301,1101

Comma-separated list of municipality numbers (postal address), 4 digits

postadresse.postnummer
Array of strings
Example: postadresse.postnummer=5033,0319

Comma-separated list of postal codes (postal address), 4 digits

postadresse.poststed
string
Example: postadresse.poststed=BERGEN

Postal area (postal address). Free text

postadresse.landkode
Array of strings
Example: postadresse.landkode=GB,NO

Comma-separated list of country codes (postal address)

postadresse.adresse
Array of strings
Example: postadresse.adresse=Oslo,Bergen

Comma-separated list of addresses (postal address)

kommunenummer
Array of strings
Example: kommunenummer=0301,1101

Comma-separated list of municipality numbers, 4 digits. Filters on location address or postal address

beliggenhetsadresse.kommunenummer
Array of strings
Example: beliggenhetsadresse.kommunenummer=0301,1101

Comma-separated list of municipality numbers (location address), 4 digits

beliggenhetsadresse.postnummer
Array of strings
Example: beliggenhetsadresse.postnummer=5033,0319

Comma-separated list of postal codes (location address), 4 digits

beliggenhetsadresse.poststed
string
Example: beliggenhetsadresse.poststed=OSLO

Postal area (location address)

beliggenhetsadresse.landkode
Array of strings
Example: beliggenhetsadresse.landkode=GB,NO

Comma-separated list of country codes (location address)

beliggenhetsadresse.adresse
Array of strings
Example: beliggenhetsadresse.adresse=Oslo,Bergen

Comma-separated list of addresses (location address)

naeringskode
Array of strings
Example: naeringskode=41.109,01.1

Comma-separated list of industrial codes

sort
string
Example: sort=antallAnsatte,ASC

Field to sort by and sort order. For example: organisasjonsnummer,ASC or organisasjonsnummer,DESC.

size
number
Example: size=10

Page size

page
number
Example: page=1

Page number

Responses

Request samples

curl 'https://data.brreg.no/enhetsregisteret/api/underenheter' -i -X GET

Response samples

Content type
{}

Download sub-entities in JSON format

Download sub-entities in JSON format. If you use no filters/query parameters, you get a file with all sub-entities. If you use filters, you get a maximum of 10000 sub-entities at a time.

query Parameters
navn
string
Example: navn=Sesam stasjon

Sub-entity's name. Free text from 1 to 180 characters

organisasjonsnummer
Array of strings <= 2000 items
Example: organisasjonsnummer=248969180,248969181

Comma-separated list of organisation numbers, 9 digits

overordnetEnhet
string
Example: overordnetEnhet=248969180

The sub-entity's superior main entity

fraAntallAnsatte
string
Example: fraAntallAnsatte=1

Minimum number of employees. Must be 0, 1 or greater than 4

tilAntallAnsatte
string
Example: tilAntallAnsatte=4

Maximum number. Must be 0, 4, or over 4

registrertIMvaregisteret
string
Example: registrertIMvaregisteret=false

Whether the sub-entity is registered in the VAT Register

fraRegistreringsdatoEnhetsregisteret
string
Example: fraRegistreringsdatoEnhetsregisteret=2024-01-04

Earliest registration date in the CCR (ISO-8601 yyyy-MM-dd)

tilRegistreringsdatoEnhetsregisteret
string
Example: tilRegistreringsdatoEnhetsregisteret=2024-01-04

Latest registration date in the CCR (ISO-8601 yyyy-MM-dd)

fraOppstartsdato
string
Example: fraOppstartsdato=2024-01-04

Earliest start date (ISO-8601 yyyy-MM-dd)

tilOppstartsdato
string
Example: tilOppstartsdato=2024-01-04

Latest start date (ISO-8601 yyyy-MM-dd)

fraDatoEierskifte
string
Example: fraDatoEierskifte=2024-01-04

Earliest date of ownership change (ISO-8601 yyyy-MM-dd)

tilDatoEierskifte
string
Example: tilDatoEierskifte=2024-01-04

Latest date of ownership change (ISO-8601 yyyy-MM-dd)

fraNedleggelsesdato
string
Example: fraNedleggelsesdato=2024-01-04

Earliest date of closure (ISO-8601 yyyy-MM-dd)

tilNedleggelsesdato
string
Example: tilNedleggelsesdato=2024-01-04

Latest date of closure (ISO-8601 yyyy-MM-dd)

organisasjonsform
Array of strings
Example: organisasjonsform=BEDR,AAFY

Comma-separated list of types of organisations

hjemmeside
string
Example: hjemmeside=www.brreg.no

Sub-entity's website

postadresse.kommunenummer
Array of strings
Example: postadresse.kommunenummer=0301,1101

Comma-separated list of municipality numbers (postal address), 4 digits

postadresse.postnummer
Array of strings
Example: postadresse.postnummer=5033,0319

Comma-separated list of postal codes (postal address), 4 digits

postadresse.poststed
string
Example: postadresse.poststed=BERGEN

Postal area (postal address). Free text

postadresse.landkode
Array of strings
Example: postadresse.landkode=GB,NO

Comma-separated list of country codes (postal address)

postadresse.adresse
Array of strings
Example: postadresse.adresse=Oslo,Bergen

Comma-separated list of addresses (postal address)

kommunenummer
Array of strings
Example: kommunenummer=0301,1101

Comma-separated list of municipality numbers (location address), 4 digits

beliggenhetsadresse.kommunenummer
Array of strings
Example: beliggenhetsadresse.kommunenummer=0301,1101

Comma-separated list of municipality numbers (location address), 4 digits

beliggenhetsadresse.postnummer
Array of strings
Example: beliggenhetsadresse.postnummer=5033,0319

Comma-separated list of postal codes (location address), 4 digits

beliggenhetsadresse.poststed
string
Example: beliggenhetsadresse.poststed=OSLO

Postal area (location address)

beliggenhetsadresse.landkode
Array of strings
Example: beliggenhetsadresse.landkode=GB,NO

Comma-separated list of country codes (location address)

beliggenhetsadresse.adresse
Array of strings
Example: beliggenhetsadresse.adresse=Oslo,Bergen

Comma-separated list of addresses (location address)

naeringskode
Array of strings
Example: naeringskode=41.109,01.1

Comma-separated list of industrial codes

sort
string
Example: sort=antallAnsatte,ASC

Field to sort by and sort order. For example: organisasjonsnummer,ASC or organisasjonsnummer,DESC.

size
string
Example: size=10

Page size

page
string
Example: page=1

Page number

Responses

Request samples

curl 'https://data.brreg.no/enhetsregisteret/api/underenheter/lastned' -X GET -J -O

Response samples

Content type
application/json
{
  • "antallFeil": 4,
  • "valideringsfeil": [
    ],
  • "sti": "cfQRiNgGtG",
  • "feilmelding": "GqDEbwc71f",
  • "tidsstempel": 1704366191,
  • "status": 500
}

Download the total inventory of sub-entities in CSV format

Download the total inventory of sub-entities in CSV format. Line breaks as well as quotation marks may occur in the cells in this CSV file. Therefore, all cells are "escaped" with quotation marks. Quotation marks in the body of the text come as two quotation marks in a row. This is to prevent the cell from terminating too early. You must use a CSV parser that can be configured to handle this correctly. In OpenCSV for Java, we configure "quotechar" and "escapechar". We put both as quotation marks (").

Responses

Request samples

curl 'https://data.brreg.no/enhetsregisteret/api/underenheter/lastned/csv' -X GET -J -O

Response samples

Content type
application/json
{
  • "antallFeil": 4,
  • "valideringsfeil": [
    ],
  • "sti": "cfQRiNgGtG",
  • "feilmelding": "GqDEbwc71f",
  • "tidsstempel": 1704366191,
  • "status": 500
}

Download the total inventory of sub-entities as a spreadsheet

Download the total inventory of sub-entities as a spreadsheet

Responses

Request samples

curl 'https://data.brreg.no/enhetsregisteret/api/underenheter/lastned/regneark' -X GET -J -O

Response samples

Content type
application/json
{
  • "timestamp": "2024-01-05T07:36:21.523+0000",
  • "status": 500,
  • "error": "Internal Server Error",
  • "message": "Internal Server Error",
  • "path": "/enhetsregisteret/api/enheter",
  • "trace": "b94669c0-425a-4b6c-ab30-504de8d9c127"
}

Fetch sub-entity by organisation number

Fetch a sub-entity by organisation number.

If a sub-entity is struck off, the response will receive a status code of 200 OK. The HTTP Response will then also contain fewer attributes, as shown in the example.

A sub-entity can be removed from the disclosure from the Central Coordinating Register for Legal Entities for legal reasons, for example. If a sub-entity is removed, it will receive a status code of 410 Gone. This should also be considered a request that any copies/caches also remove the relevant sub-entity.

path Parameters
underenhetorgnr
required
string
Example: 112233445

Organisation Number of the Entity

Responses

Request samples

curl 'https://data.brreg.no/enhetsregisteret/api/underenheter/112233445' -i -X GET

Response samples

Content type
Example
{
  • "respons_klasse": "Underenhet",
  • "organisasjonsnummer": "509100675",
  • "navn": "Sesam stasjon",
  • "organisasjonsform": {},
  • "postadresse": {
    },
  • "beliggenhetsadresse": {
    },
  • "registrertIMvaregisteret": true,
  • "naeringskode1": {
    },
  • "naeringskode2": {
    },
  • "naeringskode3": {
    },
  • "hjelpeenhetskode": {
    },
  • "registreringsdatoEnhetsregisteret": "2024-01-04",
  • "hjemmeside": "www.brreg.no",
  • "frivilligMvaRegistrertBeskrivelser": [
    ],
  • "antallAnsatte": 50,
  • "harRegistrertAntallAnsatte": true,
  • "overordnetEnhet": "376181782",
  • "oppstartsdato": "2024-01-04",
  • "datoEierskifte": "2024-01-04",
  • "nedleggelsesdato": "2024-01-04",
  • "registreringsdatoAntallAnsatteNAVAaregisteret": "2024-01-04",
  • "registreringsdatoAntallAnsatteEnhetsregisteret": "2024-01-04",
  • "registreringsdatoMerverdiavgiftsregisteret": "2024-01-04",
  • "registreringsdatoMerverdiavgiftsregisteretEnhetsregisteret": "2024-01-04",
  • "registreringsdatoFrivilligMerverdiavgiftsregisteret": "2024-01-04",
  • "epostadresse": "epost@epost.com",
  • "telefon": "91504800",
  • "mobil": "91504800",
}

Roles

Operations against the CCR for roles

Fetch all roles for an entity

In this endpoint, you can fetch all roles for an entity through lookup with organisation number.

Information that a person is registered with a role, such as a board member, is open public data. However, if you want to set up an overview of the roles a person has in other businesses, you are only allowed to show roles related to business activities. This means that the person's registered role in a voluntary organisation cannot be shown with the person's roles in, for example, a limited company. For relevant regulations, see § 22 of the Central Coordinating Register for Legal Entities Act.

path Parameters
enhetorgnr
required
string
Example: 112233445

Organisation Number of the Entity

Responses

Response samples

Content type
application/json
{}

Fetch all roles for an entity, including social security numbers for persons

In this endpoint, you can fetch all roles for an entity through lookup with organisation number.

Information that a person is registered with a role, such as a board member, is open public data. However, if you want to set up an overview of the roles a person has in other businesses, you are only allowed to show roles related to business activities. This means that the person's registered role in a voluntary organisation cannot be shown with the person's roles in, for example, a limited company. For relevant regulations, see § 22 of the Central Coordinating Register for Legal Entities Act.

The endpoint returns social security numbers to role holders and is therefore secured against unauthorized access.

Authorizations:
bearerAuth
path Parameters
enhetorgnr
required
string
Example: 112233445

Organisation Number of the Entity

Responses

Response samples

Content type
application/json
{}

Download the total inventory of roles as zipped json

Download the total inventory of roles, including date of birth, as zipped json

Responses

Request samples

curl 'https://data.brreg.no/enhetsregisteret/api/roller/totalbestand' -X GET -J -O

Fetch all role representatives

Fetch all role representatives

Responses

Response samples

Content type
application/json
{}

Fetch all role group types

Fetch all role group types

Responses

Response samples

Content type
application/json
{}

Fetch all role types

Fetch all role types

Responses

Response samples

Content type
application/json
{}

Municipalities

Operations against the CCR for municipalities

Fetch municipalities

Fetch municipalities

query Parameters
sort
string
Example: sort=ASC

Sorting of the result set

size
string
Example: size=10

Page size

page
string
Example: page=1

Page number

Responses

Response samples

Content type
application/json
{}

Fetch municipality by municipality number

Fetch municipality by municipality number

path Parameters
kommunenr
required
string
Example: 0301

Municipality number

Responses

Response samples

Content type
application/json
{}

Type of organisations

Operations against the CCR for types of organisations

Fetch types of organisations

Fetch types of organisations

query Parameters
sort
string
Example: sort=ASC

Sorting of the result set

size
string
Example: size=10

Page size

page
string
Example: page=1

Page number

Responses

Response samples

Content type
application/json
{}

Fetch types of organisations for entities

Fetch types of organisations for entities

query Parameters
sort
string
Example: sort=ASC

Sorting of the result set

size
string
Example: size=10

Page size

page
string
Example: page=1

Page number

Responses

Response samples

Content type
application/json
{}

Fetch types of organisations for sub-entities

Fetch types of organisations for sub-entities

query Parameters
sort
string
Example: sort=ASC

Sorting of the result set

size
string
Example: size=10

Page size

page
string
Example: page=1

Page number

Responses

Response samples

Content type
application/json
{}

Fetch description for type of organisation by its code

Fetch description for type of organisation by its code

path Parameters
organisasjonskode
required
string
Example: ASA

The type of organisation

Responses

Response samples

Content type
application/json
{}

Cadastral units

Operations against the CCR for cadastral units

Fetch cadastral units

Fetch cadastral units

query Parameters
matrikkelenhetid
string
Example: matrikkelenhetid=1234

Filter on cadastral unit id

matrikkelnummer
string
Example: matrikkelnummer=6090-5001/400/2

Filter on cadastral number

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Updates

Operations against the CCR for updates

Fetch all updates on roles

About the size parameter

If the size query parameter is not specified, the API will return 100 events. Then, you can count the number of events in the JSON response and consider if you need to make more requests.

If the number of events in the JSON response corresponds to what you specified in the size query parameter (which by default is 100), you can assume that you have not fetched all the events.

If the number of events in the response is lower than the number you specified in the size query parameter, you can assume that you have fetched all the events up to now. Then, you can wait a bit and check later if more events have arrived.

query Parameters
afterTime
string
Example: afterTime=2010-01-03T00:00:00.000Z

Retrieve events that have occurred after the specified time. Datetime (ISO-8601): yyyy-MM-dd'T'HH:mm:ss.SSS'Z'

afterId
number
Example: afterId=1

Retrieve events that have occurred after the specified ID. Greater than or equal to 1

organisasjonsnummer
Array of strings
Example: organisasjonsnummer=112233445

Filter events on the entity's organisation number. Comma-separated list of organisation numbers

size
string
Example: size=10

Retrieve a specified number of events. Greater than or equal to 1 and less than or equal to 10000. The default value is 100.

Responses

Response samples

Content type
application/json
[]

Fetch all updates on entities

We recommend the following use: Filter by date for the first retrieval, so as to avoid entities earlier than any last copy. Then filter by updateid to fetch the next set of results. (Here you can safely use updateid+1). Page+size can be used for more precise navigation in an updateid- or date-query.

Types of changes:

Type Description
Ukjent Unknown type of change. Often because the change occurred before the introduction of change types.
Ny The entity has been added to the CCR
Endring The entity has been changed in the CCR
Sletting The entity has been struck off from the CCR
Fjernet The entity has been removed from Open Data. Any copies should also remove the entity.
query Parameters
dato
string
Example: dato=2010-01-03T00:00:00.000Z

Show only updates from and including this timestamp. The timestamp indicates when the update was published in this API. Datetime (ISO-8601): yyyy-MM-dd'T'HH:mm:ss.SSS'Z'

oppdateringsid
string
Example: oppdateringsid=1

Show only updates from and including update ID. Greater than or equal to 1

organisasjonsnummer
Array of strings
Example: organisasjonsnummer=112233445

Show only updates on given organisation numbers. Comma-separated list of organisation numbers

page
string
Example: page=1

Page number

size
string
Example: size=10

Retrieve a specified number of events. Must be greater than or equal to 1 and less than or equal to 10,000. The default value is 20.

sort
string
Example: sort=id,ASC

Field to sort by and sort order. For example: id,ASC or id,DESC. Only id is supported.

Responses

Response samples

Content type
application/json
{}

Fetch all updates on sub-entities

We recommend the following use: Filter by date for the first retrieval, so as to avoid entities earlier than any last copy. Then filter by updateid to fetch the next set of results. (Here you can safely use updateid+1). Page+size can be used for more precise navigation in an updateid- or date-query.

Types of changes:

Type Description
Ukjent Unknown type of change. Often because the change occurred before the introduction of change types.
Ny The entity has been added to the CCR
Endring The entity has been changed in the CCR
Sletting The entity has been struck off from the CCR
Fjernet The entity has been removed from Open Data. Any copies should also remove the entity.
query Parameters
dato
string
Example: dato=2010-01-03T00:00:00.000Z

Show only updates from and including this timestamp. The timestamp indicates when the update was published in this API. Datetime (ISO-8601): yyyy-MM-dd'T'HH:mm:ss.SSS'Z'

oppdateringsid
string
Example: oppdateringsid=1

Show only updates from and including update ID. Greater than or equal to 1

organisasjonsnummer
Array of strings
Example: organisasjonsnummer=112233445

Show only updates on given organisation numbers. Comma-separated list of organisation numbers

page
string
Example: page=1

Page number

size
string
Example: size=10

Retrieve a specified number of events. Must be greater than or equal to 1 and less than or equal to 10,000. The default value is 20.

sort
string
Example: sort=id,ASC

Field to sort by and sort order. For example: id,ASC or id,DESC. Only id is supported.

Responses

Response samples

Content type
application/json
{}

The Register of Political Parties

Operations against the Register of Political Parties

Download total inventory of entities from The Register of Political Parties in csv format

Description of fields in order
Organisation number of the entity
Registered protected party name
Entity's organisational form
Entity's business address
Postal code (business address)
Municipality number (business address)
Municipality name (business address)
Country (business address)
Entity's postal address
Postal code (postal address)
Postal area (postal address)
Country code (postal address)

Responses

Request samples

curl 'https://data.brreg.no/partiregisteret/api/lastned/csv' -X GET -J -O

Response samples

Content type
application/json
{
  • "timestamp": "2024-01-05T07:36:21.523+0000",
  • "status": 500,
  • "error": "Internal Server Error",
  • "message": "Internal Server Error",
  • "path": "/enhetsregisteret/api/enheter",
  • "trace": "b94669c0-425a-4b6c-ab30-504de8d9c127"
}

The Register of Non-Profit Organisations

Operations against the Register of Non-Profit Organisations

Search for non-profit organisations

This endpoint lets you search and retrieve all non-profit organisations. Historical information or deleted organisations are not included.

About pagination:

This endpoint doesn't use classic pagination. We leverage the "searchAfter" concept to improve the performance and data-integrity. This is how you paginate this API:

  • Set the query-parameter "size" to the page size you prefer.
  • Then make the first API-call, this gives you the first page.
  • To get the next page, set the "searchAfter" query-parameter to the previous/highest organisation-number (organisasjonsnummer) from the previous page you got.
  • Repeat the previous step until the API returns fewer objects than your "size" parameter. This means you are on the last page.

You can also use the "next" link from the API-response to get the next page. The API returns the next-link as long as the number of objects is equal to your size parameter.

query Parameters
searchAfter
string or null
Example: searchAfter=388348542

Get the next batch/page with non-profit organisations. Set this value to the latest/highest value from the previous batch. The value you need to pass in depends on sorting. The only sorting available at this time is 'organisasjonsnummer'

size
integer or null <int32>
Default: 100
Example: size=50

Limits the maximum amount of non-profit organisations the API returns

spraak
string or null
Example: spraak=NOB

Select language for code descriptions. The API adds code descriptions to the response only if you include this query-parameter.

Known values:

  • NOB (Norsk bokmål)

Responses

Response samples

Content type
{
  • "_embedded": {
    },
  • "_links": {
    }
}

Get a non-profit organisation by organisation number

Get information about a non-profit organisation from The Register of Non-Profit Organisations

path Parameters
organisasjonsnummer
required
string
Example: 388348542

The organisation number for the non-profit organisation

query Parameters
spraak
string or null
Example: spraak=NOB

Select language for code descriptions. The API adds code descriptions to the response only if you include this query-parameter.

Known values:

  • NOB (Norsk bokmål)

Responses

Response samples

Content type
Example
{
  • "organisasjonsnummer": "388348542",
  • "frivilligOrganisasjonsstatus": "frivilligOrganisasjonsstatus.innfoert",
  • "kontonummer": "123456789",
  • "innfoertDato": "2001-01-01",
  • "foersteGangInnfoert": "2001-01-01",
  • "grasrotandel": {
    },
  • "regnskapsrapportering": {
    },
  • "vedtekter": {
    },
  • "icnpoKategorier": [
    ],
  • "paategninger": [
    ],
  • "_links": {
    }
}

Download all non-profit organisations as CSV

Download total inventory in CSV

Description of fields in order
Organisation number
Name of the non-profit organisation
Organisational form
Description of organisational form
Country (business address)
Country code (business address)
Postal code (business address)
Postal area (business address)
Address (business address)
Municipality name (business address)
Municipality number (business address)
Country (postal address)
Country code (postal address)
Postal code (postal address)
Postal area (postal address)
Address (postal address)
Municipality name (postal address)
Municipality number (postal address)
Phone number
Mobile number
The date the non-profit organisation was last registered in the Register of Non-Profit Organisations
The date the non-profit organisation was first registered in the Register of Non-Profit Organisations
ICNPO-number for activity 1
Description of ICNPO-category 1
ICNPO-number for activity 2
Description of ICNPO-category 2
ICNPO-number for activity 3
Description of ICNPO-category 3
Whether the non-profit organisation has registered articles of association
Date the articles of association were updated
Whether the non-profit organisation will report annual accounts to the Register of Company Accounts
End date for the accounting period. Format is: dd.mm
Year of the last approved voluntarily reported annual accounts
Date the voluntarily reported annual accounts were last registered in the Register of Company Accounts
Whether the non-profit organisation participates in the Grassroots allotment programme
From-date the non-profit organisation is banned from participating in the Grassroots allotment programme
To-date the non-profit organisation is banned from participating in the Grassroots allotment programme
Account number
Whether the non-profit organisation has any notations
E-mail

Responses

Request samples

curl 'https://data.brreg.no/frivillighetsregisteret/api/frivillige-organisasjoner/totalbestand/csv' -X GET -J -O

Response samples

Content type
application/json
{
  • "timestamp": "2024-01-05T07:36:21.523+0000",
  • "status": 500,
  • "error": "Internal Server Error",
  • "message": "Internal Server Error",
  • "path": "/enhetsregisteret/api/enheter",
  • "trace": "b94669c0-425a-4b6c-ab30-504de8d9c127"
}

Get ICNPO categories

GET ICNPO categories (International Classification of Non-Profit Organisation)

query Parameters
spraak
string or null
Example: spraak=NOB

Select language for code descriptions.

Known values:

  • NOB (Norsk bokmål)

Responses

Response samples

Content type
{
  • "_embedded": {
    },
  • "_links": {
    }
}

Get information types in Frivillighetsregisteret

Get all information types in Frivillighetsregisteret.

query Parameters
spraak
string or null
Example: spraak=NOB

Select language for code descriptions.

Known values:

  • NOB (Norsk bokmål)

Responses

Response samples

Content type
{
  • "_embedded": {
    },
  • "_links": {
    }
}