Get a vehicle's details and MOT tests by registration number.
GET/v1/trade/vehicles/registration/{registration}
- Passive: the target is not contacted
Returns either a vehicle with MOT tests or, for a newly registered vehicle, the vehicle with the date its first MOT is due. Test records differ slightly by source (DVSA, DVA NI, CVS).
Path parameters
registrationRegistration number of the vehicle
Response fields · 21ShowHide
registration
Registration number of the vehicle
make
Vehicle manufacturer
model
Vehicle model
firstUsedDate
Date first used (YYYY-MM-DD)
fuelType
Type of fuel
primaryColour
Primary colour
registrationDate
Date first registered (YYYY-MM-DD)
manufactureDate
Date manufactured (YYYY-MM-DD)
engineSize
Engine capacity in cc
hasOutstandingRecall
Yes, No, Unknown or Unavailable
completedDate
Date-time the test was completed
testResult
PASSED or FAILED
expiryDate
Date the MOT expires (YYYY-MM-DD)
odometerValue
Odometer reading, if read
odometerUnit
MI or KM
odometerResultType
READ, UNREADABLE or NO_ODOMETER
motTestNumber
MOT test number
dataSource
DVSA, DVA NI or CVS
text
Description of the defect
type
ADVISORY, DANGEROUS, FAIL, MAJOR, MINOR and other types
dangerous
Whether the defect is dangerous
curl 'https://history.mot.api.gov.uk/v1/trade/vehicles/registration/AA51AAA' \
-H 'Authorization: Bearer YOUR_API_KEY'{
"registration": "AA51AAA",
"make": "Ford",
"model": "Focus",
"firstUsedDate": "2015-03-01",
"fuelType": "Petrol",
"primaryColour": "Silver",
"registrationDate": "2015-03-01",
"manufactureDate": "2015-02-01",
"engineSize": "1598",
"hasOutstandingRecall": "No",
"motTests": [
{
"completedDate": "2023-02-17T09:17:46.000Z",
"testResult": "PASSED",
"expiryDate": "2024-02-16",
"odometerValue": "50000",
"odometerUnit": "MI",
"odometerResultType": "READ",
"motTestNumber": "123456789012",
"dataSource": "DVSA",
"defects": [
{
"text": "Example advisory text",
"type": "ADVISORY",
"dangerous": false
}
]
}
]
}