Data in the API

What you can look up, field by field. The fields come from Motorstyrelsen's public extract of the Danish Motor Register (DMR), in the units Motorstyrelsen uses. Calculated values and EU recalls are kept apart, so you can see what is the extract's own.

How to read the data

The vehicle

The response to a lookup by plate, VIN or ID. References such as make and color come with their name and ID.

GET /v1/vehicles/plate/{plate}
Field Meaning
registrationNumber The plate, e.g. AB12345. Null when the vehicle isn't registered.
vin The VIN, as recorded.
registrationStatus Whether the vehicle is registered, deregistered or pending.
status The vehicle's status in the register, e.g. registered, scrapped or exported.
firstRegisteredOn The day of first registration.
make Make, e.g. VOLVO, with name and ID.
model Model, e.g. V60.
variant Variant, e.g. 2.0 T4.
kind Kind, e.g. Personbil (car) or Varebil (van).
color Color, e.g. Grå (grey).
primaryUsage Primary usage, e.g. Privat personkørsel (private use).
emissionStandard Emission standard, e.g. Euro 6.

Technical details

Weights, dimensions, seats and type approval.

GET /v1/vehicles/{vehicleId}/technical-details
Field Meaning
modelYear Model year.
totalWeight Permitted total weight, in kg.
ownWeight Own (empty) weight, in kg.
couplingWeightWithBrakes Largest braked trailer it may tow, in kg.
couplingWeightWithoutBrakes Largest unbraked trailer it may tow, in kg.
maximumSeats Most seats.
numberOfDoors Number of doors.
bodyType Body type, e.g. station wagon.
maximumSpeed Top speed, in km/h.
axleDistance Wheelbase, in mm.
wheelAndTire Wheels and tires, as registered.
typeApprovalNumber Type approval number.

Engine

Power, displacement, noise and odometer.

GET /v1/vehicles/{vehicleId}/engine
Field Meaning
maximumPower Maximum power, in kW.
displacement Displacement, in cm³.
cylinderCount Number of cylinders.
engineMarking Engine marking.
odometerReading Odometer in thousands of km, as Motorstyrelsen records it.
drivingNoise Drive-by noise, in dB(A).

Fuel and consumption

The fuels the vehicle runs on, with consumption and CO2 per fuel. A plug-in hybrid has both El (electric) and Benzin (petrol).

GET /v1/vehicles/{vehicleId}/fuel-types
Field Meaning
fuelType Fuel type, e.g. Benzin (petrol), Diesel or El (electric), with name and ID.
isPrimary Whether it is the vehicle's primary fuel. The primary fuel comes first.
kilometersPerLiter Fuel economy, in km/l.
co2Emission CO2 emissions for this fuel, in g/km.
electricConsumption Electric energy consumption, in Wh/km.
efficiencyTestProcedure The test procedure the figures were measured under, e.g. WLTP or NEDC.

Environment

Emissions and particle filter. The euro standard is on the vehicle.

GET /v1/vehicles/{vehicleId}/environmental-information
Field Meaning
hasParticleFilter Whether a particle filter is registered in the Motor Register for the vehicle, factory fitted or retrofitted and recorded at an inspection. That is what the environmental zones check, and a filter that isn't registered doesn't count: the value is then false.
coEmission Carbon monoxide (CO), in mg/km.
noxEmission Nitrogen oxides (NOx), in mg/km.
particleEmission Particulate matter, in mg/km.
co2Emission Heavy-duty specific CO2 (VECTO), in g/tkm. Lorries only.

Latest inspection

The latest inspection, as the extract has it.

GET /v1/vehicles/{vehicleId}/inspection
Field Meaning
inspectedOn The day of the inspection.
type Inspection type, e.g. periodic or registration.
result Result, e.g. approved or rejected.
odometerReading Odometer at the inspection, in thousands of km.

Calculated values

Values Motorbay works out from the extract's own. They are kept apart from the extract's values, which never change. A recorded value that no vehicle of its kind can have, such as an engine recorded in W, counts as not recorded: a power outside 1 to 1,000 kW for a car or van, or a km/l outside 1 to 60 for a petrol or diesel car or van that isn't a plug-in hybrid. The value built on it is then unknown, and the other tables show it as Motorstyrelsen records it. Environmental zones, the driving licence, taxes, the energy class and the next inspection come with the reason and a link to the rule applied.

GET /v1/vehicles/{vehicleId}/calculated
Field Meaning
horsepower Metric horsepower (hk, PS), worked out from the power in kW. Null when the power isn't plausible for the kind.
age Age in completed years and months since first registration.
annualKilometers Average km a year, from the odometer at the latest inspection.
powerToWeight Power per kg of own weight, in kW/kg. Null when the power isn't plausible for the kind.
isElectric Whether El (electric) is the only fuel.
isPluginHybrid Whether the vehicle is a plug-in hybrid.
manufacturerRegion The region the VIN's first character is assigned to.
manufacturerCountry The country the VIN's manufacturer code is assigned to, e.g. DE.
modelYearPlausible Whether the register's model year is possible. The model year itself is always shown as recorded.
modelYearFromVin The manufacturer's model year from the VIN, next to the register's model year, which is never changed. It is read only when the VIN's check digit is right and the year lies within a year of first registration. Many EU VINs carry no year, so European vehicles often get none. The status is matches, differs, registerImplausible, fillsMissing or unknown.
environmentalZones Whether the vehicle may drive in the Danish environmental zones, from the extract's Euro standard, particle filter and first registration, with the reason and the source.
licenceCategory The lowest driving licence category that covers the vehicle on its own, with the reason and the source.
periodicTaxes The periodic tax on a passenger car, van or motorcycle for a tax period starting today, at that year's rates: green ownership tax by km/l or g CO2/km, or weight tax, each line with its amount, period and the act it comes from. Not Motorstyrelsen's bill: notIncluded names what the extract can't show, such as exemptions.
energyClass The energy class, A+++ to G, of a petrol or diesel passenger car or van, read from its recorded km/l with the energy labelling order in force when it was first registered, with the source. A class is given when the register records the test procedure of the value and the first registration. About 1.2 million petrol and diesel cars and vans have both, including deregistered ones, most first registered from September 2019. For the others, reason says why, e.g. testProcedureUnknown, pluginHybrid or otherFuel.
estimatedNextInspection An estimate of the last day to present the vehicle for its periodic inspection, from its kind, use, permits, first registration and latest inspection, with the inspection rules in force on that day, and with the source. The status is upcoming, overdue, notRequired or unknown on today's Danish date. overdue is as of the latest extract, so an inspection done since then isn't in it yet. Færdselsstyrelsen's summons sets the real deadline.

History

Plates, statuses, inspections, blocks and leasing periods as they changed from one weekly extract to the next, since the first extract we keep history from.

GET /v1/vehicles/{vehicleId}/history
Field Meaning
observedSince The day of the first extract the history covers for the vehicle. Blocks and leasing periods have their own start days.
plates The plates the vehicle has had, newest first.
statuses Changes of the vehicle's status, e.g. from registered to scrapped.
registrationStatuses Changes of whether the vehicle is registered.
inspections Inspections with their result and odometer, newest first.
blocksObservedSince The day of the first extract blocks are kept from, the same for every vehicle.
blocks The vehicle's blocks, newest first: the whole set each time it changed, and an empty set when every block was lifted.
leasingPeriodsObservedSince The day of the first extract leasing periods are kept from, the same for every vehicle.
leasingPeriods The vehicle's leasing periods, newest first: the whole set each time a period was added, removed or had its dates changed, and an empty set when none was left.

Vehicle type

The type the vehicle is of: EU type approval, variant and version, and the values at least 3 registered vehicles of the type agree on. Motorbay derives the values from the register, not from the type approval. Also in the same answer as the lookup with include=type, and by the type's ID.

GET /v1/vehicles/{vehicleId}/type
Field Meaning
id The type's ID, which you can look up on /v1/types/{typeId}. It stays the same from week to week.
typeApprovalBase The EU type approval number without its extension, e.g. e1*2007/46*0123.
euVariant The EU variant.
euVersion The EU version.
registeredVehicles How many registered vehicles in this week's extract have the type. Always at least 3.
values The values the type's vehicles agree on: displacement, cylinders, power, wheelbase, technical total weight and body type. Null for a value they don't agree on, or that fewer than 3 of them have.
engineMarkings The engine markings at least 3 of the type's vehicles carry.
source Where the values come from. Always registeredVehiclesOfType: Motorbay derives them from the other registered vehicles of the type.

EU recalls

EU Safety Gate alerts that may cover the vehicle, matched on the EU type approval and production dates, not the VIN. By plate and VIN too.

GET /v1/vehicles/{vehicleId}/recalls
Field Meaning
typeApprovalNumber The type approval number the alerts are matched on.
canMatch Whether the vehicle has an EU type approval number, so alerts can be matched.
alerts EU Safety Gate alerts that may cover the vehicle, with the risk, the measures and a link.
note What the answer says and doesn't: a match is on the type approval, not the VIN.
source Where the alerts come from, with the credit their reuse requires.

Used-car check

Status, blocks, traffic damage, a re-stamped VIN, active leasing and the latest inspection in one answer, with a flag for each risk. By plate and VIN too.

GET /v1/vehicles/{vehicleId}/check
Field Meaning
flags Flags, most severe first, e.g. total loss, re-stamped VIN or active leasing.
status The vehicle's status in the register.
registrationStatus Whether the vehicle is registered.
hasTrafficDamage Whether traffic damage is recorded.
blocks Blocks on the vehicle, e.g. total loss.
hasRestampedVin Whether a permit for a re-stamped VIN is recorded.
activeLeasingPeriod The leasing period that covers the day of the check.
latestInspection The latest inspection with its result, day and odometer.

Other ways to look up

By ID, by VIN, by plate or VIN in one endpoint, and up to 500 plates in one call. With include you get more parts in the same answer.

  • GET /v1/vehicles/{id}
  • GET /v1/vehicles/vin/{vin}
  • GET /v1/vehicles/lookup/{plateOrVin}
  • POST /v1/vehicles/plates
  • GET /v1/vehicles/plate/{plate}/check
  • GET /v1/vehicles/vin/{vin}/check
  • GET /v1/vehicles/plate/{plate}/recalls
  • GET /v1/vehicles/vin/{vin}/recalls
  • GET /v1/types/{typeId}

Lists per vehicle

Equipment, usages, blocks, permits and leasing periods: lists that can hold many items per vehicle.

  • GET /v1/vehicles/{vehicleId}/equipment
  • GET /v1/vehicles/{vehicleId}/secondary-usages
  • GET /v1/vehicles/{vehicleId}/blocking-reasons
  • GET /v1/vehicles/{vehicleId}/permits
  • GET /v1/vehicles/{vehicleId}/leasing-periods

Units

The fields always keep Motorstyrelsen's units. With units=imperial the measured values get one more field, converted, with the value and its unit, such as lb, mph or mpg. power=hp gives the power in horsepower, and mpg=uk gives UK gallons. The fields themselves never change.

GET /v1/vehicles/plate/{plate}?include=engine&units=imperial&power=hp

Questions about the data

How fresh is the data?

As fresh as Motorstyrelsen's latest extract. It comes about once a week, and we import it automatically. The data is not real-time: a change in the register arrives with the next extract. The Motorbay-Data-As-Of header and GET /v1/dataset show which extract you get.

Can I look up a car's owner?

No, the API is about the vehicle, not the owner. You get technical data, status, the latest inspection and equipment, and because there is no personal data, data protection is simple.

Which vehicles are included?

Every vehicle in Motorstyrelsen's statistics extract, about 13 million, including deregistered, scrapped and exported ones. Cars, vans, trucks, motorcycles, trailers and other kinds.

Where is the data?

The API, the databases and your account run on servers in the EU. The privacy policy names each provider and where they process data.

The full API reference has every field, type and error code. API reference · OpenAPI specification