Revisoradgang Data API Developers Version 1.7.0 Help First call

Datasets

CVR companies

The dataset cvr has the companies of the Danish Central Business Register (CVR, Det Centrale Virksomhedsregister). You can get one company, get many companies in one call, or search by name.

Route Function Keys
GET /v1/cvr/companies/{cvr} One company by its CVR number 1
POST /v1/cvr/companies/lookup 1 to 500 companies by their CVR numbers The number of different CVR numbers
GET /v1/cvr/companies/search Search by name or by the first digits of a CVR number 1
Subject Value
Dataset name cvr
Source The CVR register of Erhvervsstyrelsen (the Danish Business Authority)
Mode Direct: the answer has the data
Signed declaration Not necessary
Persons None. See "What the dataset does not have"

Limits

Limit Value Above the limit
CVR numbers in one look-up 500 422 too_many_cvrs
Results of one search (limit) 50. Default: 15 422 validation_error
Length of the search text (q) 2 to 200 characters 422 validation_error

The limits of your firm (requests per minute, keys per day) are on the page Limits and quotas.

CVR numbers

A CVR number has 8 digits. The service accepts these forms and reads each of them as 12345678:

Form Example
8 digits 12345678
With the prefix DK DK12345678
With spaces or hyphens 12 34 56 78, DK-12345678

Each other text gives 422 invalid_cvr. An answer always has the CVR number as 8 digits.

What the dataset does not have

Not in the dataset Detail
Persons No owner, director or board member that is a person. parent_company_cvr gives an owner only when the owner is a company
Production units (P-units) Not in this version
Accounts Only the accounting class and the mark for consolidated accounts of the latest annual report
History Only the current values

The name of a sole proprietorship (enkeltmandsvirksomhed) can contain the name of its owner. The CVR register publishes that name as the name of the company.

A company with advertising_protection: true has advertising protection. You must not use its data to send advertisements to it.

Values that are not translated

Field names are English. These values stay as the register gives them, because the register defines them in Danish:

Field Examples of values
status NORMAL, Aktiv, OPLØST
company_form ApS, A/S
industry_text Engroshandel med træ, trælast og byggematerialer
purpose The text that the company registered
accounting_class Klasse B

The examples show the format. They are not a complete list. Do not make a fixed list of these values in your program: the register can add a value. An active company has the status NORMAL or Aktiv.

Field names: Danish and English

The register and our internal register service use Danish names. This table gives the Danish name for each field of a company.

Danish name Field
cvr cvr
navn name
binavne secondary_names
adresse address.full
vejnavn address.street
husnummer address.house_number
postnummer address.postal_code
by address.city
kommune address.municipality
branchekode industry_code
branchetekst industry_text
formaal purpose
virksomhedsform company_form
status status
stiftet founded_date
ophoert ceased_date
email email
telefon phone
hjemmeside website
reklamebeskyttet advertising_protection
antal_ansatte employees
antal_aarsvaerk full_time_equivalents
kapital capital
kapital_valuta capital_currency
revision_fravalgt audit_waived
stoerrelse size_class
i_koncern in_group
moderselskab_cvr parent_company_cvr
moderselskab_navn parent_company_name
antal_datterselskaber subsidiary_count
koncernregnskab consolidated_accounts
regnskabsklasse accounting_class
kilde coverage

A result of a search has 5 of these fields:

Danish name Field of a search result
cvr cvr
navn name
by city
status status
virksomhedsform company_form

Two fields have a fixed list of values. These values are English:

Field Danish value Value
size_class mikro micro
size_class lille small
size_class mellem medium
size_class stor large
size_class ukendt unknown
coverage virksomheder full
coverage cvr_enheder basic

Errors of this dataset

Status Code Cause
404 cvr_not_found GET /v1/cvr/companies/{cvr}: the register has no company with this number
422 invalid_cvr A CVR number does not have 8 digits. For a look-up, the message gives the positions in the list, for example cvrs[3]
422 too_many_cvrs A look-up has more than 500 CVR numbers

A look-up does not give 404. A number that the register does not have is in the list not_found of the answer.

All codes are on the page Errors.

Reference

GET /v1/cvr/companies/search

Search companies

Find companies by name or by the first digits of a CVR number.

A name search gives names that start with the text first, then names that contain it, then names that are similar to it. A search counts as 1 key.

Parameters

NameInTypeRequiredContentExample
qquerystringYesA name or a part of a name, or the first 2 to 8 digits of a CVR number. 2 to 200 characters."example trading"
limitqueryintegerNo (default 15)The maximum number of results: 1 to 50.10
activequerybooleanNo (default false)true gives only companies with an active status (NORMAL or Aktiv). false gives all companies.true

Example request

curl -s "https://data-test.revisoradgang.dk/v1/cvr/companies/search?q=example%20trading&limit=10&active=true" \
  -H "Authorization: Bearer $RA_TOKEN"

Response 200

FieldTypeContentExample
companiesarray of objectThe results, best first. Empty when no company fits.
companies[].cvrstringThe CVR number: 8 digits."12345678"
companies[].namestringThe registered name."Example Trading ApS"
companies[].citystring or nullThe postal district."Aarhus C"
companies[].statusstring or nullThe status, as the register gives it."NORMAL"
companies[].company_formstring or nullThe legal form (virksomhedsform), as the register gives it."ApS"
Example response
{
  "companies": [
    {
      "cvr": "12345678",
      "name": "Example Trading ApS",
      "city": "Aarhus C",
      "status": "NORMAL",
      "company_form": "ApS"
    },
    {
      "cvr": "87654321",
      "name": "Example Holding ApS",
      "city": "Aarhus C",
      "status": "NORMAL",
      "company_form": "ApS"
    }
  ]
}

Errors

StatusCodeExample message
401invalid_tokenThe token is missing, not correct, revoked or expired.
403client_suspendedThe client is suspended.
403dataset_not_enabledThe dataset is not enabled for the client.
403ip_not_allowedThe IP address of the request is not in the IP list of the token.
403origin_not_allowedThe request did not come through the public address of the service.
422validation_errorThe request is not valid. body.cvrs: Field required
429rate_limitedThe request limit is reached. Try again after the time in Retry-After.
429source_rate_limitedThe source register is at its call limit. Try again after the time in Retry-After.
500internal_errorAn internal error occurred.
502source_unavailableThe source register did not answer.

GET /v1/cvr/companies/{cvr}

Get one company

Get one company by its CVR number. The call counts as 1 key.

Parameters

NameInTypeRequiredContentExample
cvrpathstringYesThe CVR number: 8 digits. The prefix DK, spaces and hyphens are accepted."12345678"

Example request

curl -s "https://data-test.revisoradgang.dk/v1/cvr/companies/12345678" \
  -H "Authorization: Bearer $RA_TOKEN"

Response 200

FieldTypeContentExample
cvrstringThe CVR number: 8 digits."12345678"
namestringThe registered name."Example Trading ApS"
secondary_namesarray of stringThe secondary names (binavne) of the company. Empty when it has none.["Example Import", "Example Nordic"]
addressobjectThe address of the company.
address.fullstring or nullThe address as one line: street, house number, postal code and city."Havnegade 12A, 8000 Aarhus C"
address.streetstring or nullThe street name."Havnegade"
address.house_numberstring or nullThe house number, with a letter when the address has one."12A"
address.postal_codestring or nullThe postal code."8000"
address.citystring or nullThe postal district."Aarhus C"
address.municipalitystring or nullThe municipality."Aarhus"
industry_codestring or nullThe code of the main industry (branchekode, DB07 or DB25)."467300"
industry_textstring or nullThe text of the main industry, in Danish."Engroshandel med træ, trælast og byggematerialer"
purposestring or nullThe purpose of the company as it is registered, in Danish."Selskabets formål er at drive handel og dermed beslægtet virksomhed."
company_formstring or nullThe legal form (virksomhedsform), as the register gives it."ApS"
statusstring or nullThe status, as the register gives it. NORMAL and Aktiv are the values of an active company."NORMAL"
founded_datestring (date) or nullThe date of foundation."2012-03-01"
ceased_datestring (date) or nullThe date when the company ceased. null for a company that exists.null
emailstring or nullThe registered e-mail address."info@example.com"
phonestring or nullThe registered telephone number."70123456"
websitestring or nullThe registered website."www.example.com"
advertising_protectionboolean or nulltrue when the company has advertising protection (reklamebeskyttelse): you must not use its data to send advertisements to it.true
employeesinteger or nullThe latest registered number of employees.34
full_time_equivalentsnumber or nullThe latest registered number of full-time equivalents (årsværk).31.5
capitalnumber or nullThe registered capital, in the currency of capital_currency.125000.0
capital_currencystring or nullThe currency of capital (ISO 4217)."DKK"
audit_waivedboolean or nulltrue when the company has opted out of audit (revision fravalgt).false
size_classstring: micro, small, medium, large, unknownThe size class. From the number of employees: fewer than 10 is micro, fewer than 50 is small, fewer than 250 is medium, more is large. When the number is not known, from accounting_class. unknown when neither is known."small"
in_groupbooleantrue when the company has a parent company, has a subsidiary, or its latest annual report has consolidated accounts.true
parent_company_cvrstring or nullThe CVR number of the company with the largest active ownership share. null when no company is an owner. An owner that is a person is never given."87654321"
parent_company_namestring or nullThe name of the company of parent_company_cvr."Example Holding ApS"
subsidiary_countintegerThe number of companies in which this company has an active ownership share.0
consolidated_accountsboolean or nulltrue when the latest annual report has consolidated accounts. null when the register has no annual report.false
accounting_classstring or nullThe accounting class (regnskabsklasse) of the latest annual report, as the report gives it."Klasse B"
coveragestring: full, basicfull: the complete record. basic: the register has only the name, the status, the legal form and a part of the address; the other fields are null."full"
Example response
{
  "cvr": "12345678",
  "name": "Example Trading ApS",
  "secondary_names": [
    "Example Import",
    "Example Nordic"
  ],
  "address": {
    "full": "Havnegade 12A, 8000 Aarhus C",
    "street": "Havnegade",
    "house_number": "12A",
    "postal_code": "8000",
    "city": "Aarhus C",
    "municipality": "Aarhus"
  },
  "industry_code": "467300",
  "industry_text": "Engroshandel med træ, trælast og byggematerialer",
  "purpose": "Selskabets formål er at drive handel og dermed beslægtet virksomhed.",
  "company_form": "ApS",
  "status": "NORMAL",
  "founded_date": "2012-03-01",
  "email": "info@example.com",
  "phone": "70123456",
  "website": "www.example.com",
  "advertising_protection": true,
  "employees": 34,
  "full_time_equivalents": 31.5,
  "capital": 125000.0,
  "capital_currency": "DKK",
  "audit_waived": false,
  "size_class": "small",
  "in_group": true,
  "parent_company_cvr": "87654321",
  "parent_company_name": "Example Holding ApS",
  "subsidiary_count": 0,
  "consolidated_accounts": false,
  "accounting_class": "Klasse B",
  "coverage": "full"
}

Errors

StatusCodeExample message
401invalid_tokenThe token is missing, not correct, revoked or expired.
403client_suspendedThe client is suspended.
403dataset_not_enabledThe dataset is not enabled for the client.
403ip_not_allowedThe IP address of the request is not in the IP list of the token.
403origin_not_allowedThe request did not come through the public address of the service.
404cvr_not_foundThe register has no company with this CVR number.
422invalid_cvrA CVR number has 8 digits.
422validation_errorThe request is not valid. body.cvrs: Field required
429rate_limitedThe request limit is reached. Try again after the time in Retry-After.
429source_rate_limitedThe source register is at its call limit. Try again after the time in Retry-After.
500internal_errorAn internal error occurred.
502source_unavailableThe source register did not answer.

POST /v1/cvr/companies/lookup

Get many companies

Get the companies of 1 to 500 CVR numbers in one call.

The answer has the companies in the sequence of the request. A number that the register does not have is in not_found; the call does not fail for it. Each different number counts as 1 key.

Request body

FieldTypeContentExample
cvrsarray of string1 to 500 CVR numbers. Each number has 8 digits; the prefix DK, spaces and hyphens are accepted. A number that is there two times counts one time.["12345678", "DK 87654321", "11223344"]

Example request

curl -s -X POST "https://data-test.revisoradgang.dk/v1/cvr/companies/lookup" \
  -H "Authorization: Bearer $RA_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"cvrs": ["12345678", "DK 87654321", "11223344"]}'

Response 200

FieldTypeContentExample
companiesarray of objectThe companies that the register has, in the sequence of the request.
companies[].cvrstringThe CVR number: 8 digits."12345678"
companies[].namestringThe registered name."Example Trading ApS"
companies[].secondary_namesarray of stringThe secondary names (binavne) of the company. Empty when it has none.["Example Import", "Example Nordic"]
companies[].addressobjectThe address of the company.
companies[].address.fullstring or nullThe address as one line: street, house number, postal code and city."Havnegade 12A, 8000 Aarhus C"
companies[].address.streetstring or nullThe street name."Havnegade"
companies[].address.house_numberstring or nullThe house number, with a letter when the address has one."12A"
companies[].address.postal_codestring or nullThe postal code."8000"
companies[].address.citystring or nullThe postal district."Aarhus C"
companies[].address.municipalitystring or nullThe municipality."Aarhus"
companies[].industry_codestring or nullThe code of the main industry (branchekode, DB07 or DB25)."467300"
companies[].industry_textstring or nullThe text of the main industry, in Danish."Engroshandel med træ, trælast og byggematerialer"
companies[].purposestring or nullThe purpose of the company as it is registered, in Danish."Selskabets formål er at drive handel og dermed beslægtet virksomhed."
companies[].company_formstring or nullThe legal form (virksomhedsform), as the register gives it."ApS"
companies[].statusstring or nullThe status, as the register gives it. NORMAL and Aktiv are the values of an active company."NORMAL"
companies[].founded_datestring (date) or nullThe date of foundation."2012-03-01"
companies[].ceased_datestring (date) or nullThe date when the company ceased. null for a company that exists.null
companies[].emailstring or nullThe registered e-mail address."info@example.com"
companies[].phonestring or nullThe registered telephone number."70123456"
companies[].websitestring or nullThe registered website."www.example.com"
companies[].advertising_protectionboolean or nulltrue when the company has advertising protection (reklamebeskyttelse): you must not use its data to send advertisements to it.true
companies[].employeesinteger or nullThe latest registered number of employees.34
companies[].full_time_equivalentsnumber or nullThe latest registered number of full-time equivalents (årsværk).31.5
companies[].capitalnumber or nullThe registered capital, in the currency of capital_currency.125000.0
companies[].capital_currencystring or nullThe currency of capital (ISO 4217)."DKK"
companies[].audit_waivedboolean or nulltrue when the company has opted out of audit (revision fravalgt).false
companies[].size_classstring: micro, small, medium, large, unknownThe size class. From the number of employees: fewer than 10 is micro, fewer than 50 is small, fewer than 250 is medium, more is large. When the number is not known, from accounting_class. unknown when neither is known."small"
companies[].in_groupbooleantrue when the company has a parent company, has a subsidiary, or its latest annual report has consolidated accounts.true
companies[].parent_company_cvrstring or nullThe CVR number of the company with the largest active ownership share. null when no company is an owner. An owner that is a person is never given."87654321"
companies[].parent_company_namestring or nullThe name of the company of parent_company_cvr."Example Holding ApS"
companies[].subsidiary_countintegerThe number of companies in which this company has an active ownership share.0
companies[].consolidated_accountsboolean or nulltrue when the latest annual report has consolidated accounts. null when the register has no annual report.false
companies[].accounting_classstring or nullThe accounting class (regnskabsklasse) of the latest annual report, as the report gives it."Klasse B"
companies[].coveragestring: full, basicfull: the complete record. basic: the register has only the name, the status, the legal form and a part of the address; the other fields are null."full"
not_foundarray of stringThe CVR numbers that the register does not have.["11223344"]
Example response
{
  "companies": [
    {
      "cvr": "12345678",
      "name": "Example Trading ApS",
      "secondary_names": [
        "Example Import",
        "Example Nordic"
      ],
      "address": {
        "full": "Havnegade 12A, 8000 Aarhus C",
        "street": "Havnegade",
        "house_number": "12A",
        "postal_code": "8000",
        "city": "Aarhus C",
        "municipality": "Aarhus"
      },
      "industry_code": "467300",
      "industry_text": "Engroshandel med træ, trælast og byggematerialer",
      "purpose": "Selskabets formål er at drive handel og dermed beslægtet virksomhed.",
      "company_form": "ApS",
      "status": "NORMAL",
      "founded_date": "2012-03-01",
      "email": "info@example.com",
      "phone": "70123456",
      "website": "www.example.com",
      "advertising_protection": true,
      "employees": 34,
      "full_time_equivalents": 31.5,
      "capital": 125000.0,
      "capital_currency": "DKK",
      "audit_waived": false,
      "size_class": "small",
      "in_group": true,
      "parent_company_cvr": "87654321",
      "parent_company_name": "Example Holding ApS",
      "subsidiary_count": 0,
      "consolidated_accounts": false,
      "accounting_class": "Klasse B",
      "coverage": "full"
    },
    {
      "cvr": "87654321",
      "name": "Example Holding ApS",
      "secondary_names": [],
      "address": {
        "full": "Havnegade 12A, 8000 Aarhus C",
        "street": "Havnegade",
        "house_number": "12A",
        "postal_code": "8000",
        "city": "Aarhus C",
        "municipality": "Aarhus"
      },
      "industry_code": "642120",
      "industry_text": "Ikke-finansielle holdingselskaber",
      "company_form": "ApS",
      "status": "NORMAL",
      "founded_date": "2012-03-01",
      "email": "info@example.com",
      "phone": "70123456",
      "website": "www.example.com",
      "advertising_protection": false,
      "employees": 0,
      "full_time_equivalents": 0.0,
      "capital": 40000.0,
      "capital_currency": "DKK",
      "audit_waived": false,
      "size_class": "micro",
      "in_group": true,
      "subsidiary_count": 1,
      "consolidated_accounts": false,
      "accounting_class": "Klasse B",
      "coverage": "full"
    }
  ],
  "not_found": [
    "11223344"
  ]
}

Errors

StatusCodeExample message
401invalid_tokenThe token is missing, not correct, revoked or expired.
403client_suspendedThe client is suspended.
403dataset_not_enabledThe dataset is not enabled for the client.
403ip_not_allowedThe IP address of the request is not in the IP list of the token.
403origin_not_allowedThe request did not come through the public address of the service.
422invalid_cvrA CVR number has 8 digits.
422too_many_cvrsOne call accepts a maximum of 500 CVR numbers.
422validation_errorThe request is not valid. body.cvrs: Field required
429rate_limitedThe request limit is reached. Try again after the time in Retry-After.
429source_rate_limitedThe source register is at its call limit. Try again after the time in Retry-After.
500internal_errorAn internal error occurred.
502source_unavailableThe source register did not answer.