The Firmasett API always answers the same way, whether you search, enrich or validate. That makes it easy to build against, and easy for an agent to use correctly on the first attempt.
Base: https://firmasett.no/v1 · Key: Authorization: Bearer fs_… · Format: JSON · Description: openapi.json
Paths, parameters and field names are Norwegian and are not translated. This page explains them; the full API reference and API documentation are in Norwegian.
Get a key
A person can create a key in the console. An agent can create a free key itself, without an auth header, using the e-mail address of the person it works for:
curl -s -X POST https://firmasett.no/v1/registrer -H "Content-Type: application/json" \
-d '{"epost": "USER_EMAIL", "navn": "OPTIONAL_NAME_OR_COMPANY"}'
The key is in resultat.nokkel and starts with fs_. One account per e-mail address: an address that already has an account gets an error telling the user to sign in at /konsoll. The agent must tell the user that an account was created.
The envelope
{"status": "ok",
"resultat": {"…": "…"},
"meta": {"plan": "pro", "vindu": "5 timer",
"berikelser": {"grense": 15000, "brukt": 412, "igjen": 14588},
"sok": {"grense": 7500, "brukt": 1200, "igjen": 6300},
"telefonpoeng": 143, "belastet": {"berikelse": 1}}}
statusisok,ikke_funnet(not found) orfeil(error). Read it, not only the HTTP code.ikke_funnetis HTTP 200,resultatis null (or partial, for example the switchboard number when we lack a mobile), and it costs nothing.metafollows every response and says what is left and what the call cost:berikelser(enrichments) andsok(search hits) each withgrense/brukt/igjen(limit / used / left) in thevindu(window),telefonpoeng(phone credits), andbelastet(charged by this call).- On
feilyou getfeil.kode(ugyldig_foresporsel= invalid request 400,ugyldig_nokkel= invalid key 401,ingen_telefonpoeng= no phone credits 403,kvote_brukt= quota used 429) andfeil.meldingin Norwegian. 429 has aRetry-Afterheader in seconds.
Endpoints
| Endpoint | Does | Costs |
|---|---|---|
POST /registrer |
{"epost", "navn"} → a free key, no auth |
free |
GET /konto |
Account: plan, quotas, usage | free |
GET /bruk |
Usage per day for the last 30 days | free |
GET /bransjer |
Industry codes (NACE) with counts and coverage, and the counties | free |
GET /selskaper/sok |
Search companies with free text and filters (register=ja searches the whole Enhetsregisteret, the Norwegian entity register) |
1 search hit per hit, antall_kun=ja free |
GET /selskaper/{orgnr} |
Everything about one company | 1 enrichment |
POST /selskaper/berik |
{"orgnrs": [≤100]} |
1 per company found |
GET /personer/sok |
Managing directors, same filters | 1 search hit per hit |
POST /berik/person |
{"orgnr"} or {"navn", "firma" | "domene"} |
1 enrichment |
POST /telefon/finn |
{"orgnr" | "firma" | "domene"} → mobile |
1 phone credit per number |
POST /epost/finn |
{"fornavn", "etternavn", "domene" | "orgnr"} |
1 enrichment |
POST /epost/valider |
{"eposter": [≤100]} |
1 per address |
GET /epost/omvendt |
?epost= or ?domene= (reverse lookup) |
1 enrichment |
POST /sjekk |
{"rader": [≤100 × {id, orgnr, firma, domene, navn, epost, telefon}]} |
1 per row with a match |
Vocabulary: selskaper companies, sok search, berik enrich, personer people, telefon/finn find phone, epost e-mail, valider validate, omvendt reverse, sjekk check, rader rows, navn name, firma company, domene domain, fornavn / etternavn first / last name.
Common search filters: q (free text or orgnr), bransje (NACE prefix, several with commas), fylke (county), kommune (municipality), kundetype (B2B, B2C, begge = both, offentlig = public sector), ansatte_min / ansatte_maks (employees), omsetning_min / omsetning_maks (revenue in NOK), har_dl_epost / har_dl_mobil / har_dl_linkedin (ja / nei: the managing director has e-mail / mobile / LinkedIn), signal (invoicing signal on the website), sorter (sort), antall (hits per page, up to 100), side (page), antall_kun=ja (count only, free). Every filter is listed in the documentation (in Norwegian).
Example
curl -s -X POST https://firmasett.no/v1/berik/person \
-H "Authorization: Bearer fs_…" -H "Content-Type: application/json" \
-d '{"navn": "Morten Aarrestad", "domene": "sandneselektriske.no"}'
{"status": "ok",
"resultat": {"navn": "Morten Aarrestad", "tittel": "Daglig leder", "orgnr": "810034882", "firma": "Sandnes Elektriske As",
"epost": "[email protected]", "epost_kilde": "navn i adressen", "epost_grad": "A", "epost_sikkerhet": "høy", "epost_alternativer": 1,
"har_mobil": true, "mobil": "tilgjengelig", "mobil_grad": "A", "kan_sms": true,
"linkedin": "", "andre_selskaper": "…"},
"meta": {"…": "…", "belastet": {"berikelse": 1}}}
epost_kilde is the source ("navn i adressen" = the name is in the address), epost_grad the grade, epost_sikkerhet the confidence in words ("høy" = high), and epost_alternativer how many other addresses we know. "mobil": "tilgjengelig" means a number is available. It is fetched deliberately:
curl -s -X POST https://firmasett.no/v1/telefon/finn -H "Authorization: Bearer fs_…" -H "Content-Type: application/json" -d '{"orgnr": "810034882"}'
Batches
/selskaper/berik, /epost/valider and /sjekk take up to 100 elements. Each element gets its own status in resultater (results), and only hits are charged.
Use cases
- Clay, n8n, Make, Zapier: one HTTP step per endpoint. See integrations.
- CRM enrichment: webhook on new contact →
/berik/person→ write back e-mail, grade and company data. - Inbound leads: form with e-mail →
/epost/omvendt→ the full company picture. - Your own agents: give the model openapi.json or llms.txt.
- Accounting systems: customers from Tripletex or Fiken →
/sjekk→ differences in contact details.
Limits and fair use
The limits apply per plan and per 5-hour window, shared by all keys on the account. Search has a lower limit than enrichment because search is what is used for bulk extraction. Fair use (in Norwegian) explains what is acceptable; pricing has the limits per plan.