Glossary

DVLA VES API

The Driver and Vehicle Licensing Agency's Vehicle Enquiry Service (VES) API allows applications to look up UK-registered vehicle details — including make, model, fuel type, engine size, and CO2 emissions — using a number plate (VRN).

Direct Answer / TL;DR

What is DVLA VES API?

The Driver and Vehicle Licensing Agency's Vehicle Enquiry Service (VES) API allows applications to look up UK-registered vehicle details — including make, model, fuel type, engine size, and CO2 emissions — using a number plate (VRN).

Why does it matter for UK drivers?

The DVLA VES API is a free, publicly accessible API provided by HM Government. Developers register for an API key via the API Developer Portal and can then query vehicle details by number plate. It's the same data source used by the DVLA website's free vehicle check service.

Key data fields returned include: make, year of manufacture, fuel type, engine capacity (CC), CO2 emissions (g/km), colour, and tax/MOT status. The CO2 figure and engine capacity are particularly useful for estimating fuel economy when the official MPG figure isn't directly available.

WorthThePump queries the DVLA VES API when you enter your number plate. The response takes roughly 200–600ms and provides enough data to derive an accurate MPG estimate through a four-layer fallback: (1) VCA official dataset match, (2) CO2-based formula, (3) engine capacity heuristic, (4) 40 MPG default. Results are cached for 24 hours to avoid hitting DVLA rate limits.

GDPR compliance is built in — for anonymous users, the number plate is used for the lookup but never stored linked to a user. The returned vehicle data (make, fuel type, MPG) is cached against the plate for the 24-hour window, but not associated with any personal identity.

The VES API is rate-limited. DVLA does not publish the exact limits, but excessive queries will result in 429 responses. The 24-hour caching strategy ensures popular plates (e.g., common fleet vehicles) only trigger one DVLA API call per day regardless of how many WorthThePump users enter them.

API documentation: developer.api.gov.uk/api-catalogue/dvla-vehicle-enquiry-service

Related terms

Further reading

Now you know what DVLA VES API means —

find out if your nearest cheap station is actually worth the trip.