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
| Name | In | Type | Required | Content | Example |
|---|---|---|---|---|---|
q | query | string | Yes | A name or a part of a name, or the first 2 to 8 digits of a CVR number. 2 to 200 characters. | "example trading" |
limit | query | integer | No (default 15) | The maximum number of results: 1 to 50. | 10 |
active | query | boolean | No (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
| Field | Type | Content | Example |
|---|---|---|---|
companies | array of object | The results, best first. Empty when no company fits. | |
companies[].cvr | string | The CVR number: 8 digits. | "12345678" |
companies[].name | string | The registered name. | "Example Trading ApS" |
companies[].city | string or null | The postal district. | "Aarhus C" |
companies[].status | string or null | The status, as the register gives it. | "NORMAL" |
companies[].company_form | string or null | The 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
| Status | Code | Example message |
|---|---|---|
| 401 | invalid_token | The token is missing, not correct, revoked or expired. |
| 403 | client_suspended | The client is suspended. |
| 403 | dataset_not_enabled | The dataset is not enabled for the client. |
| 403 | ip_not_allowed | The IP address of the request is not in the IP list of the token. |
| 403 | origin_not_allowed | The request did not come through the public address of the service. |
| 422 | validation_error | The request is not valid. body.cvrs: Field required |
| 429 | rate_limited | The request limit is reached. Try again after the time in Retry-After. |
| 429 | source_rate_limited | The source register is at its call limit. Try again after the time in Retry-After. |
| 500 | internal_error | An internal error occurred. |
| 502 | source_unavailable | The 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
| Name | In | Type | Required | Content | Example |
|---|---|---|---|---|---|
cvr | path | string | Yes | The 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
| Field | Type | Content | Example |
|---|---|---|---|
cvr | string | The CVR number: 8 digits. | "12345678" |
name | string | The registered name. | "Example Trading ApS" |
secondary_names | array of string | The secondary names (binavne) of the company. Empty when it has none. | ["Example Import", "Example Nordic"] |
address | object | The address of the company. | |
address.full | string or null | The address as one line: street, house number, postal code and city. | "Havnegade 12A, 8000 Aarhus C" |
address.street | string or null | The street name. | "Havnegade" |
address.house_number | string or null | The house number, with a letter when the address has one. | "12A" |
address.postal_code | string or null | The postal code. | "8000" |
address.city | string or null | The postal district. | "Aarhus C" |
address.municipality | string or null | The municipality. | "Aarhus" |
industry_code | string or null | The code of the main industry (branchekode, DB07 or DB25). | "467300" |
industry_text | string or null | The text of the main industry, in Danish. | "Engroshandel med træ, trælast og byggematerialer" |
purpose | string or null | The purpose of the company as it is registered, in Danish. | "Selskabets formål er at drive handel og dermed beslægtet virksomhed." |
company_form | string or null | The legal form (virksomhedsform), as the register gives it. | "ApS" |
status | string or null | The status, as the register gives it. NORMAL and Aktiv are the values of an active company. | "NORMAL" |
founded_date | string (date) or null | The date of foundation. | "2012-03-01" |
ceased_date | string (date) or null | The date when the company ceased. null for a company that exists. | null |
email | string or null | The registered e-mail address. | "info@example.com" |
phone | string or null | The registered telephone number. | "70123456" |
website | string or null | The registered website. | "www.example.com" |
advertising_protection | boolean or null | true when the company has advertising protection (reklamebeskyttelse): you must not use its data to send advertisements to it. | true |
employees | integer or null | The latest registered number of employees. | 34 |
full_time_equivalents | number or null | The latest registered number of full-time equivalents (årsværk). | 31.5 |
capital | number or null | The registered capital, in the currency of capital_currency. | 125000.0 |
capital_currency | string or null | The currency of capital (ISO 4217). | "DKK" |
audit_waived | boolean or null | true when the company has opted out of audit (revision fravalgt). | false |
size_class | string: micro, small, medium, large, unknown | The 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_group | boolean | true when the company has a parent company, has a subsidiary, or its latest annual report has consolidated accounts. | true |
parent_company_cvr | string or null | The 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_name | string or null | The name of the company of parent_company_cvr. | "Example Holding ApS" |
subsidiary_count | integer | The number of companies in which this company has an active ownership share. | 0 |
consolidated_accounts | boolean or null | true when the latest annual report has consolidated accounts. null when the register has no annual report. | false |
accounting_class | string or null | The accounting class (regnskabsklasse) of the latest annual report, as the report gives it. | "Klasse B" |
coverage | string: full, basic | full: 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
| Status | Code | Example message |
|---|---|---|
| 401 | invalid_token | The token is missing, not correct, revoked or expired. |
| 403 | client_suspended | The client is suspended. |
| 403 | dataset_not_enabled | The dataset is not enabled for the client. |
| 403 | ip_not_allowed | The IP address of the request is not in the IP list of the token. |
| 403 | origin_not_allowed | The request did not come through the public address of the service. |
| 404 | cvr_not_found | The register has no company with this CVR number. |
| 422 | invalid_cvr | A CVR number has 8 digits. |
| 422 | validation_error | The request is not valid. body.cvrs: Field required |
| 429 | rate_limited | The request limit is reached. Try again after the time in Retry-After. |
| 429 | source_rate_limited | The source register is at its call limit. Try again after the time in Retry-After. |
| 500 | internal_error | An internal error occurred. |
| 502 | source_unavailable | The 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
| Field | Type | Content | Example |
|---|---|---|---|
cvrs | array of string | 1 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
| Field | Type | Content | Example |
|---|---|---|---|
companies | array of object | The companies that the register has, in the sequence of the request. | |
companies[].cvr | string | The CVR number: 8 digits. | "12345678" |
companies[].name | string | The registered name. | "Example Trading ApS" |
companies[].secondary_names | array of string | The secondary names (binavne) of the company. Empty when it has none. | ["Example Import", "Example Nordic"] |
companies[].address | object | The address of the company. | |
companies[].address.full | string or null | The address as one line: street, house number, postal code and city. | "Havnegade 12A, 8000 Aarhus C" |
companies[].address.street | string or null | The street name. | "Havnegade" |
companies[].address.house_number | string or null | The house number, with a letter when the address has one. | "12A" |
companies[].address.postal_code | string or null | The postal code. | "8000" |
companies[].address.city | string or null | The postal district. | "Aarhus C" |
companies[].address.municipality | string or null | The municipality. | "Aarhus" |
companies[].industry_code | string or null | The code of the main industry (branchekode, DB07 or DB25). | "467300" |
companies[].industry_text | string or null | The text of the main industry, in Danish. | "Engroshandel med træ, trælast og byggematerialer" |
companies[].purpose | string or null | The purpose of the company as it is registered, in Danish. | "Selskabets formål er at drive handel og dermed beslægtet virksomhed." |
companies[].company_form | string or null | The legal form (virksomhedsform), as the register gives it. | "ApS" |
companies[].status | string or null | The status, as the register gives it. NORMAL and Aktiv are the values of an active company. | "NORMAL" |
companies[].founded_date | string (date) or null | The date of foundation. | "2012-03-01" |
companies[].ceased_date | string (date) or null | The date when the company ceased. null for a company that exists. | null |
companies[].email | string or null | The registered e-mail address. | "info@example.com" |
companies[].phone | string or null | The registered telephone number. | "70123456" |
companies[].website | string or null | The registered website. | "www.example.com" |
companies[].advertising_protection | boolean or null | true when the company has advertising protection (reklamebeskyttelse): you must not use its data to send advertisements to it. | true |
companies[].employees | integer or null | The latest registered number of employees. | 34 |
companies[].full_time_equivalents | number or null | The latest registered number of full-time equivalents (årsværk). | 31.5 |
companies[].capital | number or null | The registered capital, in the currency of capital_currency. | 125000.0 |
companies[].capital_currency | string or null | The currency of capital (ISO 4217). | "DKK" |
companies[].audit_waived | boolean or null | true when the company has opted out of audit (revision fravalgt). | false |
companies[].size_class | string: micro, small, medium, large, unknown | The 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_group | boolean | true when the company has a parent company, has a subsidiary, or its latest annual report has consolidated accounts. | true |
companies[].parent_company_cvr | string or null | The 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_name | string or null | The name of the company of parent_company_cvr. | "Example Holding ApS" |
companies[].subsidiary_count | integer | The number of companies in which this company has an active ownership share. | 0 |
companies[].consolidated_accounts | boolean or null | true when the latest annual report has consolidated accounts. null when the register has no annual report. | false |
companies[].accounting_class | string or null | The accounting class (regnskabsklasse) of the latest annual report, as the report gives it. | "Klasse B" |
companies[].coverage | string: full, basic | full: 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_found | array of string | The 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
| Status | Code | Example message |
|---|---|---|
| 401 | invalid_token | The token is missing, not correct, revoked or expired. |
| 403 | client_suspended | The client is suspended. |
| 403 | dataset_not_enabled | The dataset is not enabled for the client. |
| 403 | ip_not_allowed | The IP address of the request is not in the IP list of the token. |
| 403 | origin_not_allowed | The request did not come through the public address of the service. |
| 422 | invalid_cvr | A CVR number has 8 digits. |
| 422 | too_many_cvrs | One call accepts a maximum of 500 CVR numbers. |
| 422 | validation_error | The request is not valid. body.cvrs: Field required |
| 429 | rate_limited | The request limit is reached. Try again after the time in Retry-After. |
| 429 | source_rate_limited | The source register is at its call limit. Try again after the time in Retry-After. |
| 500 | internal_error | An internal error occurred. |
| 502 | source_unavailable | The source register did not answer. |