# Norway Company Registry Scraper — Brønnøysund Enhetsregisteret (`devilscrapes/brreg-norway-companies-scraper`) Actor

Export Norwegian company records from the official Brønnøysund register — org number, legal name, form, industry code, employees, address, VAT status, bankruptcy flags and founding date — as clean JSON, CSV or Excel.

- **URL**: https://apify.com/devilscrapes/brreg-norway-companies-scraper.md
- **Developed by:** [DevilScrapes](https://apify.com/devilscrapes) (community)
- **Categories:** Lead generation, Business
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

<div align="center">
  <img src=".actor/icon.svg" width="160" alt="Devil Scrapes mark" />

## Norway Company Registry Scraper — Brønnøysund Enhetsregisteret

**💰 $2.05 / 1 000 results**  ·  pay only for results  ·  no credit card to try

*We do the dirty work so your dataset stays clean.* 😈

Export Norwegian company records from the official Brønnøysund register — org number, legal name, form, industry code, employees, address, VAT status, bankruptcy flags and founding date — as clean JSON, CSV or Excel.

</div>

***

### 🎯 What this scrapes

Enhetsregisteret is the authoritative record of every registered organisation in Norway, and it is free and open — but the API answers in Norwegian, nests the address and industry code three levels deep, and returns forty fields when you want twelve. This Actor flattens it into one row per company with English field names, so a Nordic prospect list or a KYC check becomes a spreadsheet rather than a parsing exercise.

### 🔥 What we handle for you

renames every Norwegian field to English and flattens the nested address and industry blocks
pages the register cleanly and stops exactly on your result cap
retries transient 429/5xx responses instead of failing the whole run

### 💡 Use cases

- Build a Nordic B2B prospect list filtered by industry code and municipality.
- Run a KYC or supplier check against the authoritative Norwegian register.
- Track new company registrations in an industry over time.
- Screen a partner list for bankruptcy and liquidation flags before contracting.

### ⚙️ How to use it

1. Click **Try for free** at the top of the page.
2. Fill in the input form — most fields have sensible defaults.
3. Click **Start**. Output streams into the run's dataset.
4. Export from **Storage → Dataset** as JSON, CSV, or Excel — or fetch via the API.

### 📥 Input

| Field | Type | Required | Default | Notes |
|---|---|:--:|---|---|
| `nameQuery` | `string` | no | 'equinor' | Match companies whose name contains this text. Leave empty to filter by industry or location instead. |
| `industryCode` | `string` | no | '—' | Norwegian NACE code prefix, e.g. <code>62.010</code> for software consultancy. Leave empty for all industries. |
| `municipality` | `string` | no | '—' | Four-digit Norwegian municipality number, e.g. <code>0301</code> for Oslo. Leave empty for the whole country. |
| `excludeBankrupt` | `boolean` | no | False | Drop companies flagged bankrupt or under liquidation — usually what you want for a prospect list. |
| `maxResults` | `integer` | no | 100 | Stop after this many companies. Each company is one billed result row. |
| `proxyConfiguration` | `object` | no | {'useApifyProxy': False} | Brønnøysund is a public government API and does not need a proxy. Leave this off unless your account requires egress… |

#### Example input

```json
{
  "nameQuery": "equinor",
  "maxResults": 3,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

### 📤 Output

Every row is one dataset item.

| Field | Type | Notes |
|---|---|---|
| `org_number` | `string` | Norwegian organisation number. |
| `name` | `string` | Registered legal name. |
| `org_form` | `string` | Legal form code, e.g. `ASA`, `AS`, `ENK`. |
| `org_form_description` | `string` | Legal form in full. |
| `industry_code` | `string` | Primary NACE industry code. |
| `industry_description` | `string` | Primary industry description. |
| `employees` | `integer` | Registered employee count. |
| `website` | `string` | Company website, when registered. |
| `address` | `string` | Business street address, joined. |
| `postal_code` | `string` | Business postal code. |
| `city` | `string` | Business postal town. |
| `municipality` | `string` | Municipality name. |
| `founded_date` | `string` | Founding date (`YYYY-MM-DD`). |
| `registered_vat` | `boolean` | Registered in the VAT register. |
| `bankrupt` | `boolean` | Flagged bankrupt. |
| `under_liquidation` | `boolean` | Flagged under liquidation. |
| `url` | `string` | Public register page for the company. |

#### Example output

```json
{}
```

### 💰 Pricing

Pay-Per-Event — you pay only when these events fire:

| Event | USD | What it is |
|---|---:|---|
| `actor-start` | $0.05 | One-off warm-up charge per run |
| `result` | $0.002 | Per dataset item |

Example: 1 000 results at the rates above ≈ **$2.05**. No subscription, no minimum, no card to start — Apify gives every new account $5 of free credit.

### 🚧 Limitations

- Returns register data only — no financial statements or shareholder records.
- Employee counts are as self-reported to the register and are sometimes absent.

### ❓ FAQ

**Do I need an API key?**

No. Enhetsregisteret is open government data and needs no credentials.

**Is the data in Norwegian?**

The source is, but this Actor renames every field to English and flattens the nested blocks.

**Can I get every company in an industry?**

Yes — set an industry code and raise <b>Maximum companies</b>; the Actor pages until the register runs out or your limit is reached.

### 💬 Your feedback

Spotted a bug, hit a weird edge case, or need a new field? Open an
issue on the Actor's **Issues** tab on Apify Console — we ship
fixes weekly and we read every report.

***

<div align="center">

Built by **[Devil Scrapes](https://apify.com/DevilScrapes)** 😈 — a small fleet of
opinionated public-data Actors. Honest pricing, real engineering, zero fine print.

</div>

# Actor input Schema

## `nameQuery` (type: `string`):

Match companies whose name contains this text. Leave empty to filter by industry or location instead.

## `industryCode` (type: `string`):

Norwegian NACE code prefix, e.g. <code>62.010</code> for software consultancy. Leave empty for all industries.

## `municipality` (type: `string`):

Four-digit Norwegian municipality number, e.g. <code>0301</code> for Oslo. Leave empty for the whole country.

## `excludeBankrupt` (type: `boolean`):

Drop companies flagged bankrupt or under liquidation — usually what you want for a prospect list.

## `maxResults` (type: `integer`):

Stop after this many companies. Each company is one billed result row.

## `proxyConfiguration` (type: `object`):

Brønnøysund is a public government API and does not need a proxy. Leave this off unless your account requires egress through Apify Proxy.

## Actor input object example

```json
{
  "nameQuery": "equinor",
  "excludeBankrupt": false,
  "maxResults": 100,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `datasetItems` (type: `string`):

All dataset items as JSON.

## `datasetItemsCsv` (type: `string`):

Same data exported to CSV.

## `datasetView` (type: `string`):

Open the run dataset in the Console.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "nameQuery": "equinor",
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("devilscrapes/brreg-norway-companies-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "nameQuery": "equinor",
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("devilscrapes/brreg-norway-companies-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "nameQuery": "equinor",
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call devilscrapes/brreg-norway-companies-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,devilscrapes/brreg-norway-companies-scraper"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/phaamkMAEZGZTcy3R/builds/WHE1EkYgge6zqIcnP/openapi.json
