Vehicle Inspection

Access periodic roadworthiness and emissions inspection records (STK, EK)

GET Request
~400ms response
1 credit per request

Current Limitations

Currently only Slovakia (SK) inspection data is supported. More European countries will be added in the future.

Endpoint

GET https://api.carapi.dev/v1/inspection/{vin}

Parameters

ParameterTypeRequiredDescription
vinstringRequired17-character Vehicle Identification Number
countrystringRequiredCountry code (currently only 'SK' supported)
tokenstringRequiredAPI authentication token (query parameter)

Request Examples

cURL

curl -X GET \
  "https://api.carapi.dev/v1/inspection/1HGBH41JXMN109186?country=SK&token=YOUR_API_KEY"

JavaScript

// Using fetch API
const response = await fetch('https://api.carapi.dev/v1/inspection/1HGBH41JXMN109186?country=SK&token=YOUR_API_KEY', {
  method: 'GET',
  headers: {
    'Content-Type': 'application/json'
  }
});

const data = await response.json();
console.log(data);

Python

import requests

url = "https://api.carapi.dev/v1/inspection/1HGBH41JXMN109186"
params = {
    "country": "SK",
    "token": "YOUR_API_KEY"
}

response = requests.get(url, params=params)
data = response.json()
print(data)

Response Examples

Success Response (200)

{
  "vin": "1HGBH41JXMN109186",
  "country": "SK",
  "inspection": {
    "stkValidTo": "2024-12-15",
    "ekValidTo": "2025-06-20"
  }
}

Error Response (400)

{
  "error": "Only Slovakia (SK) is currently supported"
}

Not Found Response (404)

{
  "error": "Vehicle inspection data not found"
}

Response Fields

FieldTypeDescription
vinstringThe VIN number that was checked
countrystringCountry code for the inspection system
inspectionobjectInspection data object
inspection.stkValidTostringSTK (technical inspection) valid until date (ISO format)
inspection.ekValidTostringEK (emissions inspection) valid until date (ISO format)

Error Codes

400

Bad Request

Invalid VIN format, missing country parameter, or unsupported country

403

Forbidden

Invalid or missing API token

404

Not Found

Vehicle inspection data not found

500

Internal Server Error

Server encountered an error processing the request

Coverage

Currently Supported

Slovakia (SK) - STK & EK inspections

Coming Soon

Czech Republic (CZ) - STK & EK
Germany (DE) - TÜV & AU
United Kingdom (UK) - MOT

Important Notes

  • VIN must be exactly 17 characters long and contain only alphanumeric characters (except I, O, and Q)
  • STK = Stanica technickej kontroly (Technical inspection in Slovakia)
  • EK = Emisná kontrola (Emissions inspection in Slovakia)
  • Each successful request consumes 1 API credit from your monthly allowance
  • Response data is cached for improved performance