API Documentation
Complete reference for the MotorAPI vehicle data service
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.
| Status | Code | When |
|---|---|---|
| 400 | invalid_parameter | A parameter is missing or invalid. |
| 401 | unauthorized | Missing or invalid |
| 404 | not_found | The resource doesn't exist. |
| 404 | vehicle_not_found | No vehicle with this registration number, VIN or id. Not counted towards your usage. |
| 429 | daily_limit_reached | Your daily request limit has been reached and your account doesn't have automatic invoicing. |
| 403 | invoicing_required | The request is paid separately and your account doesn't have automatic invoicing. |
| 503 | lookup_unavailable | A temporary problem on our side. Not counted towards your usage. |
| 500 | internal_error | Something 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 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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
identifier | path | string | required | Registration number, VIN or DMR vehicle id. Detected automatically unless |
identifier_type | query | string: auto, registration_number, vin, vehicle_id | optional | How to read |
Responses
| Code | Description |
|---|---|
| 200 | Body: Vehicle. The vehicle. |
| 400 | A parameter is missing or invalid. |
| 401 | Missing or invalid |
| 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. |
All vehicles that have had the given registration number (or VIN), including deregistered, scrapped and exported ones.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
registration_number | query | string | optional | Exact registration number. Either this or |
vin | query | string | optional | Exact VIN. |
status | query | array of Vehicle status | optional | Only vehicles with these statuses (comma-separated codes). |
Responses
| Code | Description |
|---|---|
| 200 | Body: object. Matching vehicles, newest first. |
| 400 | A parameter is missing or invalid. |
| 401 | Missing or invalid |
| 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. |
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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
registration_number | query | string | required | The first characters of the registration number (at least 2). |
make | query | string | optional | A |
model_family | query | string | optional | A |
vehicle_type | query | Vehicle type | optional | |
status | query | array of Vehicle status | optional | Only vehicles with these statuses (comma-separated codes). All statuses when omitted, like v1. |
page | query | integer | optional | Default: <code>1</code>. Range: 1–. |
per_page | query | integer | optional | Default: <code>25</code>. Range: 1–25. |
Responses
| Code | Description |
|---|---|
| 200 | Body: object. Matching vehicles and pagination. |
| 400 | A parameter is missing or invalid. |
| 401 | Missing or invalid |
| 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
}
}
Consumption, emissions, noise and emission norm.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
identifier | path | string | required | Registration number, VIN or DMR vehicle id. Detected automatically unless |
identifier_type | query | string: auto, registration_number, vin, vehicle_id | optional | How to read |
Responses
| Code | Description |
|---|---|
| 200 | Body: Environment. Environmental data. |
| 400 | A parameter is missing or invalid. |
| 401 | Missing or invalid |
| 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
}
Equipment registered for the vehicle. data is empty when none is registered.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
identifier | path | string | required | Registration number, VIN or DMR vehicle id. Detected automatically unless |
identifier_type | query | string: auto, registration_number, vin, vehicle_id | optional | How to read |
Responses
| Code | Description |
|---|---|
| 200 | Body: object. Equipment. |
| 400 | A parameter is missing or invalid. |
| 401 | Missing or invalid |
| 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
}
]
}
The vehicle's current motor insurance and the history of changes. updated_at says when the data was retrieved.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
identifier | path | string | required | Registration number, VIN or DMR vehicle id. Detected automatically unless |
identifier_type | query | string: auto, registration_number, vin, vehicle_id | optional | How to read |
Responses
| Code | Description |
|---|---|
| 200 | Body: InsuranceLookup. The vehicle's insurance. |
| 400 | A parameter is missing or invalid. |
| 401 | Missing or invalid |
| 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"
}
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
| Name | In | Type | Required | Description |
|---|---|---|---|---|
identifier | path | string | required | Registration number, VIN or DMR vehicle id. Detected automatically unless |
identifier_type | query | string: auto, registration_number, vin, vehicle_id | optional | How to read |
Responses
| Code | Description |
|---|---|
| 200 | Body: object. Registration periods. |
| 400 | A parameter is missing or invalid. |
| 401 | Missing or invalid |
| 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.
Responses
| Code | Description |
|---|---|
| 200 | Body: object. The code lists. |
| 401 | Missing or invalid |
| 429 | Your daily request limit has been reached and your account doesn't have automatic invoicing. |
All codes of a list with Danish and English labels.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
code_list | path | string: 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, origin | required |
Responses
| Code | Description |
|---|---|
| 200 | Body: object. The codes. |
| 401 | Missing or invalid |
| 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
}
]
}
Canonical makes with the number of registered vehicles. For pickers and search filters.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
vehicle_type | query | Vehicle type | optional | Only makes with registered vehicles of this type. |
Responses
| Code | Description |
|---|---|
| 200 | Body: object. Makes, most registered vehicles first. |
| 401 | Missing or invalid |
| 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
}
]
}
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
make_code | path | string | required |
Responses
| Code | Description |
|---|---|
| 200 | Body: object. Model families, most registered vehicles first. |
| 401 | Missing or invalid |
| 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.
Today's requests and limit, and requests per month (v1 and v2 together).
Responses
| Code | Description |
|---|---|
| 200 | Body: Usage. Usage. |
| 401 | Missing or invalid |
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
A vehicle as registered in DMR, with MotorAPI's codes.
| Field | Type | Description |
|---|---|---|
id | integer (int64) | DMR's vehicle id (KoeretoejIdent). Stable for the vehicle's lifetime. |
registration_number | string or null | Current or last registration number. |
vin | string or null | Vehicle identification number (stelnummer). |
status | Vehicle status | Status of the vehicle in DMR (KoeretoejOplysningStatus). |
status_date | string (date) or null | When the status last changed. |
vehicle_type | Vehicle type | Vehicle type (KoeretoejArt). Codes and Danish/English labels: |
make | string or null | Canonical make, e.g. |
make_code | string or null | Stable code of |
model_family | string or null | Model family: every spelling, body style and version of a model in one bucket ( |
model_family_code | string or null | Stable code of |
model | string or null | DMR's model label, trimmed and with repeated spaces and a leading make name removed. |
variant | string or null | DMR's variant label, unchanged. |
type_designation | string or null | Type designation (KoeretoejTypeTypeNavn). |
model_year | integer or null | Model year. |
dmr | DmrDesignation | DMR's original make and model labels and type numbers, for reference and matching against other systems. |
registration | Registration | |
body | Body | |
engine | Engine | |
weights | Weights | Weights in kg. |
axles | Axles | |
towing | Towing | |
dimensions | Dimensions or null | Wheelbase and track widths in mm. |
wheels | Wheels or null | Tyre and rim sizes parsed from DMR's free text (best effort, like v1). |
inspection | Inspection or null | The latest inspection (syn). |
approval | Approval | Type approval and how the vehicle was created in DMR. |
blocks | array of object | Reasons the vehicle is blocked in DMR (e.g. written off). Empty when it isn't. |
blocks[].reason | Block reason |
DMR's original make and model labels and type numbers, for reference and matching against other systems.
| Field | Type | Description |
|---|---|---|
make | string or null | DMR's make label (KoeretoejMaerkeTypeNavn). |
model | string or null | DMR's model label, unchanged. |
make_number | integer or null | KoeretoejMaerkeTypeNummer. |
model_number | integer or null | KoeretoejModelTypeNummer. One number per label, so it doesn't group spellings. |
variant_number | integer or null | KoeretoejVariantTypeNummer. |
| Field | Type | Description |
|---|---|---|
id | integer (int64) | |
registration_number | string or null | |
vin | string or null |
| Field | Type | Description |
|---|---|---|
registration_number | string or null | |
vin | string or null | |
status | Vehicle status | Status of the vehicle in DMR (KoeretoejOplysningStatus). |
vehicle_type | Vehicle type | Vehicle type (KoeretoejArt). Codes and Danish/English labels: |
make | string or null | |
make_code | string or null | |
model_family | string or null | |
model_family_code | string or null | |
model | string or null | |
variant | string or null | |
model_year | integer or null | |
fuel_type | Fuel type or null | Primary fuel or energy source (DrivkraftType). |
powertrain | Powertrain or null | Derived by MotorAPI from the fuel type and hybrid detection. |
| Field | Type | Description |
|---|---|---|
status | Registration status | Status of the registration (KoeretoejRegistreringStatus). Separate from the vehicle status: a scrapped vehicle has registration status |
status_date | string (date) or null | When the registration status last changed. A re-registration moves it. |
first_registration_date | string (date) or null | First registration as registered in DMR. For used imports this is usually the first registration abroad. |
dk_first_registration_date | string (date) or null | First registration in Denmark, from MotorAPI's vehicle timeline. |
origin | Origin or null | Whether the vehicle was new or a used import when first registered in Denmark. |
use | Use or null | Registered use (KoeretoejAnvendelse). |
secondary_uses | array of Use or null | Additional registered uses (KoeretoejAnvendelseSamling), rare. |
leasing | object or null | Leasing period, |
leasing.from | string (date) or null | |
leasing.to | string (date) or null | |
permits | array of object | Permits and restrictions (TilladelseSamling), e.g. coupling without inspection, taxi, vintage. |
permits[].code | Permit type | |
permits[].valid_from | string (date) or null |
| Field | Type | Description |
|---|---|---|
type | Body type or null | Body type (KarrosseriType). Only passenger cars and some vans have one; |
supplementary | array of object | Supplementary body of goods vehicles and trailers. |
supplementary[].code | Supplementary body | |
colour | Colour or null | Colour (FarveType). |
doors | integer or null | |
seats | integer or null | Seats including the driver. |
| Field | Type | Description |
|---|---|---|
fuel_type | Fuel type or null | Primary fuel or energy source (DrivkraftType). |
powertrain | Powertrain or null | Derived by MotorAPI from the fuel type and hybrid detection. |
cylinders | integer or null | |
displacement_cc | number or null | Engine displacement in cm³. |
power_kw | number or null | Maximum power in kW. |
Weights in kg. null when not registered.
| Field | Type | Description |
|---|---|---|
own_kg | integer or null | |
kerb_kg | integer or null | Minimum kerb weight (køreklar vægt). |
total_kg | integer or null | Permitted total weight. |
technical_total_kg | integer or null | |
combination_kg | integer or null | Permitted combination weight (vogntogsvægt). |
max_axle_load_kg | integer or null |
| Field | Type | Description |
|---|---|---|
count | integer or null | |
driven | integer or null | Number of driven axles. |
| Field | Type | Description |
|---|---|---|
allowed | boolean or null | Whether a trailer may be coupled. |
trailer_without_brakes_kg | integer or null | |
trailer_with_brakes_kg | integer or null |
Wheelbase and track widths in mm. null when none are registered.
| Field | Type | Description |
|---|---|---|
wheelbase_mm | integer or null | |
track_width_front_mm | integer or null | |
track_width_rear_mm | integer or null |
Tyre and rim sizes parsed from DMR's free text (best effort, like v1). raw has the original.
| Field | Type | Description |
|---|---|---|
raw | string | |
axles | array of object | |
axles[].axle | integer or null | |
axles[].fitments | array of object |
The latest inspection (syn). null when none is registered. next_inspection_date is calculated by MotorAPI, not registered in DMR (see v1).
| Field | Type | Description |
|---|---|---|
type | Inspection type | Type of the latest inspection (SynResultatSynsType). Codes and Danish/English labels: |
date | string (date) or null | |
result | Inspection result | Result of the latest inspection (SynResultatSynsResultat). Codes and Danish/English labels: |
status | Inspection status | Status of the inspection result (SynResultatSynStatus). Codes and Danish/English labels: |
status_date | string (date) or null | |
mileage_km | integer or null | Odometer reading at the inspection (registered in thousands of km). |
next_inspection_date | string (date) or null |
Type approval and how the vehicle was created in DMR.
| Field | Type | Description |
|---|---|---|
created_from | Created from or null | What the vehicle's DMR record was created from (KoeretoejOplysningOprettetUdFra). Codes and Danish/English labels: |
eu_category | string or null | EU vehicle category, normalised from DMR's free text ( |
type_approval_number | string or null | Type approval number, as registered. |
max_speed_kmh | integer or null | |
condition | Vehicle condition or null | Condition registered for valuation (KoeretoejOplysningKoeretoejstand). Codes and Danish/English labels: |
| Field | Type | Description |
|---|---|---|
vehicle | VehicleRef | |
fuel_type | Fuel type or null | Primary fuel or energy source (DrivkraftType). |
euro_norm | Emission norm or null | Emission norm (NormType). Roman and Arabic numerals for the same Euro stage share one code. |
measurement_norm | Measurement norm or null | Test cycle of the consumption and CO₂ figures (MaaleNormType). Codes and Danish/English labels: |
consumption | object | |
consumption.fuel_km_per_l | number or null | |
consumption.electricity_wh_per_km | number or null | |
emissions | object | |
emissions.co2_g_per_km | number or null | |
emissions.co_mg_per_km | number or null | |
emissions.hc_nox_mg_per_km | number or null | |
emissions.nox_mg_per_km | number or null | |
emissions.particles_mg_per_km | number or null | Particle mass. Unit as registered in DMR (assumed mg/km; to confirm). |
emissions.smoke_opacity_per_m | number or null | Diesel smoke opacity (røgtæthed, m⁻¹). New in v2. |
noise | object | |
noise.stationary_db | number or null | |
noise.stationary_rpm | integer or null | |
noise.driving_db | number or null | |
particle_filter | boolean or null | |
eco_innovation | boolean or null | Whether eco-innovation technology is fitted (v1 |
| Field | Type | Description |
|---|---|---|
code | Equipment type | Equipment type (KoeretoejUdstyrType). Codes and Danish/English labels: |
dmr_number | integer | DMR equipment type number (v1 |
quantity | integer |
| Field | Type | Description |
|---|---|---|
vehicle | VehicleRef | |
current | any | The current insurance. |
history | array of Insurance | Insurance changes, newest first, including the current one. |
updated_at | string (date-time) | When this insurance data was last updated. |
| Field | Type | Description |
|---|---|---|
company | string | Insurance company, as registered. |
policy_number | string or null | |
status | string: active, ended, cancelled, other |
|
date | string (date) | Date the status was registered. |
| Field | Type | Description |
|---|---|---|
valid_from | string (date) | |
valid_to | string (date) or null | Exclusive. |
ended_by | any | The vehicle status that ended the period. |
registration_numbers | array of string | Every registration number seen during the period. |
source | string: derived, observed |
|
| Field | Type | Description |
|---|---|---|
page | integer | |
per_page | integer | |
total | integer | |
total_pages | integer |
| Field | Type | Description |
|---|---|---|
today | object | |
today.date | string (date) | |
today.requests | integer | |
today.limit | integer | |
today.remaining | integer | |
today.insurance_lookups | integer | |
months | array of object | |
months[].month | string | Year and month, |
months[].requests | integer | |
months[].insurance_lookups | integer |
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.
| Field | Type | Description |
|---|---|---|
type | string (uri) | URI identifying the problem type; its page documents it. |
title | string | |
status | integer | |
detail | string | |
instance | string | Request id, also in the |
code | string: invalid_parameter, unauthorized, not_found, vehicle_not_found, daily_limit_reached, invoicing_required, lookup_unavailable, internal_error | Machine-readable error code. |
errors | array of object | Per-parameter details for |
errors[].parameter | string | |
errors[].pointer | string | JSON pointer into the request body. |
errors[].code | string | |
errors[].detail | string |