07398 946 380
07398 946 380
DVLA API

DVLA API Integration for Used Car Dealer Websites

27 April 2026 8 min read

Used car dealer websites have two major data entry pain points: manually entering vehicle details when adding stock, and keeping tax and MOT status current as it changes. The DVLA Vehicle Enquiry API solves both. Enter a registration number and the API returns make, model, colour, fuel type, engine size, year of manufacture, current tax status and MOT expiry date — automatically populating your listing without anyone typing the data. This post covers how that integration works, how it combines with MOT history data, and what it takes to build.

Auto-populating stock listings from registration number

The most common starting point for a dealer integration is auto-population on the stock entry form. A member of staff enters the vehicle’s registration number, the integration calls the DVLA API, and the form fields populate automatically: make, model, colour, fuel type, engine size, year. The staff member confirms the data, adds photos, sets the price, and the listing is live — without manually typing vehicle specifications that are already held in the DVLA database.

The time saving per vehicle is small — maybe two minutes. Across 50 vehicles a month it’s a meaningful reduction in data entry time and, more importantly, it eliminates the class of errors that come from manual entry: wrong fuel type, incorrect year, misspelled make. Data that comes from DVLA is authoritative. Data that comes from someone typing quickly on a Friday afternoon isn’t.

For franchised dealers or groups managing large volumes of stock, this kind of integration with the dealer management system rather than a web form is common — the registration triggers an automatic data pull that creates the vehicle record across multiple systems simultaneously.

Displaying live tax and MOT status on listings

Vehicle tax and MOT status change over time. A car listed with a valid MOT in January may have an expired MOT by July. A listing that was correct when it was created becomes incorrect without any manual action — or inaction.

An integration that displays live status from the DVLA API rather than stored data keeps listings accurate automatically. The tax status badge, the MOT expiry date, the days-remaining counter — all pulled from DVLA at the point a buyer views the listing rather than from a database field set when the vehicle was added. The data is current because it comes from the source, not from a manual update process.

For dealer websites where trust is a selling point, current and accurate tax and MOT information is a meaningful differentiator. A buyer who can see that a vehicle has seven months of MOT remaining — confirmed live from DVLA — is better informed than one looking at a static date someone entered months ago.

Combining DVLA with DVSA MOT history

DVLA and DVSA serve complementary purposes for a dealer listing. DVLA tells the buyer what the vehicle is and its current status. DVSA tells the buyer the vehicle’s complete MOT test history — every test, with mileage, results, failure reasons and advisories. Together they provide the kind of transparency that builds buyer confidence and reduces pre-sale enquiries about vehicle history.

A listing that shows make, model, engine, fuel type, tax status and MOT expiry from DVLA, then the full MOT history with mileage progression from DVSA, gives a buyer a significant amount of the information they’d otherwise pay for a commercial vehicle check to get. The DVLA data is free. The DVSA data is free. The integration work is a one-off build cost. The per-listing data cost is zero.

Mileage consistency checking is particularly valuable from the DVSA data. If a vehicle’s recorded mileage at each MOT test shows a consistent progression, that’s a positive signal for buyers. If there’s a sharp drop in mileage between tests, that’s a red flag that the integration can surface automatically — either as a dealer alert during stock entry or as a visible indicator on the public listing.

Part-exchange and valuation tools

Many dealer websites offer an instant part-exchange valuation or a “what’s my car worth” tool. The quality of these tools depends heavily on the accuracy of the vehicle data they work with. An integration that retrieves DVLA data the moment a customer enters their registration ensures the valuation is based on correct vehicle specifications — not on what the customer typed, which may be approximate or wrong.

The integration flow: customer enters registration, DVLA API returns vehicle details, those details populate the valuation tool’s data layer, the customer confirms or corrects minor details (mileage is the key input DVLA doesn’t provide), the valuation is calculated on verified vehicle data. DVSA MOT history can be used at this stage to cross-reference the customer’s stated mileage against MOT-recorded mileage — flagging discrepancies automatically without any manual check.

Finance eligibility and insurance integration

Dealer finance and insurance applications benefit from the same auto-population approach. A finance application that auto-populates vehicle details from DVLA when the customer enters their registration reduces form completion time, eliminates transcription errors, and ensures the vehicle on the application matches DVLA’s record. Insurance integration that pulls fuel type, engine size and CO2 emissions from DVLA automatically avoids the customer having to look up these details — reducing drop-off in the application flow.

What the build involves

A standard dealer website DVLA integration covers: API authentication and secure key management server-side; a registration lookup endpoint on your platform; response parsing and data mapping to your listing fields; live status display on listing pages; and error handling for invalid registrations, SORN vehicles and API unavailability.

Adding DVSA MOT history alongside DVLA is the most common extension — both APIs are called in a single lookup, responses are combined, and the full data set is displayed or stored. The combined build is more efficient than building them separately because the proxy infrastructure, error handling and caching layer are shared.

For pricing, see the DVLA API integration cost guide. For the full DVLA service, see the DVLA API integration service. For how DVLA and DVSA differ, see DVLA API vs DVSA MOT API. For adding MOT history to your dealer site, see the DVSA MOT API integration service.

Related posts

Handling edge cases on dealer listings

Not every vehicle in a dealer’s stock will return a clean DVLA response, and the integration needs to handle these cases gracefully rather than showing blank fields or error messages to buyers.

Imported vehicles. Vehicles imported to the UK and registered with DVLA will have a DVLA record, but their data may be limited if the original registration was outside the UK. The integration should handle partial responses — showing available fields and indicating clearly where data isn’t held by DVLA.

SORN vehicles. A vehicle declared SORN is off-road and legally cannot be driven on public roads. If a dealer has SORN stock awaiting preparation, the DVLA response will show SORN status. The integration should flag this clearly on the stock entry form and consider whether SORN vehicles should display differently on the public listing.

New vehicles without MOT. Vehicles under three years old are MOT exempt. The DVLA response will show no MOT data for these vehicles. The integration should display “MOT exempt — under 3 years old” rather than an empty expiry date field, which could be confusing to buyers.

Recently expired MOT. A vehicle with an expired MOT shouldn’t be on a public road, but it might legitimately be in a dealer’s stock awaiting an MOT before sale. The integration should flag this clearly in the stock management system as a task — MOT needed before listing — and either suppress the listing from public view or show the expired status transparently.

Each of these cases needs a defined display and workflow. The integration isn’t just about the happy path where every vehicle has clean data — it’s about handling the full range of vehicle states a dealer encounters and making each one clear and actionable.

If you need help with a custom API integration for your website or business application, I can help. I build bespoke API integrations for UK businesses. See API integration pricing or get in touch to discuss your project.

Need a custom integration built?

I build custom API integrations — Stripe, Companies House and bespoke data pipelines. Reliable, well-documented, no agency overhead.

Discuss your project →