Skip to content

Vehicle Enquiry API API

by api.gov.uk

No authHTTPSOpen Data
Open documentation ↗

Overview

Interface specification for the DVLA Vehicle Enquiry API

Vehicle Enquiry API is an open data API from api.gov.uk. It needs no API key. It is served over HTTPS. Its OpenAPI description documents 1 endpoints.

At a glance

Authentication
No auth
HTTPS
Yes
CORS
Unknown
Category
Open Data
Base URL
https://driver-vehicle-licensing.api.gov.uk/vehicle-enquiry
Version
1.1.0
Endpoints
1
Spec updated
2021-06-21

Make a first request

Replace the placeholders; the documentation says exactly where credentials go.

cURL
curl -X POST "https://driver-vehicle-licensing.api.gov.uk/vehicle-enquiry/v1/vehicles" \
  -H "Accept: application/json"
JavaScript
const response = await fetch("https://driver-vehicle-licensing.api.gov.uk/vehicle-enquiry/v1/vehicles", {
  method: "POST",
  headers: {
    "Accept": "application/json",
  },
});
const data = await response.json();
console.log(data);
Python
import requests

response = requests.request(
    "POST",
    "https://driver-vehicle-licensing.api.gov.uk/vehicle-enquiry/v1/vehicles",
    headers={
    "Accept": "application/json",
    },
    timeout=30,
)
print(response.json())

Endpoints

MethodPathWhat it does
POST/v1/vehiclesGet vehicle details by registration number

Questions

Does the Vehicle Enquiry API API need an API key?

No. The Vehicle Enquiry API API can be called without an API key or sign-up, which makes it handy for prototypes and front-end demos.

Does the Vehicle Enquiry API API support HTTPS?

Yes, the Vehicle Enquiry API API is served over HTTPS.

How many endpoints does the Vehicle Enquiry API API have?

Its OpenAPI description lists 1 endpoint in version 1.1.0. All of them are shown on this page.

What are alternatives to the Vehicle Enquiry API API?

Other Open Data APIs include Search Services, Wayback API, Wikipedia, Nasdaq Data Link, University of Oslo.

Compare alternatives →

Listed from APIs.guru (CC0).