UK-EN

MOT History & Tax Status

Combined DVLA & DVSA Data with Full MOT History

Combines DVLA and DVSA data in a single endpoint, for ease of integration with your app or website to provide basic vehicle identity information,  along with tax status and full MOT history.  


Key Features

Tax Status

Identifies if the vehicle is currently taxed, and the expiry date.

Classic Vehicle Flag

Identifies whether a vehicle is classed as a classic car based on dates of registration and manufacture.

MOT History

The date, result, reasons for refusal, and advisories for all prior MOT tests.

NI Registration Flag

Identifies vehicles likely to be registered in Northern Ireland and subject to different MOT test requirements

Make, Model & Colour

Identifies the make, model and colour of the vehicle.

Registration Date

Identifies the date of first registration.

Pricing

PAYG
5p
Per Use

Pricing

PlanGBPEURUSD
PAYG (Per Use)5p6c7c
Business (Per Use)3p4c5c
Enterprise (Per Use)1p2c2c

Sample Response

Documentation

Introduction

This endpoint returns MOT History and current Vehicle Tax status of a vehicle.

Header

When making calls to our API, include the following header:

x-api-key:your-api-key-here

Example Request

https://api.oneautoapi.com/oneauto/mothistoryandtaxstatus?vehicle_registration_mark=AB21ABC

Example Sandbox Request

https://sandbox.oneautoapi.com/oneauto/mothistoryandtaxstatus?vehicle_registration_mark=AB21ABC

Request Parameters

vehicle_registration_mark
mandatory, string, e.g. AB21ABC
Vehicle registration number.

Sample Response

{
  "success": true,
  "result": {
    "is_dvsa_service_available": true,
    "is_dvla_service_available": true,
    "dvla_data": {
      "tax_status": "Taxed",
      "tax_expiry_date": "2020-01-01"
    },
    "dvsa_data": {
      "vehicle_status_details": {
        "is_possible_classic_vehicle": false,
        "is_possible_ni_registered_vehicle": false
      },
      "dvsa_vehicle_Data": {
        "vehicle_registration_mark": "AB21ABC",
        "manufacturer_desc": "MINI",
        "model_range_desc": "COOPER",
        "first_registration_date": "2020-01-01",
        "fuel_type_desc": "Petrol",
        "colour": "RED"
      },
      "mot_tests": [
        {
          "mot_test_number": 123456789,
          "mot_test_date": "2023-01-01",
          "mot_test_result": "PASSED",
          "mot_expiry_date": "2024-01-01",
          "observation_mileage": 12345,
          "reason_for_refusal_and_comments": [
            {
              "comments": "Offside Windscreen wiper blade defective (3.4 (b) (i))",
              "type": "MINOR"
            }
          ]
        }
      ]
    }
  },
  "error": "If there is an error the message would go here"
}

Response Parameters

success
e.g. true
Whether the api call was successful
is_dvsa_service_available
e.g. true
Indicates whether the DVSA service was available when queried.
is_dvla_service_available
e.g. true
Indicates whether the DVLA services was available when queried.
tax_status
e.g. Taxed
The tax status
tax_expiry_date
e.g. 2020-01-01
The date the vehicle tax expires.
is_possible_classic_vehicle
e.g. false
Is the vehicle over 40 years old and therefore classed as a classic where an MOT is not required.
is_possible_ni_registered_vehicle
e.g. false
Does the vehicle have a Northern Ireland format plate and therefore may be registered in Northern Ireland where the first MOT is not required until the vehicle is 4 years old.
vehicle_registration_mark
e.g. AB21ABC
Vehicle registration number (VRM).
manufacturer_desc
e.g. MINI
Manufacturer description
model_range_desc
e.g. COOPER
Model range description.
first_registration_date
e.g. 2020-01-01
Date of first registration.
fuel_type_desc
e.g. Petrol
The vehicle's fuel type description
colour
e.g. RED
Exterior colour of vehicle.
mot_test_number
e.g. 123456789
The MOT test number.
mot_test_date
e.g. 2023-01-01
The MOT test date.
mot_test_result
e.g. PASSED
The MOT test result.
mot_expiry_date
e.g. 2024-01-01
The MOT expiry date.
observation_mileage
e.g. 12345
The MOT test recorded mileage.
comments
e.g. Offside Windscreen wiper blade defective (3.4 (b) (i))
The MOT comments.
type
e.g. MINOR
The refusal type.
error
e.g. If there is an error the message would go here
Details of what went wrong with the api call

Status Codes

200
success, chargeable
Request has been successfully received and a response has been sent.
202
accepted, non-chargeable
Request has been received and accepted for processing, but the action has not yet been completed.
204
no content, non-chargeable
Request has been successfully received but there is no content to return e.g. if an invalid VRM has been sent.
206
partial content, non-chargeable
Request has been successfully received but limited content is returned e.g. if an invalid VRM has been sent.
400
bad request, non-chargeable
Request was not received e.g. if any required parameters are missing.
403
forbidden, non-chargeable
Request was rejected e.g. if the API key is invalid or the service is not enabled.
429
too many requests, non-chargeable
API key rate limit/quota has been exceeded.
500
internal server error, non-chargeable
We are unable to process the request e.g. if the API is under extremely heavy load.
503
service unavailable, non-chargeable
Service is temporarily unavailable. Contact help@oneautoapi.com

Similar Services

Also Available From One Auto API