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
| Parameter | Type | Required | Description |
|---|---|---|---|
| vin | string | Required | 17-character Vehicle Identification Number |
| country | string | Required | Country code (currently only 'SK' supported) |
| token | string | Required | API 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
| Field | Type | Description |
|---|---|---|
| vin | string | The VIN number that was checked |
| country | string | Country code for the inspection system |
| inspection | object | Inspection data object |
| inspection.stkValidTo | string | STK (technical inspection) valid until date (ISO format) |
| inspection.ekValidTo | string | EK (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