Scraper APIBrreg
brreg.search
Norwegian companies from the Brønnøysund Register Centre by name, form, municipality, industry code, size and registration date: organisation number, name, website, addresses, industry, employees.
- Id
brreg.search- Version
- 1
- Billed per
- request — 1 unit for a charged run
- Runs
- within one request
Start it with POST /v1/scrapers/brreg.search/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.
| Field | Type | Description |
|---|---|---|
name | string | Words of the entity's name, e.g. equinor.Limit: at least 2 characters, at most 180 characters. |
legal_form | string | Only entities of this form, as the register's code, e.g. AS, ASA, NUF. |
municipality | string | Only entities whose business address is in this municipality, as its four-digit number, e.g. 0301 (Oslo). |
industry | string | Only entities with this industry code or under it, e.g. 62 or 62.010. |
min_employees | integer | Only entities with at least this many employees.Limit: 0 to 1000000. |
registered_from | string | Only entities that entered the register on or after this day, YYYY-MM-DD. |
registered_to | string | Only entities that entered the register on or before this day, YYYY-MM-DD. |
status | "active" | "any" | active: leave out entities that are bankrupt or being wound up; any: keep them.Default: "active". |
max_results | integer | Entities a page, at most 100.Limit: 1 to 100. Default: 20. |
page | integer | The page of results, from 1. The register reads 10,000 results at most.Limit: 1 to 500. Default: 1. |
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.
| Field | Type | Notes |
|---|---|---|
organisation_number | string | The entity's organisation number, nine digits, e.g. 923609016. |
url | string | The entity's page on the Brønnøysund Register Centre's site. |
name | string | The entity's registered name. |
legal_form_code | string or null | Its form, as the register's code, e.g. AS, ASA, NUF. |
legal_form | string or null | That form in Norwegian, e.g. Allmennaksjeselskap. |
website | string or null | The website it registered, e.g. www.equinor.com. |
business_address | object or null | Its business address. |
lines (in business_address) | array of string | The street lines. |
postal_code (in business_address) | string or null | The postal code. |
city (in business_address) | string or null | The postal town. |
municipality (in business_address) | string or null | The municipality. |
municipality_number (in business_address) | string or null | The municipality's number, four digits. |
country_code (in business_address) | string or null | The country, as two letters. |
postal_address | object or null | Its postal address. |
lines (in postal_address) | array of string | The street lines. |
postal_code (in postal_address) | string or null | The postal code. |
city (in postal_address) | string or null | The postal town. |
municipality (in postal_address) | string or null | The municipality. |
municipality_number (in postal_address) | string or null | The municipality's number, four digits. |
country_code (in postal_address) | string or null | The country, as two letters. |
industries | array of object | Its industry codes (NACE, as Norway's SN2007), the main one first. |
code (in industries[]) | string | The code, e.g. 06.100. |
description (in industries[]) | string or null | What it means, in Norwegian. |
sector | object or null | Its institutional sector. |
code (in sector) | string | The code, e.g. 06.100. |
description (in sector) | string or null | What it means, in Norwegian. |
employees | integer or null | Its number of employees, where it registered one. |
founded_date | string or null | The day it was founded, YYYY-MM-DD. |
registered_date | string or null | The day it entered the register, YYYY-MM-DD. |
in_business_register | boolean or null | Whether it is in the Register of Business Enterprises (Foretaksregisteret). |
vat_registered | boolean or null | Whether it is in the VAT register. |
bankrupt | boolean or null | Whether it is bankrupt. |
under_liquidation | boolean or null | Whether it is being wound up. |
under_forced_liquidation | boolean or null | Whether it is being wound up or dissolved by force. |
is_group | boolean or null | Whether it belongs to a group of companies (konsern). |
parent_organisation_number | string or null | The organisation number of the entity above it, for a part of a larger body. |
share_capital | number or null | Its share capital. |
share_capital_currency | string or null | The currency of the share capital, e.g. NOK. |
purpose | string or null | Its purpose as its articles state it, or its activity as registered. |
previous_names | array of string | Names it was registered under before. |
last_accounts_year | integer or null | The last year it filed annual accounts for. |
deleted_date | string or null | The day it was deleted from the register, for one that was. |
fetched_at | string (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.search/runs?wait=60" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"name":"equinor","max_results":5}}'
# 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.search", {
"name": "equinor",
"max_results": 5,
})
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.search", { name: "equinor", max_results: 5 });
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.search", map[string]any{"name": "equinor", "max_results": 5})
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.search", Map.of("name", "equinor", "max_results", 5));
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.search --input name=equinor --input max_results=5Install 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:
{
"input": {
"name": "equinor",
"max_results": 5
}
}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.
{
"id": "run_841742f37553189ff9c27ba1",
"scraper_id": "brreg.search",
"scraper_version": 1,
"status": "ok",
"reason": null,
"input": {
"name": "equinor",
"max_results": 5
},
"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.
{
"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.986908Z"
}
],
"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.