Draft for review. Nothing here is implemented yet. Design notes, the v1 → v2 field mapping and open questions: docs/v2/README.md and docs/v2/v1-to-v2.md.

MotorAPI provides data about Danish vehicles from the Danish Motor Register (DMR): registration, technical data, weights, tyres and rims, inspections (syn), environmental data, equipment, insurance and registration history.

## What's new in v2

- Codes instead of Danish text. Every coded field is an English snake_case code with a fixed list of values (status: "registered"). Responses carry only the code. Labels for display (Danish and English) are in GET /codes/{code_list}. - Clean make and model. make is canonical (VW and VOLKSWAGEN are both Volkswagen, make_code: volkswagen). model_family groups every spelling and version of a model (ID.4, I.D 4 PRO, ID 4 PRO 150 KW → ID.4). variant is DMR's text, unchanged. - null means unknown. No 0, "" or "Ukendt" for missing values. - ISO 8601 dates (2019-08-26) and RFC 3339 timestamps (2026-11-01T09:14:03+01:00). - Units in field names (power_kw, total_weight_kg). - Grouped fields (registration, engine, weights, …) and an envelope with data for every list. - Machine-readable errors as application/problem+json (RFC 9457), with a body on every error.

## Compatibility within v2

Within v2 we only make additive changes: new fields, new endpoints, new parameters and new codes in a code list. Clients must ignore fields they don't know and accept codes they don't know (treat them like other). Renaming or removing anything needs v3.

When a new value shows up that we haven't mapped yet, the field returns other until we add a code for it.

## Data freshness

The data comes from DMR's bulk extract, not from live lookups. DMR publishes a new extract roughly once a week, and MotorAPI imports it the night it is published. Every response carries the extract date in the MotorAPI-Data-Date header. Insurance is the exception: it's updated more often, and updated_at in the response says when it was retrieved.

## Billing

Same accounts, tokens and prices as v1. Every request except GET /usage counts towards your daily request limit (a search or a code list counts once per page or list). Insurance lookups are billed separately and need automatic invoicing.

Authentication

Send your API token as Authorization: Bearer <token>. The token is in your MotorAPI account, and the same token works for v1 and v2 (v1 keeps its X-AUTH-TOKEN header).

curl -H "Authorization: Bearer YOUR_TOKEN" https://api.motorapi.dk/v2/vehicles/AB12345

Errors

Every error has a body of type application/problem+json (RFC 9457) with a stable code to switch on, a title and detail for people, and instance: the request id, also sent as the X-Request-Id header. Quote it when contacting support. A 400 lists each invalid parameter in errors.

StatusCodeWhen
400invalid_parameter

A parameter is missing or invalid.

401unauthorized

Missing or invalid Authorization header.

404not_found

The resource doesn't exist.

404vehicle_not_found

No vehicle with this registration number, VIN or id. Not counted towards your usage.

429daily_limit_reached

Your daily request limit has been reached and your account doesn't have automatic invoicing.

403invoicing_required

The request is paid separately and your account doesn't have automatic invoicing.

503lookup_unavailable

A temporary problem on our side. Not counted towards your usage.

500internal_errorSomething went wrong on our side. Quote the request id when contacting support.

All codes: invalid_parameter, unauthorized, not_found, vehicle_not_found, daily_limit_reached, invoicing_required, lookup_unavailable, internal_error.

API End points

MotorAPI v2 https://api.motorapi.dk/v2
OpenAPI spec openapi.yaml (OpenAPI 3.1.0), for code generators and API tools
Version 2.0.0-draft.1
MotorAPI v1 v1.motorapi.dk/doc

Vehicles

Look up vehicles and their data.

GET/vehicles/{identifier}Get a vehicle

Get a vehicle by registration number, VIN or DMR vehicle id.

A registration number can have belonged to several vehicles over time. A plate lookup returns the vehicle registered with it now, or, when none is, the one that had it most recently (whatever its status). Use GET /vehicles?registration_number= for every vehicle that has had the plate. VIN and vehicle id lookups return the vehicle whatever its status, pre-registrations included.

Parameters

NameInTypeRequiredDescription
identifierpathstringrequired

Registration number, VIN or DMR vehicle id. Detected automatically unless identifier_type is given: 16 digits starting with 9 is a vehicle id, more than 8 characters is a VIN, anything else is a registration number. Case insensitive.

identifier_typequerystring: auto, registration_number, vin, vehicle_idoptional

How to read identifier, when automatic detection isn't wanted. Default: <code>auto</code>.

Responses

CodeDescription
200Body: Vehicle.

The vehicle.

400

A parameter is missing or invalid.

401

Missing or invalid Authorization header.

404

No vehicle with this registration number, VIN or id. Not counted towards your usage.

429

Your daily request limit has been reached and your account doesn't have automatic invoicing.

503

A temporary problem on our side. Not counted towards your usage.

GET/vehiclesList vehicles by registration number or VIN

All vehicles that have had the given registration number (or VIN), including deregistered, scrapped and exported ones.

Parameters

NameInTypeRequiredDescription
registration_numberquerystringoptional

Exact registration number. Either this or vin is required.

vinquerystringoptional

Exact VIN.

statusqueryarray of Vehicle statusoptional

Only vehicles with these statuses (comma-separated codes).

Responses

CodeDescription
200Body: object.

Matching vehicles, newest first. data is empty when there are none.

400

A parameter is missing or invalid.

401

Missing or invalid Authorization header.

429

Your daily request limit has been reached and your account doesn't have automatic invoicing.

503

A temporary problem on our side. Not counted towards your usage.

GET/vehicles/_searchSearch vehicles

Search by the start of a registration number, optionally filtered by make, model family, vehicle type and status. Returns a short summary per vehicle, 25 at most per page.

Parameters

NameInTypeRequiredDescription
registration_numberquerystringrequired

The first characters of the registration number (at least 2).

makequerystringoptional

A make_code (see GET /makes).

model_familyquerystringoptional

A model_family_code (see GET /makes/{make_code}/model-families).

vehicle_typequeryVehicle typeoptional
statusqueryarray of Vehicle statusoptional

Only vehicles with these statuses (comma-separated codes). All statuses when omitted, like v1.

pagequeryintegeroptional

Default: <code>1</code>. Range: 1–.

per_pagequeryintegeroptional

Default: <code>25</code>. Range: 1–25.

Responses

CodeDescription
200Body: object.

Matching vehicles and pagination.

400

A parameter is missing or invalid.

401

Missing or invalid Authorization header.

429

Your daily request limit has been reached and your account doesn't have automatic invoicing.

503

A temporary problem on our side. Not counted towards your usage.

Response example

{
    "data": [
        {
            "registration_number": "AB12345",
            "vin": "KNACD81DGL5310845",
            "status": "registered",
            "vehicle_type": "passenger_car",
            "make": "Kia",
            "make_code": "kia",
            "model_family": "Niro",
            "model_family_code": "kia_niro",
            "model": "Niro",
            "variant": "1.6 GDI Plug-in Hybrid 5 dørs DCT 6",
            "model_year": 2020,
            "fuel_type": "petrol",
            "powertrain": "plug_in_hybrid"
        }
    ],
    "pagination": {
        "page": 1,
        "per_page": 25,
        "total": 1,
        "total_pages": 1
    }
}
GET/vehicles/{identifier}/environmentGet environmental data

Consumption, emissions, noise and emission norm.

Parameters

NameInTypeRequiredDescription
identifierpathstringrequired

Registration number, VIN or DMR vehicle id. Detected automatically unless identifier_type is given: 16 digits starting with 9 is a vehicle id, more than 8 characters is a VIN, anything else is a registration number. Case insensitive.

identifier_typequerystring: auto, registration_number, vin, vehicle_idoptional

How to read identifier, when automatic detection isn't wanted. Default: <code>auto</code>.

Responses

CodeDescription
200Body: Environment.

Environmental data.

400

A parameter is missing or invalid.

401

Missing or invalid Authorization header.

404

No vehicle with this registration number, VIN or id. Not counted towards your usage.

429

Your daily request limit has been reached and your account doesn't have automatic invoicing.

503

A temporary problem on our side. Not counted towards your usage.

Response example

{
    "vehicle": {
        "id": 9000000003275377,
        "registration_number": "AB12345",
        "vin": "KNACD81DGL5310845"
    },
    "fuel_type": "petrol",
    "euro_norm": "euro_6",
    "measurement_norm": "wltp",
    "consumption": {
        "fuel_km_per_l": 44.2,
        "electricity_wh_per_km": 100.8
    },
    "emissions": {
        "co2_g_per_km": 31,
        "co_mg_per_km": 74.7,
        "hc_nox_mg_per_km": null,
        "nox_mg_per_km": 7.5,
        "particles_mg_per_km": 0.13,
        "smoke_opacity_per_m": null
    },
    "noise": {
        "stationary_db": 81,
        "stationary_rpm": 3750,
        "driving_db": 70
    },
    "particle_filter": false,
    "eco_innovation": false
}
GET/vehicles/{identifier}/equipmentGet equipment

Equipment registered for the vehicle. data is empty when none is registered.

Parameters

NameInTypeRequiredDescription
identifierpathstringrequired

Registration number, VIN or DMR vehicle id. Detected automatically unless identifier_type is given: 16 digits starting with 9 is a vehicle id, more than 8 characters is a VIN, anything else is a registration number. Case insensitive.

identifier_typequerystring: auto, registration_number, vin, vehicle_idoptional

How to read identifier, when automatic detection isn't wanted. Default: <code>auto</code>.

Responses

CodeDescription
200Body: object.

Equipment.

400

A parameter is missing or invalid.

401

Missing or invalid Authorization header.

404

No vehicle with this registration number, VIN or id. Not counted towards your usage.

429

Your daily request limit has been reached and your account doesn't have automatic invoicing.

503

A temporary problem on our side. Not counted towards your usage.

Response example

{
    "vehicle": {
        "id": 9000000003275377,
        "registration_number": "AB12345",
        "vin": "KNACD81DGL5310845"
    },
    "data": [
        {
            "code": "seat_belt_reminder",
            "dmr_number": 6028,
            "quantity": 4
        },
        {
            "code": "radio",
            "dmr_number": 6029,
            "quantity": 1
        },
        {
            "code": "airbags",
            "dmr_number": 9901,
            "quantity": 6
        }
    ]
}
GET/vehicles/{identifier}/insuranceGet insurance

The vehicle's current motor insurance and the history of changes. updated_at says when the data was retrieved.

Parameters

NameInTypeRequiredDescription
identifierpathstringrequired

Registration number, VIN or DMR vehicle id. Detected automatically unless identifier_type is given: 16 digits starting with 9 is a vehicle id, more than 8 characters is a VIN, anything else is a registration number. Case insensitive.

identifier_typequerystring: auto, registration_number, vin, vehicle_idoptional

How to read identifier, when automatic detection isn't wanted. Default: <code>auto</code>.

Responses

CodeDescription
200Body: InsuranceLookup.

The vehicle's insurance.

400

A parameter is missing or invalid.

401

Missing or invalid Authorization header.

403

The request is paid separately and your account doesn't have automatic invoicing.

404

No vehicle with this registration number, VIN or id. Not counted towards your usage.

503

A temporary problem on our side. Not counted towards your usage.

Response example

{
    "vehicle": {
        "id": 9000000001234567,
        "registration_number": "CN85086",
        "vin": "ZFA19900001437796"
    },
    "current": {
        "company": "LOKAL FORSIKRING G/S",
        "policy_number": null,
        "status": "active",
        "date": "2020-01-31"
    },
    "history": [
        {
            "company": "LOKAL FORSIKRING G/S",
            "policy_number": null,
            "status": "active",
            "date": "2020-01-31"
        },
        {
            "company": "LÆRERSTANDENS BRAND",
            "policy_number": null,
            "status": "ended",
            "date": "2019-09-13"
        }
    ],
    "updated_at": "2026-11-01T09:14:03+01:00"
}
GET/vehicles/{identifier}/registrationsGet registration history

The periods the vehicle has been registered in Denmark, oldest first.

Our records start in July 2024. Earlier periods are derived from the first registration and status dates and can be inaccurate (source: derived), especially for used imports and short deregistrations. Periods from July 2024 on are observed.

Parameters

NameInTypeRequiredDescription
identifierpathstringrequired

Registration number, VIN or DMR vehicle id. Detected automatically unless identifier_type is given: 16 digits starting with 9 is a vehicle id, more than 8 characters is a VIN, anything else is a registration number. Case insensitive.

identifier_typequerystring: auto, registration_number, vin, vehicle_idoptional

How to read identifier, when automatic detection isn't wanted. Default: <code>auto</code>.

Responses

CodeDescription
200Body: object.

Registration periods.

400

A parameter is missing or invalid.

401

Missing or invalid Authorization header.

404

No vehicle with this registration number, VIN or id. Not counted towards your usage.

429

Your daily request limit has been reached and your account doesn't have automatic invoicing.

503

A temporary problem on our side. Not counted towards your usage.

Response example

{
    "vehicle": {
        "id": 9000000003275377,
        "registration_number": "AB12345",
        "vin": "KNACD81DGL5310845"
    },
    "origin": "new",
    "dk_first_registration_date": "2019-08-26",
    "data": [
        {
            "valid_from": "2019-08-26",
            "valid_to": "2023-02-01",
            "ended_by": "deregistered",
            "registration_numbers": [
                "CX12345"
            ],
            "source": "derived"
        },
        {
            "valid_from": "2023-05-15",
            "valid_to": null,
            "ended_by": null,
            "registration_numbers": [
                "AB12345"
            ],
            "source": "observed"
        }
    ]
}

Reference data

Code lists, makes and model families.

GET/codesList code lists

Responses

CodeDescription
200Body: object.

The code lists.

401

Missing or invalid Authorization header.

429

Your daily request limit has been reached and your account doesn't have automatic invoicing.

GET/codes/{code_list}Get a code list

All codes of a list with Danish and English labels.

Parameters

NameInTypeRequiredDescription
code_listpathstring: vehicle-status, registration-status, vehicle-type, use, fuel-type, powertrain, body-type, supplementary-body, colour, inspection-type, inspection-result, inspection-status, euro-norm, measurement-norm, created-from, block-reason, vehicle-condition, permit-type, equipment-type, insurance-status, originrequired

Responses

CodeDescription
200Body: object.

The codes.

401

Missing or invalid Authorization header.

429

Your daily request limit has been reached and your account doesn't have automatic invoicing.

404

The resource doesn't exist.

Response example

{
    "name": "fuel-type",
    "data": [
        {
            "code": "petrol",
            "label_da": "Benzin",
            "label_en": "Petrol",
            "dmr_number": 1
        },
        {
            "code": "diesel",
            "label_da": "Diesel",
            "label_en": "Diesel",
            "dmr_number": 2
        },
        {
            "code": "electricity",
            "label_da": "El",
            "label_en": "Electricity",
            "dmr_number": 4
        }
    ]
}
GET/makesList makes

Canonical makes with the number of registered vehicles. For pickers and search filters.

Parameters

NameInTypeRequiredDescription
vehicle_typequeryVehicle typeoptional

Only makes with registered vehicles of this type.

Responses

CodeDescription
200Body: object.

Makes, most registered vehicles first.

401

Missing or invalid Authorization header.

429

Your daily request limit has been reached and your account doesn't have automatic invoicing.

Response example

{
    "data": [
        {
            "make_code": "volkswagen",
            "make": "Volkswagen",
            "registered": 396779
        },
        {
            "make_code": "toyota",
            "make": "Toyota",
            "registered": 225956
        }
    ]
}
GET/makes/{make_code}/model-familiesList model families of a make

Parameters

NameInTypeRequiredDescription
make_codepathstringrequired

Responses

CodeDescription
200Body: object.

Model families, most registered vehicles first.

401

Missing or invalid Authorization header.

429

Your daily request limit has been reached and your account doesn't have automatic invoicing.

404

The resource doesn't exist.

Response example

{
    "make_code": "volkswagen",
    "make": "Volkswagen",
    "data": [
        {
            "model_family_code": "volkswagen_up",
            "model_family": "up!",
            "registered": 68063
        },
        {
            "model_family_code": "volkswagen_golf",
            "model_family": "Golf",
            "registered": 52792
        }
    ]
}

Account

Your own API usage.

GET/usageGet your API usage

Today's requests and limit, and requests per month (v1 and v2 together).

Responses

CodeDescription
200Body: Usage.

Usage.

401

Missing or invalid Authorization header.

Response example

{
    "today": {
        "date": "2026-10-31",
        "requests": 47,
        "limit": 100,
        "remaining": 53,
        "insurance_lookups": 3
    },
    "months": [
        {
            "month": "2026-09",
            "requests": 2150,
            "insurance_lookups": 0
        },
        {
            "month": "2026-10",
            "requests": 1847,
            "insurance_lookups": 12
        }
    ]
}

Data models

Vehicle

A vehicle as registered in DMR, with MotorAPI's codes.

FieldTypeDescription
idinteger (int64)

DMR's vehicle id (KoeretoejIdent). Stable for the vehicle's lifetime.

registration_numberstring or null

Current or last registration number. null when the vehicle never had one.

vinstring or null

Vehicle identification number (stelnummer).

statusVehicle status

Status of the vehicle in DMR (KoeretoejOplysningStatus). created, created_administratively, partially_created, being_created and registration_inspection_passed are pre-registrations: the vehicle exists in DMR but has never been registered. Codes and Danish/English labels: docs/v2/mappings/vehicle-status.csv and GET /codes/vehicle-status. other is used for a DMR value MotorAPI doesn't know yet.

status_datestring (date) or null

When the status last changed.

vehicle_typeVehicle type

Vehicle type (KoeretoejArt). Codes and Danish/English labels: docs/v2/mappings/vehicle-type.csv and GET /codes/vehicle-type. other is used for a DMR value MotorAPI doesn't know yet.

makestring or null

Canonical make, e.g. Volkswagen for both VW and VOLKSWAGEN. See docs/v2/make-model.md.

make_codestring or null

Stable code of make.

model_familystring or null

Model family: every spelling, body style and version of a model in one bucket (GOLF VARIANT, E-GOLF, Golf GTE → Golf). null when the make isn't curated yet or the model label can't be placed (about 2% of registered passenger cars, more for other vehicle types).

model_family_codestring or null

Stable code of model_family, prefixed with the make code (volkswagen_golf).

modelstring or null

DMR's model label, trimmed and with repeated spaces and a leading make name removed. null for DMR placeholders (-, UOPLYST).

variantstring or null

DMR's variant label, unchanged.

type_designationstring or null

Type designation (KoeretoejTypeTypeNavn). null for UOPLYST.

model_yearinteger or null

Model year. null when unknown (most vehicles).

dmrDmrDesignation

DMR's original make and model labels and type numbers, for reference and matching against other systems.

registrationRegistration
bodyBody
engineEngine
weightsWeights

Weights in kg. null when not registered.

axlesAxles
towingTowing
dimensionsDimensions or null

Wheelbase and track widths in mm. null when none are registered.

wheelsWheels or null

Tyre and rim sizes parsed from DMR's free text (best effort, like v1). raw has the original.

inspectionInspection or null

The latest inspection (syn). null when none is registered.

approvalApproval

Type approval and how the vehicle was created in DMR.

blocksarray of object

Reasons the vehicle is blocked in DMR (e.g. written off). Empty when it isn't.

blocks[].reasonBlock reason
DmrDesignation

DMR's original make and model labels and type numbers, for reference and matching against other systems.

FieldTypeDescription
makestring or null

DMR's make label (KoeretoejMaerkeTypeNavn).

modelstring or null

DMR's model label, unchanged.

make_numberinteger or null

KoeretoejMaerkeTypeNummer.

model_numberinteger or null

KoeretoejModelTypeNummer. One number per label, so it doesn't group spellings.

variant_numberinteger or null

KoeretoejVariantTypeNummer.

VehicleRef
FieldTypeDescription
idinteger (int64)
registration_numberstring or null
vinstring or null
VehicleSummary
FieldTypeDescription
registration_numberstring or null
vinstring or null
statusVehicle status

Status of the vehicle in DMR (KoeretoejOplysningStatus). created, created_administratively, partially_created, being_created and registration_inspection_passed are pre-registrations: the vehicle exists in DMR but has never been registered. Codes and Danish/English labels: docs/v2/mappings/vehicle-status.csv and GET /codes/vehicle-status. other is used for a DMR value MotorAPI doesn't know yet.

vehicle_typeVehicle type

Vehicle type (KoeretoejArt). Codes and Danish/English labels: docs/v2/mappings/vehicle-type.csv and GET /codes/vehicle-type. other is used for a DMR value MotorAPI doesn't know yet.

makestring or null
make_codestring or null
model_familystring or null
model_family_codestring or null
modelstring or null
variantstring or null
model_yearinteger or null
fuel_typeFuel type or null

Primary fuel or energy source (DrivkraftType). null when unknown. Codes and Danish/English labels: docs/v2/mappings/fuel-type.csv and GET /codes/fuel-type. other is used for a DMR value MotorAPI doesn't know yet.

powertrainPowertrain or null

Derived by MotorAPI from the fuel type and hybrid detection. null when the fuel type is unknown. Codes and Danish/English labels: docs/v2/mappings/powertrain.csv and GET /codes/powertrain.

Registration
FieldTypeDescription
statusRegistration status

Status of the registration (KoeretoejRegistreringStatus). Separate from the vehicle status: a scrapped vehicle has registration status deregistered. Codes and Danish/English labels: docs/v2/mappings/registration-status.csv and GET /codes/registration-status. other is used for a DMR value MotorAPI doesn't know yet.

status_datestring (date) or null

When the registration status last changed. A re-registration moves it.

first_registration_datestring (date) or null

First registration as registered in DMR. For used imports this is usually the first registration abroad.

dk_first_registration_datestring (date) or null

First registration in Denmark, from MotorAPI's vehicle timeline. null for vehicles never registered.

originOrigin or null

Whether the vehicle was new or a used import when first registered in Denmark.

useUse or null

Registered use (KoeretoejAnvendelse). null when DMR has none (only unregistered vehicles). Codes and Danish/English labels: docs/v2/mappings/use.csv and GET /codes/use. other is used for a DMR value MotorAPI doesn't know yet.

secondary_usesarray of Use or null

Additional registered uses (KoeretoejAnvendelseSamling), rare.

leasingobject or null

Leasing period, null when the vehicle isn't registered as leased.

leasing.fromstring (date) or null
leasing.tostring (date) or null
permitsarray of object

Permits and restrictions (TilladelseSamling), e.g. coupling without inspection, taxi, vintage.

permits[].codePermit type
permits[].valid_fromstring (date) or null
Body
FieldTypeDescription
typeBody type or null

Body type (KarrosseriType). Only passenger cars and some vans have one; null otherwise. See supplementary_body for trailers and goods vehicles. Codes and Danish/English labels: docs/v2/mappings/body-type.csv and GET /codes/body-type. other is used for a DMR value MotorAPI doesn't know yet.

supplementaryarray of object

Supplementary body of goods vehicles and trailers.

supplementary[].codeSupplementary body
colourColour or null

Colour (FarveType). null when unknown, which is the case for most vehicles. Codes and Danish/English labels: docs/v2/mappings/colour.csv and GET /codes/colour. other is used for a DMR value MotorAPI doesn't know yet.

doorsinteger or null
seatsinteger or null

Seats including the driver. null when unknown (v1 used 0).

Engine
FieldTypeDescription
fuel_typeFuel type or null

Primary fuel or energy source (DrivkraftType). null when unknown. Codes and Danish/English labels: docs/v2/mappings/fuel-type.csv and GET /codes/fuel-type. other is used for a DMR value MotorAPI doesn't know yet.

powertrainPowertrain or null

Derived by MotorAPI from the fuel type and hybrid detection. null when the fuel type is unknown. Codes and Danish/English labels: docs/v2/mappings/powertrain.csv and GET /codes/powertrain.

cylindersinteger or null
displacement_ccnumber or null

Engine displacement in cm³.

power_kwnumber or null

Maximum power in kW.

Weights

Weights in kg. null when not registered.

FieldTypeDescription
own_kginteger or null
kerb_kginteger or null

Minimum kerb weight (køreklar vægt).

total_kginteger or null

Permitted total weight.

technical_total_kginteger or null
combination_kginteger or null

Permitted combination weight (vogntogsvægt).

max_axle_load_kginteger or null
Axles
FieldTypeDescription
countinteger or null
driveninteger or null

Number of driven axles. null when DMR doesn't say (v1 defaulted to 1).

Towing
FieldTypeDescription
allowedboolean or null

Whether a trailer may be coupled.

trailer_without_brakes_kginteger or null
trailer_with_brakes_kginteger or null
Dimensions

Wheelbase and track widths in mm. null when none are registered.

FieldTypeDescription
wheelbase_mminteger or null
track_width_front_mminteger or null
track_width_rear_mminteger or null
Wheels

Tyre and rim sizes parsed from DMR's free text (best effort, like v1). raw has the original.

FieldTypeDescription
rawstring
axlesarray of object
axles[].axleinteger or null
axles[].fitmentsarray of object
Inspection

The latest inspection (syn). null when none is registered. next_inspection_date is calculated by MotorAPI, not registered in DMR (see v1).

FieldTypeDescription
typeInspection type

Type of the latest inspection (SynResultatSynsType). Codes and Danish/English labels: docs/v2/mappings/inspection-type.csv and GET /codes/inspection-type. other is used for a DMR value MotorAPI doesn't know yet.

datestring (date) or null
resultInspection result

Result of the latest inspection (SynResultatSynsResultat). Codes and Danish/English labels: docs/v2/mappings/inspection-result.csv and GET /codes/inspection-result. other is used for a DMR value MotorAPI doesn't know yet.

statusInspection status

Status of the inspection result (SynResultatSynStatus). Codes and Danish/English labels: docs/v2/mappings/inspection-status.csv and GET /codes/inspection-status. other is used for a DMR value MotorAPI doesn't know yet.

status_datestring (date) or null
mileage_kminteger or null

Odometer reading at the inspection (registered in thousands of km).

next_inspection_datestring (date) or null
Approval

Type approval and how the vehicle was created in DMR.

FieldTypeDescription
created_fromCreated from or null

What the vehicle's DMR record was created from (KoeretoejOplysningOprettetUdFra). Codes and Danish/English labels: docs/v2/mappings/created-from.csv and GET /codes/created-from. other is used for a DMR value MotorAPI doesn't know yet.

eu_categorystring or null

EU vehicle category, normalised from DMR's free text (m1, 02 → M1, O2). null when DMR's value isn't a category. See docs/v2/mappings/eu-vehicle-category.csv.

type_approval_numberstring or null

Type approval number, as registered.

max_speed_kmhinteger or null
conditionVehicle condition or null

Condition registered for valuation (KoeretoejOplysningKoeretoejstand). Codes and Danish/English labels: docs/v2/mappings/vehicle-condition.csv and GET /codes/vehicle-condition. other is used for a DMR value MotorAPI doesn't know yet.

Environment
FieldTypeDescription
vehicleVehicleRef
fuel_typeFuel type or null

Primary fuel or energy source (DrivkraftType). null when unknown. Codes and Danish/English labels: docs/v2/mappings/fuel-type.csv and GET /codes/fuel-type. other is used for a DMR value MotorAPI doesn't know yet.

euro_normEmission norm or null

Emission norm (NormType). Roman and Arabic numerals for the same Euro stage share one code. none means the vehicle has no norm; null means unknown. Codes and Danish/English labels: docs/v2/mappings/euro-norm.csv and GET /codes/euro-norm. other is used for a DMR value MotorAPI doesn't know yet.

measurement_normMeasurement norm or null

Test cycle of the consumption and CO₂ figures (MaaleNormType). Codes and Danish/English labels: docs/v2/mappings/measurement-norm.csv and GET /codes/measurement-norm. other is used for a DMR value MotorAPI doesn't know yet.

consumptionobject
consumption.fuel_km_per_lnumber or null
consumption.electricity_wh_per_kmnumber or null
emissionsobject
emissions.co2_g_per_kmnumber or null
emissions.co_mg_per_kmnumber or null
emissions.hc_nox_mg_per_kmnumber or null
emissions.nox_mg_per_kmnumber or null
emissions.particles_mg_per_kmnumber or null

Particle mass. Unit as registered in DMR (assumed mg/km; to confirm).

emissions.smoke_opacity_per_mnumber or null

Diesel smoke opacity (røgtæthed, m⁻¹). New in v2.

noiseobject
noise.stationary_dbnumber or null
noise.stationary_rpminteger or null
noise.driving_dbnumber or null
particle_filterboolean or null
eco_innovationboolean or null

Whether eco-innovation technology is fitted (v1 innovation_technology).

EquipmentItem
FieldTypeDescription
codeEquipment type

Equipment type (KoeretoejUdstyrType). Codes and Danish/English labels: docs/v2/mappings/equipment-type.csv and GET /codes/equipment-type. other is used for a DMR value MotorAPI doesn't know yet.

dmr_numberinteger

DMR equipment type number (v1 id, then a string).

quantityinteger
InsuranceLookup
FieldTypeDescription
vehicleVehicleRef
currentany

The current insurance. null when none is registered (e.g. trailers covered by the towing vehicle).

historyarray of Insurance

Insurance changes, newest first, including the current one.

updated_atstring (date-time)

When this insurance data was last updated.

Insurance
FieldTypeDescription
companystring

Insurance company, as registered.

policy_numberstring or null
statusstring: active, ended, cancelled, other

Aktiv → active, Ophørt → ended, Annulleret → cancelled.

datestring (date)

Date the status was registered.

RegistrationPeriod
FieldTypeDescription
valid_fromstring (date)
valid_tostring (date) or null

Exclusive. null while the vehicle is registered.

ended_byany

The vehicle status that ended the period. null while open.

registration_numbersarray of string

Every registration number seen during the period.

sourcestring: derived, observed

derived from dates in a single extract, or observed across extracts.

Usage
FieldTypeDescription
todayobject
today.datestring (date)
today.requestsinteger
today.limitinteger
today.remaininginteger
today.insurance_lookupsinteger
monthsarray of object
months[].monthstring

Year and month, YYYY-MM.

months[].requestsinteger
months[].insurance_lookupsinteger
Problem

An error, as application/problem+json (RFC 9457). Switch on code (stable, snake_case), not on title or detail, which are for humans and may change.

FieldTypeDescription
typestring (uri)

URI identifying the problem type; its page documents it.

titlestring
statusinteger
detailstring
instancestring

Request id, also in the X-Request-Id header. Quote it when contacting support.

codestring: invalid_parameter, unauthorized, not_found, vehicle_not_found, daily_limit_reached, invoicing_required, lookup_unavailable, internal_error

Machine-readable error code.

errorsarray of object

Per-parameter details for invalid_parameter.

errors[].parameterstring
errors[].pointerstring

JSON pointer into the request body.

errors[].codestring
errors[].detailstring