Developer Portal

Access tools, documentation, and resources to integrate with the AskMid Motor Insurance Database API.

API Documentation

The AskMid API provides programmatic access to the Motor Insurance Database, allowing you to verify vehicle insurance status, retrieve policy details, and more.

All API requests require authentication using your API key. Make sure to include your API key in the Authorization header of each request.

Base URL

https://api.askmid.net/v1

Authentication

All API requests must include your API key in the Authorization header:

Authorization: Bearer YOUR_API_KEY

Endpoints

POST/vehicles/check

Check if a vehicle is insured based on its registration number.

Request Body

{ "registration": "AB12CDE" }

Response

{ "status": "success", "data": { "registration": "AB12CDE", "insured": true, "policyStatus": "active", "lastChecked": "2025-05-07T14:12:33Z" } }

Example Request

curl -X POST https://api.askmid.net/v1/vehicles/check -H "Authorization: Bearer YOUR_API_KEY" -H "Content-Type: application/json" -d '{ "registration": "AB12CDE" }'
GET/vehicles/{registration}/policy
POST/vehicles/batch-check

Error Codes

Status CodeError CodeDescription
400invalid_requestThe request was malformed or missing required parameters
401unauthorizedInvalid or missing API key
403forbiddenYour API key doesn't have permission to access this resource
404not_foundThe requested resource was not found
429rate_limit_exceededYou've exceeded your rate limit
500server_errorAn error occurred on our servers

Need Help?

If you have any questions or need assistance with the API, please don't hesitate to contact our developer support team.