Skip to main content
GET
/
api
/
v1
/
vehicles
/
lookup
/
{plate}
Lookup vehicle by license plate
curl --request GET \
  --url https://api.raul.ugps.io/api/v1/vehicles/lookup/{plate} \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://api.raul.ugps.io/api/v1/vehicles/lookup/{plate}"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.raul.ugps.io/api/v1/vehicles/lookup/{plate}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://api.raul.ugps.io/api/v1/vehicles/lookup/{plate}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://api.raul.ugps.io/api/v1/vehicles/lookup/{plate}"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("Authorization", "Bearer <token>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://api.raul.ugps.io/api/v1/vehicles/lookup/{plate}")
.header("Authorization", "Bearer <token>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.raul.ugps.io/api/v1/vehicles/lookup/{plate}")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
{
  "plate": "BBCL12",
  "brand": "TOYOTA",
  "model": "HILUX",
  "year": 2020,
  "vehicleType": 4,
  "vehicleTypeName": "CAMIONETA",
  "dv": "K",
  "version": "2.4 SR 4X4 DIESEL AUT",
  "vin": "8AJMS21L9MZ000123",
  "color": "BLANCO",
  "engineNumber": "1GD0000000",
  "engineSize": "2.4",
  "doors": 4,
  "transmission": "AUTOMATICA",
  "kilometers": 45000,
  "valuation": 18500000,
  "gasType": "DIESEL",
  "manufacturer": "Toyota Motor Corporation",
  "region": "Asia",
  "country": "Japan",
  "lastQueryDate": "2024-01-15"
}
{
"statusCode": 404,
"message": "Vehicle not found",
"error": "Not Found"
}
{
"statusCode": 404,
"message": "Vehicle not found",
"error": "Not Found"
}
{
"statusCode": 404,
"message": "Vehicle not found",
"error": "Not Found"
}
{
"statusCode": 404,
"message": "Vehicle not found",
"error": "Not Found"
}
{
"statusCode": 404,
"message": "Vehicle not found",
"error": "Not Found"
}

Authorizations

Authorization
string
header
required

Bearer token authentication

Path Parameters

plate
string
required

Chilean license plate (e.g., "BBCL12", "BB-CL-12", "BB CL 12")

Required string length: 1 - 10
Example:

"BBCL12"

Response

Vehicle information retrieved successfully

plate
string
required

Normalized license plate (6 uppercase alphanumeric chars)

Example:

"BBCL12"

brand
string
required

Vehicle brand/manufacturer

Example:

"TOYOTA"

model
string
required

Vehicle model

Example:

"HILUX"

year
number
required

Vehicle manufacturing year

Example:

2020

vehicleType
number
required

Numeric vehicle type code

Example:

4

vehicleTypeName
string
required

Human-readable vehicle type name

Example:

"CAMIONETA"

dv
object | null

License plate verification digit

Example:

"K"

version
object | null

Detailed vehicle version

Example:

"2.4 SR 4X4 DIESEL AUT"

vin
object | null

Vehicle Identification Number (VIN/Chassis)

Example:

"8AJMS21L9MZ000123"

color
object | null

Vehicle color

Example:

"BLANCO"

engineNumber
object | null

Engine number

Example:

"1GD0000000"

engineSize
object | null

Engine displacement size

Example:

"2.4"

doors
object | null

Number of doors

Example:

4

transmission
object | null

Transmission type

Example:

"AUTOMATICA"

kilometers
object | null

Recorded kilometers

Example:

45000

valuation
object | null

Estimated vehicle valuation in CLP

Example:

18500000

gasType
object | null

Fuel/gas type

Example:

"DIESEL"

manufacturer
object | null

Vehicle manufacturer company

Example:

"Toyota Motor Corporation"

region
object | null

Manufacturing region

Example:

"Asia"

country
object | null

Country of origin

Example:

"Japan"

lastQueryDate
object | null

Last query date from data source

Example:

"2024-01-15"