UK gov Vehicle Enquiry API

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.

Integrate the UK gov Vehicle Enquiry API API with the Node API

Setup the UK gov Vehicle Enquiry API API trigger to run a workflow which integrates with the Node API. Pipedream's integration platform allows you to integrate UK gov Vehicle Enquiry API and Node remarkably fast. Free for developers.

Run Node Code with the Node API

Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.

 
Try it

Overview of UK gov Vehicle Enquiry API

The 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:

  • Automated MOT and Tax Reminder Services
  • Vehicle Tracking Systems
  • Vehicle Rental and Leasing Platforms
  • Vehicle Theft Detection Systems
  • Vehicle Sale and Valuation Services
  • Residual Value Calculators
  • License Plate Recognition Systems

Connect UK gov Vehicle Enquiry API

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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,
    })
  },
})

Connect Node

1
2
3
4
5
6
7
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
  async run({ steps, $ }) {
    // Return data to use it in future steps
    return steps.trigger.event
  },
})

Community Posts

Automate checking a ticket system's availability with Node.js and Pipedream
Automate checking a ticket system's availability with Node.js and Pipedream
How I used Node.js and Pipedream to automatically scrape a ticket booking site and notify me if availability had changed.