← Back to Setup Docs

How to Get Free DVLA VES & DVSA MOT History API Keys for WordPress

Did you know UK garages, mechanics, and web agencies don't need to pay 10p per vehicle lookup to third-party data resellers? Both the DVLA and DVSA provide free official UK Government APIs under the Open Government Licence v3.0.

Here is the exact difference between the two APIs and how to apply for both in under 5 minutes.

Why You Want Both APIs Together

RegPilot automatically merges both responses into one clean vehicle card and caches each plate in WordPress transients for 24 hours so repeat lookups are instant.

Part 1: Apply for Your Free DVLA VES API Key

  1. Visit the official DVLA API Developer Portal and submit an access request.
  2. Describe your legitimate business use clearly (e.g., "Online MOT and vehicle servicing enquiry form for our independent UK garage website; transactional customer lookups only, no bulk harvesting").
  3. Approval usually arrives by email within a few working days with your x-api-key.
  4. Paste it into Settings → RegPilot → DVLA API Key.

Part 2: Apply for Your Free DVSA MOT History API (OAuth 2.0 / Entra ID)

  1. Complete the official DVSA MOT Trade API Registration Form.
  2. Once approved, DVSA emails you 4 credentials: Client ID, Client Secret, Tenant ID, and API Key (X-API-Key) (plus Scope URL https://tapi.dvsa.gov.uk/.default).
  3. Normally, developers have to build a custom Microsoft Entra ID OAuth 2.0 token fetcher and refresh the 60-minute Bearer token every hour. RegPilot handles all Entra ID OAuth 2.0 token requests and 55-minute caching automatically—just paste the 4 fields under Settings → RegPilot and click Run Test.

Important GOV.UK Rules to Remember

Try the Live RegPilot Plate Demo →