# MOT history for a UK number plate

**Use case:** 

Full DVSA MOT history for a UK vehicle: every test with result, mileage, advisories and failures, plus make, model and colour. Paste your own registrations.

## Input

```json
{
  "registrations": [
    "MV15DHL"
  ],
  "oneRowPerTest": false
}
```

## Output

```json
{
  "query": {
    "label": "Searched",
    "format": "text"
  },
  "found": {
    "label": "Found",
    "format": "boolean"
  },
  "registration": {
    "label": "Registration",
    "format": "text"
  },
  "make": {
    "label": "Make",
    "format": "text"
  },
  "model": {
    "label": "Model",
    "format": "text"
  },
  "fuelType": {
    "label": "Fuel",
    "format": "text"
  },
  "primaryColour": {
    "label": "Colour",
    "format": "text"
  },
  "motStatus": {
    "label": "MOT",
    "format": "text"
  },
  "motExpiryDate": {
    "label": "MOT expires",
    "format": "date"
  },
  "latestTestDate": {
    "label": "Last test",
    "format": "date"
  },
  "latestTestResult": {
    "label": "Result",
    "format": "text"
  },
  "latestMileage": {
    "label": "Mileage",
    "format": "number"
  },
  "latestMileageUnit": {
    "label": "Unit",
    "format": "text"
  },
  "totalFails": {
    "label": "Fails",
    "format": "number"
  },
  "latestTestAdvisories": {
    "label": "Advisories (last test)",
    "format": "number"
  },
  "mileageDropped": {
    "label": "Mileage dropped",
    "format": "boolean"
  },
  "hasOutstandingRecall": {
    "label": "Open recall",
    "format": "text"
  },
  "error": {
    "label": "Error",
    "format": "text"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The UK MOT History Check (DVSA) Actor is ready to run with the inputs already set for "MOT history for a UK number plate". [Sign up or log in](https://console.apify.com/create-task-from-example/3khTVTxEhDcfa70fr) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "MOT history for a UK number plate" task

The UK MOT History Check (DVSA) Actor will start running based on the input automatically. You can also change all the input fields, like registrations and one row per mot test, to match your specific use case.

### 3. Receive the "MOT history for a UK number plate" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as searched, found, registration, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "MOT history for a UK number plate" task via API](https://apify.com/onibaku/uk-mot-history.md).

## About this Actor

This example demonstrates how to use [UK MOT History Check (DVSA)](https://apify.com/onibaku/uk-mot-history.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/onibaku/uk-mot-history.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/onibaku/uk-mot-history.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
