Skip to the content
EnrichedNowDocs

    Type to search every page.

    Menu

    Scraper APIBrreg

    brreg.company

    A Norwegian company from the Brønnøysund Register Centre by its organisation number: name, form, website, addresses, industry codes, employees, share capital, and whether it is bankrupt or being wound up.

    Id
    brreg.company
    Version
    1
    Billed per
    request — 1 unit for a charged run
    Runs
    within one request

    Start it with POST /v1/scrapers/brreg.company/runs. How runs work is in Running a scraper; what a run costs is in Usage and units.

    Inputs

    The fields of input. A field that is not listed here is refused.

    Inputs of brreg.company
    FieldTypeDescription
    companyrequiredstringThe organisation number, e.g. 923609016, or the entity's address on virksomhet.brreg.no. brreg.search finds it by name.Limit: at least 9 characters, at most 200 characters.

    Record fields

    Every record of a run has these fields. A value that is not known is null — never an empty string and never 0.

    Record fields of brreg.company
    FieldTypeNotes
    organisation_numberstringThe entity's organisation number, nine digits, e.g. 923609016.
    urlstringThe entity's page on the Brønnøysund Register Centre's site.
    namestringThe entity's registered name.
    legal_form_codestring or nullIts form, as the register's code, e.g. AS, ASA, NUF.
    legal_formstring or nullThat form in Norwegian, e.g. Allmennaksjeselskap.
    websitestring or nullThe website it registered, e.g. www.equinor.com.
    business_addressobject or nullIts business address.
    lines (in business_address)array of stringThe street lines.
    postal_code (in business_address)string or nullThe postal code.
    city (in business_address)string or nullThe postal town.
    municipality (in business_address)string or nullThe municipality.
    municipality_number (in business_address)string or nullThe municipality's number, four digits.
    country_code (in business_address)string or nullThe country, as two letters.
    postal_addressobject or nullIts postal address.
    lines (in postal_address)array of stringThe street lines.
    postal_code (in postal_address)string or nullThe postal code.
    city (in postal_address)string or nullThe postal town.
    municipality (in postal_address)string or nullThe municipality.
    municipality_number (in postal_address)string or nullThe municipality's number, four digits.
    country_code (in postal_address)string or nullThe country, as two letters.
    industriesarray of objectIts industry codes (NACE, as Norway's SN2007), the main one first.
    code (in industries[])stringThe code, e.g. 06.100.
    description (in industries[])string or nullWhat it means, in Norwegian.
    sectorobject or nullIts institutional sector.
    code (in sector)stringThe code, e.g. 06.100.
    description (in sector)string or nullWhat it means, in Norwegian.
    employeesinteger or nullIts number of employees, where it registered one.
    founded_datestring or nullThe day it was founded, YYYY-MM-DD.
    registered_datestring or nullThe day it entered the register, YYYY-MM-DD.
    in_business_registerboolean or nullWhether it is in the Register of Business Enterprises (Foretaksregisteret).
    vat_registeredboolean or nullWhether it is in the VAT register.
    bankruptboolean or nullWhether it is bankrupt.
    under_liquidationboolean or nullWhether it is being wound up.
    under_forced_liquidationboolean or nullWhether it is being wound up or dissolved by force.
    is_groupboolean or nullWhether it belongs to a group of companies (konsern).
    parent_organisation_numberstring or nullThe organisation number of the entity above it, for a part of a larger body.
    share_capitalnumber or nullIts share capital.
    share_capital_currencystring or nullThe currency of the share capital, e.g. NOK.
    purposestring or nullIts purpose as its articles state it, or its activity as registered.
    previous_namesarray of stringNames it was registered under before.
    last_accounts_yearinteger or nullThe last year it filed annual accounts for.
    deleted_datestring or nullThe day it was deleted from the register, for one that was.
    fetched_atstring (date-time)When the register was asked, in UTC.

    Example request

    # Start a run and wait up to 60 seconds for it to finish
    curl -X POST "https://api.enrichednow.com/v1/scrapers/brreg.company/runs?wait=60" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"input":{"company":"923609016"}}'
    
    # Read its records, with the id the first call answered
    curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
    from enrichednow import EnrichedNow
    
    client = EnrichedNow()  # reads ENRICHEDNOW_API_KEY
    
    # Start a run, wait for it to end, and get its records
    result = client.scrape("brreg.company", {"company": "923609016"})
    print(result.run.id, result.run.status, result.run.record_count)
    
    # Read its records: pages are fetched as you go
    for record in result.records:
        print(record)

    Install it with pip install enrichednow, then save as run.py and run python3 run.py

    import EnrichedNow from "enrichednow";
    
    const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
    
    // Start a run, wait for it to end, and get its records
    const { run, records } = await client.scrape("brreg.company", { company: "923609016" });
    console.log(run.id, run.status, run.record_count);
    
    // Read its records: pages are fetched as you go
    for await (const record of records) console.log(record);

    Install it with npm install enrichednow, then save as run.mjs and run node run.mjs

    package main
    
    import (
    	"context"
    	"fmt"
    	"log"
    	"time"
    
    	enrichednow "github.com/enrichednow/enrichednow-go"
    )
    
    func main() {
    	client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
    	if err != nil {
    		log.Fatal(err)
    	}
    	ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
    	defer cancel()
    
    	// Start a run, wait for it to end, and get its records
    	run, records, err := client.Scrape(ctx, "brreg.company", map[string]any{"company": "923609016"})
    	if err != nil {
    		log.Fatal(err)
    	}
    	fmt.Println(run.ID, run.Status, run.RecordCount)
    
    	// Read its records: pages are fetched as you go
    	for records.Next() {
    		fmt.Println(string(records.Current()))
    	}
    	if err := records.Err(); err != nil {
    		log.Fatal(err)
    	}
    }

    Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go

    import com.enrichednow.EnrichedNowClient;
    import com.enrichednow.ScrapeResult;
    import java.util.Map;
    
    public class Run {
        public static void main(String[] args) {
            EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
    
            // Start a run, wait for it to end, and get its records
            ScrapeResult result = client.scrape("brreg.company", Map.of("company", "923609016"));
            System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
    
            // Read its records: pages are fetched as you go
            for (Map<String, Object> record : result.records()) {
                System.out.println(record);
            }
        }
    }

    Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java

    enrichednow run brreg.company --input-json '{"company":"923609016"}'

    Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh

    It starts a run with this scraper’s example input, waits for it to finish and reads its records a page at a time. The key is read from ENRICHEDNOW_API_KEY.

    The body on its own:

    JSON
    {
      "input": {
        "company": "923609016"
      }
    }

    Example response

    The run, once it has ended. A run that has not ended within wait comes back with 202 and the status queued or running.

    JSON
    {
      "id": "run_841742f37553189ff9c27ba1",
      "scraper_id": "brreg.company",
      "scraper_version": 1,
      "status": "ok",
      "reason": null,
      "input": {
        "company": "923609016"
      },
      "record_count": 1,
      "units": 1,
      "units_per_request": 1,
      "units_per_record": null,
      "units_per_page": null,
      "diagnostics": {
        "requests": 1,
        "bytes": 259214,
        "wall_ms": 885,
        "facts": {}
      },
      "created_at": "2026-11-16T22:37:50.170950Z",
      "started_at": "2026-11-16T22:37:50.178331Z",
      "finished_at": "2026-11-16T22:37:51.066313Z"
    }

    Its records, from GET /v1/runs/{id}/records. The record is a real one: this scraper's own parser read it from a page recorded from the site.

    JSON
    {
      "records": [
        {
          "organisation_number": "923609016",
          "url": "https://virksomhet.brreg.no/nb/oppslag/enheter/923609016",
          "name": "EQUINOR ASA",
          "legal_form_code": "ASA",
          "legal_form": "Allmennaksjeselskap",
          "website": "www.equinor.com",
          "business_address": {
            "lines": [
              "Forusbeen 50"
            ],
            "postal_code": "4035",
            "city": "STAVANGER",
            "municipality": "STAVANGER",
            "municipality_number": "1103",
            "country_code": "NO"
          },
          "postal_address": {
            "lines": [
              "Postboks 8500"
            ],
            "postal_code": "4035",
            "city": "STAVANGER",
            "municipality": "STAVANGER",
            "municipality_number": "1103",
            "country_code": "NO"
          },
          "industries": [
            {
              "code": "06.100",
              "description": "Utvinning av råolje"
            },
            {
              "code": "06.200",
              "description": "Utvinning av naturgass"
            },
            {
              "code": "19.200",
              "description": "Produksjon av raffinerte petroleumsprodukter og fossile brenselsprodukter"
            }
          ],
          "sector": {
            "code": "1120",
            "description": "Statlig eide aksjeselskaper mv."
          },
          "employees": 21182,
          "founded_date": "1972-09-18",
          "registered_date": "1995-03-12",
          "in_business_register": true,
          "vat_registered": true,
          "bankrupt": false,
          "under_liquidation": false,
          "under_forced_liquidation": false,
          "is_group": true,
          "parent_organisation_number": null,
          "share_capital": 5976872600,
          "share_capital_currency": "NOK",
          "purpose": "Å utvikle, produsere og markedsføre ulike former for energi, avledede produkter og tjenester, samt annen virksomhet. Virksomheten kan også drives gjennom deltakelse i eller i samarbeid med andre selskaper.",
          "previous_names": [
            "Den norske stats oljeselskap a.s",
            "STATOIL ASA",
            "STATOILHYDRO ASA"
          ],
          "last_accounts_year": 2025,
          "deleted_date": null,
          "fetched_at": "2026-11-24T22:35:22.985414Z"
        }
      ],
      "next_cursor": null
    }

    A run does not always end ok. Results and statuses lists every status and the reasons every scraper shares; the reasons of the Brreg scrapers are in their own section there.