Motor X Checks API

Public JSON for assistants and dealer systems. Email hello@motorxchecks.co.uk. No phone number.

What you can call

The public API is JSON. Free calls are MOT history, expected costs from the latest test, and basic registration details. They work with no key, or with the free key mxk_free. They are rate limited.

MOT history and expected costs use DVSA MOT data. Expected costs list the latest test items. Pound figures are the dealership's own prep rates, returned only when a dealer key is used and those rates exist. There is no published price per advisory.

Signed-in dealers can buy Service X History (£4.99) and Factory X Extras (£4.49). Dealers can buy Service X History for £4.99 and Factory X Extras for £4.49 in the Motor X Checks app. On this website, start with the free MOT history check. A paid call must send confirm true and the price you were just shown. Until then the response is a quote and nothing is charged.

Every paid response includes the charge and the remaining balance. The balance is the dealership's API balance. A call is refused when the balance does not cover the price, and nothing is charged.

Authentication

Send Authorization: Bearer and the dealer key from the app settings page. The key is shown once and stored as a hash. The free key mxk_free only unlocks the free calls.

curl

curl https://motorxchecks.co.uk/api/v1/mot-history?reg=AB12CDE
curl https://motorxchecks.co.uk/api/v1/expected-costs?reg=AB12CDE
curl https://motorxchecks.co.uk/api/v1/vehicle?reg=AB12CDE
curl https://motorxchecks.co.uk/api/v1/balance -H "Authorization: Bearer YOUR_KEY"
curl -X POST https://motorxchecks.co.uk/api/v1/service-history \
  -H "Authorization: Bearer YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"reg":"AB12CDE","confirm":true,"confirmPrice":"4.99"}'

Python

import json, urllib.request
reg = "AB12CDE"
url = "https://motorxchecks.co.uk/api/v1/mot-history?reg=" + reg
with urllib.request.urlopen(url) as response:
    print(json.load(response))

JavaScript

const reg = "AB12CDE";
const history = await fetch("https://motorxchecks.co.uk/api/v1/mot-history?reg=" + reg).then((res) => res.json());
console.log(history);

Support tickets

Support tools need an admin API key created in the dealer app under Support inbox. A dealer key is refused. List and read tickets, set status, priority, category, tags and assignee, add an internal note, or save a draft reply.

A draft is not emailed and the dealer cannot see it. A person approves and sends it in the admin inbox. There is no API call that sends a draft.

curl https://motorxchecks.co.uk/api/v1/support/tickets \
  -H "Authorization: Bearer ADMIN_KEY"
curl -X POST https://motorxchecks.co.uk/api/v1/support/tickets/TICKET_ID/drafts \
  -H "Authorization: Bearer ADMIN_KEY" \
  -H "Content-Type: application/json" \
  -d '{"body":"Thanks for writing. We are looking at this with you."}'

MCP

The same tools are on the MCP server at https://mcp.motorxchecks.co.uk (streamable HTTP). https://motorxchecks.co.uk/mcp answers the same protocol. Send the dealer or admin key as Authorization: Bearer on that HTTP request, or pass api_key in the tool arguments. If both are sent, the argument is used. MOT tools need no key. buy_service_history and buy_factory_extras show the price and charge only when confirm is true and confirm_price matches. start_free_trial_link returns the account page. The trial starts when the dealer account is approved. £30 a month per dealership. Everything included, unlimited users. Free for 30 days — no card needed. Cancel any time, no notice.

curl https://mcp.motorxchecks.co.uk \
  -H "Authorization: Bearer YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_balance","arguments":{}}}'

Machine-readable description

OpenAPI: https://motorxchecks.co.uk/openapi.json. Prices: https://motorxchecks.co.uk/pricing.json.