Get vehicle details by registration number
Changed onReturns vehicle details based on registration number
Request
- Base URLhttps://driver-vehicle-licensing.api.gov.uk/vehicle-enquiry
- Authnone declared. Required headers: x-api-key
- TypeScripthttps://skmtc.dev/driver-and-vehicle-licensing-age/apis/vehicle-enquiry-api/docs/v1/vehicles/post.tsA function with typed inputs. Its response is checked against the schema.
Headers
Client Specific API Key
Consumer Correlation ID
Request body
Response
Successful response
Example response
{
"registrationNumber": "WN67DSO",
"artEndDate": "2007-12-25",
"engineCapacity": 1796,
"yearOfFirstRegistration": 2012,
"monthOfFirstRegistration": 12,
"yearOfFirstRegistrationWithDVLA": 2012,
"monthOfFirstRegistrationWithDVLA": 12,
"euroStatus": "Euro 5",
"markedAsScrapped": true,
"markedForExport": true,
"fuelType": "PETROL",
"motStatus": "No details held by DVLA",
"motExpiry": "2008-12-25",
"revenueWeight": 1640,
"taxDueDate": "2017-12-25",
"taxStatus": "Untaxed",
"colour": "Blue",
"make": "ROVER",
"typeApproval": "N1",
"wheelPlan": "NON STANDARD",
"yearOfManufacture": 2004,
"dateOfLastV5CIssued": "2016-12-25",
"realDrivingEmissions": "1"
}Changes
- breaking
the response property
became optional for the status - breaking
the
response's property type changed fromstringtointeger, and format fromdatetoint32for status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- breaking