DVLA API: look up a vehicle by registration
The DVLA publishes a free Vehicle Enquiry Service (VES) API. Here is how it works, what it returns, how to get access, and when a combined API saves you time.
Part of our Vehicle APIs.
What the DVLA Vehicle Enquiry Service API returns
Send a registration with a POST request and an x-api-key header, and the DVLA returns the vehicle's make, colour, fuel type, engine capacity, CO2 emissions, Euro status (where held), year of manufacture, month of first registration, tax status and due date, MOT status and expiry, type approval, wheelplan, revenue weight, export marker and the date of the latest V5C logbook.
POST https://driver-vehicle-licensing.api.gov.uk/vehicle-enquiry/v1/vehicles
x-api-key: <your DVLA key>
content-type: application/json
{"registrationNumber": "AB12CDE"}
How to get a DVLA API key
Apply through the DVLA's registration form for the Vehicle Enquiry Service. You give your name, company, address, intended use and expected monthly volume. Approval is manual and can take several working days. The terms allow one key per company, a default rate of 2 requests a second, and the DVLA can suspend or withdraw access. The data is licensed under the Open Government Licence, which allows commercial use with attribution.
What it does not include
VES does not include MOT test history, mileage, advisories or model names; those come from the separate DVSA MOT History API, which has its own application, OAuth credentials and data format. Neither API returns keeper details.
DVLA and MOT data in one call
Our UK vehicle data API calls both sources for you and returns one JSON record, with mileage in miles, an estimated clean air zone status and expiry countdowns. Keys are issued immediately, with 100 free lookups a month.
curl https://api.tychelabs.net/v1/vehicles/AB12CDE \
-H "x-api-key: $TYCHE_API_KEY"const res = await fetch("https://api.tychelabs.net/v1/vehicles/AB12CDE", {
headers: { "x-api-key": process.env.TYCHE_API_KEY },
});
const { data, meta } = await res.json();
console.log(data.make, data.model); // FORD FIESTA
console.log(data.mot.expiryDate); // 2026-12-09
console.log(data.cleanAirZone.result); // likely_compliant (an estimate)
console.log(data.mileage.anomalyFound); // falseimport os, requests
r = requests.get(
"https://api.tychelabs.net/v1/vehicles/AB12CDE",
headers={"x-api-key": os.environ["TYCHE_API_KEY"]},
timeout=10,
)
r.raise_for_status()
v = r.json()["data"]
print(v["make"], v["model"]) # FORD FIESTA
print(v["tax"]["status"], v["tax"]["dueDate"])
print(v["mileage"]["anomalyFound"]) # FalseCommon questions
Is the DVLA API free?
Yes, the DVLA does not charge for the Vehicle Enquiry Service API at present, but its terms allow it to change that. Access needs an approved application.
Does the DVLA API give MOT history?
No. It gives current MOT status and expiry only. Test history, mileage and defects come from the DVSA MOT History API.
Can I get the owner of a vehicle from the DVLA API?
No. Keeper details are not available through either API and need a separate legal basis and process with the DVLA.
Skip the application queue
DVLA and MOT history in one call, with a key in seconds and 100 free lookups a month.