Get alert by plate
curl --request GET \
--url https://itpgo-api.itpgo.workers.dev/alerts/{plate}import requests
url = "https://itpgo-api.itpgo.workers.dev/alerts/{plate}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://itpgo-api.itpgo.workers.dev/alerts/{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://itpgo-api.itpgo.workers.dev/alerts/{plate}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://itpgo-api.itpgo.workers.dev/alerts/{plate}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://itpgo-api.itpgo.workers.dev/alerts/{plate}")
.asString();require 'uri'
require 'net/http'
url = URI("https://itpgo-api.itpgo.workers.dev/alerts/{plate}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"id": "5d06ab7f-dab1-45b8-a084-e63e0b1f6584",
"plate": "B-06-SSS",
"status": "expiring_soon",
"expiresAt": "2025-12-31T23:59:59.000Z",
"createdAt": "2025-11-10T12:00:00.000Z"
}Alerts
Get alert by plate
Retrieve the latest alert status for a given car plate.
GET
/
alerts
/
{plate}
Get alert by plate
curl --request GET \
--url https://itpgo-api.itpgo.workers.dev/alerts/{plate}import requests
url = "https://itpgo-api.itpgo.workers.dev/alerts/{plate}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://itpgo-api.itpgo.workers.dev/alerts/{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://itpgo-api.itpgo.workers.dev/alerts/{plate}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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://itpgo-api.itpgo.workers.dev/alerts/{plate}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://itpgo-api.itpgo.workers.dev/alerts/{plate}")
.asString();require 'uri'
require 'net/http'
url = URI("https://itpgo-api.itpgo.workers.dev/alerts/{plate}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"id": "5d06ab7f-dab1-45b8-a084-e63e0b1f6584",
"plate": "B-06-SSS",
"status": "expiring_soon",
"expiresAt": "2025-12-31T23:59:59.000Z",
"createdAt": "2025-11-10T12:00:00.000Z"
}Path Parameters
Pattern:
^[A-Z0-9-]{3,15}$/iExample:
"BV504DAN"
Response
Alert found
Example:
"5d06ab7f-dab1-45b8-a084-e63e0b1f6584"
Pattern:
^[A-Z0-9-]{3,15}$/iExample:
"B-06-SSS"
Available options:
active, expiring_soon, expired Example:
"expiring_soon"
Example:
"2025-12-31T23:59:59.000Z"
Example:
"2025-11-10T12:00:00.000Z"