Licence plates and Insurances

The API has been replaced by the endpoints available in Automotive

To check any number plate and obtain info such as registration date, model and features and insurance, discover the new services in Automotive

Deprecated starting from 2024-12-31

All the knowledge you need

Here you can find some advice to consider to approach this API. If you prefer, we provide code samples, OAS3 documentation, the ability to try the API live via the Swagger UI or import the entire collection into Postman. We also offer a Sandbox environment where you can experiment with all kinds of requests completely free of charge.

Useful tips to start with Licence plates and Insurances

Get the token in the appropriate section before you start.

Use the the online tool or generate it via API. Set the expire date, a usefull name and now add a bunch of scopes to limit the possible actions your token can do.

Targa (1.0.0)

Web service that allows you to receive information about a vehicle starting from its license plate.

Vehicles

Methods that allow you to receive information about cars and motorcycles

Information about a car

This method shows information about a car starting from its Italian license plate

Authorizations:
bearerAuth
path Parameters
targa
required
string^[a-zA-Z]{2}[0-9]{3}[a-zA-Z]{2}$
Example: zr567zy

License plate

Responses

Response Schema: application/json
Array of objects (Auto)
success
boolean
message
string
error
integer

Request samples

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "https://targa.openapi.it/auto/%7Btarga%7D");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "Authorization: Bearer REPLACE_BEARER_TOKEN");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

CURLcode ret = curl_easy_perform(hnd);

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "message": "",
  • "error": null
}

Information about a motorcycle

This method shows information about a motorcycle starting from its Italian license plate

Authorizations:
bearerAuth
path Parameters
targa
required
string^[a-zA-Z]{2}[0-9]{5}$
Example: ab12345

License plate

Responses

Response Schema: application/json
Array of objects (Moto)
success
boolean
message
string
error
integer

Request samples

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "https://targa.openapi.it/moto/%7Btarga%7D");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "Authorization: Bearer REPLACE_BEARER_TOKEN");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

CURLcode ret = curl_easy_perform(hnd);

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "message": "",
  • "error": null
}

Information about car insurance

This method shows information about car insurance starting from its Italian license plate

Authorizations:
bearerAuth
path Parameters
targa
required
string^[a-zA-Z]{2}[0-9]{3}[a-zA-Z]{2}$
Example: zr567zy

License plate

Responses

Response Schema: application/json
Array of objects (Assicurazione)
success
boolean
message
string
error
integer

Request samples

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "https://targa.openapi.it/assicurazione/%7Btarga%7D");

struct curl_slist *headers = NULL;
headers = curl_slist_append(headers, "Authorization: Bearer REPLACE_BEARER_TOKEN");
curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);

CURLcode ret = curl_easy_perform(hnd);

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "message": "",
  • "error": null
}