Vehicle Inspection

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

GET Request
Cached or up to 65s
1 credit per request

Endpoint

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

Parameters

ParameterTypeRequiredDescription
vinstringRequired17-character Vehicle Identification Number
countrystringRequiredInspection country code: SK or CZ
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": "Invalid country code. Supported countries: SK, CZ"
}

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 (YYYY-MM-DD)
inspection.ekValidTostringEK (emissions inspection) valid until date (YYYY-MM-DD)

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

502/503/504

Upstream Service Error

Inspection provider failed, was unreachable, or timed out. A cold lookup scrapes the national register, so these are worth retrying

Coverage

Currently Supported

Slovakia (SK) - STK & EK inspections
Czechia (CZ) - STK & EK inspections

Coming Soon

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 (SK) / Stanice technické kontroly (CZ)
  • EK = Emisná kontrola (SK) / Emisní kontrola (CZ)
  • Each successful request consumes 1 API credit from your monthly allowance
  • Response data is cached for improved performance