Docs

# Check Vignette

# Request

Checks the validity of an existing vignette based on the vehicle's country code and license plate number. This endpoint is useful for preventing duplicate purchases by verifying whether an active vignette already exists for the queried vehicle.

GET /v1/vignette/check

# Parameters

Parameter Type Required Description
countryCode string Yes The two-letter country code (e.g., RO, BG) of the vehicle's registration.
lpn string Yes The license plate number of the vehicle (without spaces or special characters).

# Code samples

curl -X GET "https://api.rovinieteonline.ro/v1/vignette/check?countryCode=RO&lpn=B123ABC" \
     -H "X-Authorization: [YOUR_API_KEY]" \
     -H "Content-Type: application/json"
try {
    const res = await fetch("https://api.rovinieteonline.ro/v1/vignette/check?countryCode=RO&lpn=B123ABC", {
        method: "GET",
        headers: {
            "X-Authorization": "[YOUR_API_KEY]",
            "Content-Type": "application/json"
        }
    })
    const json = await res.json()
    console.log(json)
} catch (err) {
    console.log(err)
}

# Response

On success, the endpoint will return a list with active vignettes for the requested vehicle:

[
  {
    "currency": "string",
    "emissionsClass": "string",
    "price": "string",
    "currencyAmount": {
      "amountBGN": 0,
      "amountEUR": 0
    },
    "productId": 0,
    "status": "string",
    "statusCode": 0,
    "valid": true,
    "validityEndDate": "2025-06-20T08:37:24.180Z",
    "validityEndDateTimeEET": "2025-06-20T08:37:24.180Z",
    "validityEndDateTimeUTC": "2025-06-20T08:37:24.180Z",
    "validityEndFormatted": "string",
    "validityStartDate": "2025-06-20T08:37:24.180Z",
    "validityStartDateTimeEET": "2025-06-20T08:37:24.180Z",
    "validityStartDateTimeUTC": "2025-06-20T08:37:24.180Z",
    "validityStartFormatted": "string",
    "vehicleClass": "string",
    "vignetteCode": "string"
  }
]