The DVLA Vehicle Enquiry API is a RESTful service that provides vehicle details of a specified vehicle. It uses the vehicle registration number as input to search and provide details of the vehicle.
Go to siteThe UK gov Vehicle Enquiry API provides a range of data relating to vehicles registered in the UK such as MOT, tax and driver & vehicle licence information. With this API, developers can create tools and applications that allow the user to search, store and retrieve vehicle-related data.
Using this comprehensive API, developers can build all sorts of powerful applications and services which can be used to simplify the process of determining the ownership of a vehicle, identify vehicle tax and MOT history, check vehicle compatibility for renting or leasing, and validate customer payment details, to name a few.
Here are some of the many things developers can build with the UK gov Vehicle Enquiry API:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
uk_gov_vehecle_enquiry_api: {
type: "app",
app: "uk_gov_vehecle_enquiry_api",
}
},
async run({steps, $}) {
const data = {
"registrationNumber": `{enter_registration_number_here}`,
}
return await axios($, {
method: "post",
url: `https://driver-vehicle-licensing.api.gov.uk/vehicle-enquiry/v1/vehicles`,
headers: {
"x-api-key": `${this.uk_gov_vehecle_enquiry_api.$auth.api_key}`,
"Content-Type": `application/json`,
},
data,
})
},
})
UK gov Vehicle Enquiry API uses API keys for authentication. When you connect your UK gov Vehicle Enquiry API account, Pipedream securely stores the keys so you can easily authenticate to UK gov Vehicle Enquiry API APIs in both code and no-code steps.
Your API Key is sent to your email when you sign up to UK gov Vehicle Enquiry API