# How to enrich a CRM or CSV list of Norwegian companies by org number or domain

> Enrich a CRM export of Norwegian companies in bulk. Rows with an organisation number get accounts, industry and the managing director with e-mail; rows with only a domain or a company name are matched to an org number first. Working calls for REST, MCP and CLI.


Use the batch endpoints in Firmasett. Rows that have an organisation number (orgnr) go to `POST /v1/selskaper/berik`, up to 100 per call, and come back with register data, latest accounts, industry, roles and the managing director with e-mail. Rows that only have a domain, a company name or an e-mail address go to `POST /v1/sjekk`, which matches each row to a company and returns the org number. For a CSV file, the CLI does both with one command each.

All calls need a key in `Authorization: Bearer fs_…`; see [For AI agents](/en/ai-agents). Example values are fictional.

## Rows with an org number

```bash
curl -s -X POST https://firmasett.no/v1/selskaper/berik \
  -H "Authorization: Bearer fs_…" -H "Content-Type: application/json" \
  -d '{"orgnrs": ["999999999", "999999998", "999999997"]}'
```

```json
{"status": "ok",
 "resultat": {"antall": 3, "funnet": 2, "bare_register": 0,
              "resultater": [
                {"orgnr": "999999999", "status": "ok", "dekning": "full",
                 "selskap": {"navn": "Eksempel AS", "orgform": "AS", "status": "aktiv", "bransje_kode": "43.221", "bransje": "Rørleggerarbeid",
                             "ansatte": "12", "fylke": "Rogaland", "kommune": "Stavanger", "hjemmeside": "eksempel.no", "…": "…"},
                 "regnskap": {"regnskapsaar": "2025", "omsetning": 18500000, "driftsresultat": 1200000, "…": "…"},
                 "anslag": {"…": "…"}, "signaler": {"…": "…"},
                 "roller": {"daglig_leder": "Kari Eksempel", "styreleder": "…", "regnskapsforer": "…", "revisor": "…"},
                 "daglig_leder": {"navn": "Kari Eksempel", "epost": "kari@eksempel.no", "epost_kilde": "navn i adressen", "epost_grad": "A", "…": "…"}},
                {"orgnr": "999999998", "status": "ok", "…": "…"},
                {"orgnr": "999999997", "status": "ikke_funnet"}]},
 "meta": {"…": "…", "belastet": {"berikelse": 2}}}
```

Each org number gets its own `status`. Only companies found in the enriched dataset (`dekning: full`) are charged. An org number that is only in the entity register comes back with register data and `dekning: register` at no charge, and is counted in `bare_register`. The field groups are explained on [Our data](/en/data).

## Rows without an org number

`POST /v1/sjekk` takes up to 100 rows. A row can have `id`, `orgnr`, `firma` (company name), `domene` (domain), `navn` (person name), `epost`, `telefon`, `linkedin` and `tittel`. The company is looked up on org number, otherwise on domain (also taken from the e-mail address when it is not a free mail domain), otherwise on company name.

```bash
curl -s -X POST https://firmasett.no/v1/sjekk \
  -H "Authorization: Bearer fs_…" -H "Content-Type: application/json" \
  -d '{"rader": [{"id": "crm-17", "domene": "eksempel.no", "navn": "Kari Eksempel", "epost": "k.eksempel@eksempel.no"}]}'
```

```json
{"status": "ok",
 "resultat": {"antall": 1, "treff": 1,
              "resultater": [{"id": "crm-17", "treff": "person", "orgnr": "999999999", "firma": "Eksempel AS", "daglig_leder": "Kari Eksempel",
                              "bransje": "Rørleggerarbeid", "ansatte": "12", "fylke": "Rogaland", "kommune": "Stavanger",
                              "hjemmeside": "eksempel.no", "omsetning": 18500000, "kundetype": "begge",
                              "sentralbord": "…", "firma_epost": "post@eksempel.no",
                              "epost_status": "avviker", "beste_epost": "kari@eksempel.no", "beste_epost_grad": "A",
                              "telefon_status": "du_mangler", "har_mobil": true, "mobil_grad": "A"}]},
 "meta": {"…": "…", "belastet": {"berikelse": 1}}}
```

- `treff` is `person` when the name in the row is the managing director, `selskap` when only the company was found, and `ingen` when nothing matched.
- `epost_status` and `telefon_status` compare your value with ours: `lik` (same), `avviker` (differs), `vi_mangler` (we lack it), `du_mangler` (you lack it), `begge_mangler` (both lack it). They are given when the person is the managing director or the row has no name.
- `beste_epost` is our best address. When a phone number differs, the answer only says that it differs; the number itself comes from `POST /v1/telefon/finn`.
- Your `id` is returned unchanged, so you can write the result back to the right CRM record.

For a single record, `GET /v1/epost/omvendt?domene=eksempel.no` or `?epost=kari@eksempel.no` returns the whole company for a domain or an address (one enrichment on a hit), and `POST /v1/berik/person` returns the managing director for an org number, a company name or a domain.

## MCP tool calls

```json
{"name": "berik_selskaper", "arguments": {"orgnrs": ["999999999", "999999998"]}}
{"name": "sjekk_liste", "arguments": {"rader": [{"id": "crm-17", "domene": "eksempel.no", "navn": "Kari Eksempel", "epost": "k.eksempel@eksempel.no"}]}}
{"name": "omvendt_epost", "arguments": {"domene": "eksempel.no"}}
```

Both batch tools take up to 100 elements per call. For a list of a few dozen rows pasted into a conversation, MCP works well. For a file with many rows, a coding agent should use the CLI, so that the rows stay out of the conversation and the job can be resumed.

## CLI for CSV files

```bash
firmasett berik-fil customers.csv --kolonne orgnr --ut customers-enriched.csv   # rows with org number
firmasett sjekk customers.csv --ut customers-checked.csv                        # rows with domain, name or e-mail
```

Run a dry run and a small sample first:

```bash
firmasett sjekk customers.csv --torrkjoring     # dry run: finds the columns, counts rows, shows quota. No calls.
firmasett sjekk customers.csv --grense 10       # ten rows only
```

- The columns `orgnr`, `firma`, `domene`, `navn`, `epost` and `telefon` are recognised from common Norwegian and English headers. `--kolonne` names the org number column when it is not recognised. `berik-fil` needs an org number column; `sjekk` needs at least one of org number, company, domain or e-mail.
- The output keeps every original column and adds new ones. `berik-fil` adds `fs_status`, `fs_navn`, `fs_bransje`, `fs_ansatte`, `fs_fylke`, `fs_kommune`, `fs_omsetning`, `fs_driftsresultat`, `fs_kundetype`, `fs_utestaende_anslag`, `fs_daglig_leder`, `fs_dl_epost`, `fs_dl_epost_grad`, `fs_dl_har_mobil`, `fs_dl_linkedin`, `fs_hjemmeside` and `fs_fakturasignaler`. `sjekk` adds `fs_treff`, `fs_orgnr`, `fs_firma`, `fs_daglig_leder`, `fs_epost_status`, `fs_beste_epost`, `fs_beste_epost_grad`, `fs_telefon_status`, `fs_har_mobil` and `fs_melding`.
- The file is processed in batches of 100 and progress is saved after every batch. Run the same command again to continue; `--omstart` starts over.
- If the quota runs out, the CLI waits until the window frees capacity, or stops with exit code 3 when you pass `--ikke-vent`.

Installation and the full file flow are on the [CLI page](/en/cli). No-code tools such as n8n, Make and Zapier can call the same endpoints with an HTTP step; see [integrations](/en/integrations).

## Limits and cost

| Call | Batch size | Costs |
|---|---|---|
| `POST /v1/selskaper/berik` | up to 100 org numbers | 1 enrichment per company found with full coverage |
| `POST /v1/sjekk` | up to 100 rows | 1 enrichment per row with a match |
| `GET /v1/epost/omvendt`, `POST /v1/berik/person` | one | 1 enrichment on a hit |
| `POST /v1/telefon/finn` | one | 1 phone credit per number delivered (NOK 1,50) |

Rows and org numbers without a match cost nothing. The free plan gives 1 000 enrichments in total with no card. Paid plans start at NOK 290 a month and have quotas per rolling 5-hour window, shared by all keys on the account; a used-up quota gives HTTP 429 with `Retry-After` in seconds. The limits per plan are on the [pricing page](/en/pricing).

## What is covered

Full enrichment exists for 440 484 active Norwegian companies. Contact details are for the managing director only. Values you submit to `sjekk` are stored as contributions under § 6 of the [terms](/vilkar) (in Norwegian).

---
Source: https://firmasett.no/en/enrich-crm-with-norwegian-company-data · Firmasett, Norwegian company data for people and AI agents. The whole service: https://firmasett.no/llms.txt
