Reference
Versions and changes
The version of the API is in the path: /v1. The contract of a version is the file
/openapi.json. This page gives the rules for a change, and each change of
the contract.
What can change in /v1
/v1 only adds. Your program continues to work when we add something.
| Change | In /v1 |
Your program must |
|---|---|---|
| A new route or a new dataset | Yes | Do nothing |
| A new field in a response | Yes | Ignore a field that it does not know |
| A new optional parameter or optional field in a request | Yes | Do nothing |
| A new error code | Yes | Use the status for a code that it does not know |
A new value of a field without a fixed list of values, for example status of a company |
Yes | Accept a value that it does not know |
| A correction of the text of a description or a message | Yes | Not parse a message |
| A higher limit | Yes | Do nothing |
What needs /v2
| Change | In /v1 |
|---|---|
| The removal of a route, a field or a parameter | No |
| A new name for a field | No |
| A change of the type or the meaning of a field | No |
| A new mandatory parameter | No |
A new value of a field with a fixed list of values (an enum in openapi.json) |
No |
| A change of the meaning or the status of an error code | No |
| A lower limit of a route | No |
When a /v2 comes, /v1 continues to work for a period that we tell you in advance.
Version numbers
The contract has a version number with three parts, for example 1.2.0. It is in the field
info.version of /openapi.json.
| Part | Changes when |
|---|---|
| First | The path changes: 1 is /v1 |
| Second | We add a route, a field, a parameter, a value or an error code |
| Third | We correct a text or an example |
Each entry below has a contract checksum: the first 16 characters of the SHA-256 hash of the
formatted document. The service sends /openapi.json without spaces and line breaks, so format
your copy first. Keep the sequence of the fields, use 2 spaces for each level, and end the file
with a line break. This command does it and prints the checksum of your copy:
jq . openapi.json | shasum -a 256 | cut -c1-16
Compare the result with the entries to see which version you have.
Changes
The newest change is first.
1.7.0 (2026-11-24)
Contract checksum: 6022164372bf7500
- A key that fails keeps the registers that the service read
(A partial result). New route
GET /v1/jobs/{id}/items/{item_id}/partial, and new error codeno_partial_result. - New fields
missingandpartial_pathin each key of a job, andpartialin each key ofGET /v1/jobs/{id}/results. - A register that fails does not stop the other registers of the key.
- The status and the address of a complete result did not change: a failed key is
failed.
1.6.0 (2026-11-24)
Contract checksum: 5ea464dae35fd236
- New route for Jobs:
GET /v1/jobs/{id}/results, all results of a job in pages. New error codeinvalid_cursor. - A key with a CVR number that does not exist gets the error
cvr_not_found, without new attempts (Errors of a key). Before, it gotsource_unavailableafter 3 attempts. The direct look-up of one company gives404 cvr_not_foundfor it. - New field
charges_completeintingbogand in each of its properties (Tinglysning). It isfalsewhen the service could not read a property. Read it before you tell a user that a property has no charge. - New field
limitin each error: the limit that your firm reached, for429 rate_limited(Limits). It isnullfor each other error. - The documentation has the measured time of a job, the host of production and the difference
between the two
409codes.
1.5.0 (2026-11-24)
Contract checksum: 81f553f1728b8b42
- New error
503 record_unavailableon the routes that give data of Tinglysning: the service cannot record the call (Records of calls). The record is on in the test environment only.
1.4.0 (2026-11-23)
Contract checksum: 2c41a98b94c98dee
- New limit of the PDF download: 1 download at a time
for your firm. A second one gets
429 rate_limitedand counts no key. - The sequence of the work: the firms take turns also for direct look-ups. A direct look-up goes before the other keys of your firm, and not before the keys of a different firm that has its turn.
- No new route, field or error code.
1.3.0 (2026-11-23)
Contract checksum: 402a9e0639dc8828
- New field
charges_not_readinbilbogof a company result (Tinglysning): the vehicles whose charges the service did not read. - New field
other_charges_completeinbilbogof a vehicle result. charges_completeof the two results is now alsofalsewhen the source did not answer for the charges of a vehicle. Before, it wasfalseonly above the limit of 20 vehicles. Read it before you tell a user that a vehicle has no charge.
1.2.0 (2026-11-20)
Contract checksum: a870c7f7f6840b3e
- New dataset Vehicles (DMR) with one route:
POST /v1/dmr/vehicles/lookup. The body has a registration number or a chassis number. - New route in Tinglysning:
POST /v1/tinglysning/vehicles/lookup, the Bilbog of one vehicle. The answer is200with the result, or202with a job. A request with a registration number needs the datasetstinglysninganddmr. - New route for Jobs:
GET /v1/jobs/{id}/items/{item_id}, the result of one item by the id of the item. A registration number or a chassis number is never in an address. - New fields
item_idandresult_pathin each key of a job (GET /v1/jobs/{id}, and each202answer). - New error codes:
vehicle_number_required,invalid_registration_number,invalid_chassis_number,item_not_found. - The message of
dataset_not_enablednow names the dataset. - No change of the dataset CVR companies, and no change of the other routes of Tinglysning.
1.1.0 (2026-11-20)
Contract checksum: 146375ecb1c6b0d0
- New dataset Tinglysning with three routes:
POST /v1/tinglysning/lookups,GET /v1/tinglysning/companies/{cvr}andGET /v1/tinglysning/documents/{uuid}/pdf. The registers arepersonbog,bilbogandtingbog. - New routes for Jobs:
GET /v1/jobs/{id}andGET /v1/jobs/{id}/results/{key}. - New error codes:
job_not_found,key_not_found,result_not_ready,lookup_failed,unknown_register,invalid_document_id,document_not_available,pdf_not_available. - No change of the dataset CVR companies.
1.0.0 (2026-11-20)
Contract checksum: be4de5beae9c8835
- The first version of the API.
- New dataset CVR companies with three routes:
GET /v1/cvr/companies/{cvr},POST /v1/cvr/companies/lookupandGET /v1/cvr/companies/search. - New error codes:
cvr_not_found,invalid_cvr,too_many_cvrs.