GOV.UK

Vehicle Enquiry API

Interface specification for the DVLA Vehicle Enquiry API

Government & public#openapi#open-data

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

Interface specification for the DVLA Vehicle Enquiry API

Endpoints 1

vehicle

  • POSTGet vehicle details by registration number/v1/vehiclesReturns vehicle details based on registration number

API details

Base URL
https://driver-vehicle-licensing.api.gov.uk/vehicle-enquiry
https://uat.driver-vehicle-licensing.api.gov.uk/vehicle-enquiry
Authentication
None declared in the description
Operations
1 operation on 1 pathPOST 1
Main resources
vehicle 1
Response formats
application/json
Description format
OpenAPI 3.0.0, API version 1.1.0
Listed from
APIs.guru OpenAPI Directory (CC0-1.0)
Source updated

How to test the Vehicle Enquiry API in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Vehicle Enquiry API collection, without the publisher's secrets.
  3. Add your credentialsOpen the collection's variables or an environment and enter your API key or token, if the API needs one.
  4. Send a requestPick an endpoint, for example “Get vehicle details by registration number” (POST /v1/vehicles), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Vehicle Enquiry API?

Interface specification for the DVLA Vehicle Enquiry API It is listed under Government & public and has 1 endpoint.

Who publishes the Vehicle Enquiry API?

It is listed from GOV.UK's public API description (an OpenAPI document), not published by GOV.UK on Swastik Codes. Anyone who controls api.gov.uk can claim the profile by adding a DNS TXT record.

What is the base URL of the Vehicle Enquiry API?

Its description lists 2 base URLs: https://driver-vehicle-licensing.api.gov.uk/vehicle-enquiry, https://uat.driver-vehicle-licensing.api.gov.uk/vehicle-enquiry. The first is the usual one; the others are typically sandbox or regional servers.

How do I authenticate with the Vehicle Enquiry API?

Its OpenAPI description does not declare an authentication scheme. Some endpoints may be open; check the provider's documentation before relying on that.

How many endpoints does the Vehicle Enquiry API have?

1 operation on 1 path (1 POST). The largest groups are vehicle.

Is forking the Vehicle Enquiry API free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.