Costa Rica โ Traffic infractions
The Costa Rica traffic infractions lookup reads COSEVI tickets for one plate. plate is required and must be 3 to 6 characters. A validation failure returns HTTP 409 with code 409:invalid_params, not MissingParameter. A plate with no tickets is 404 NotFound.
What the call returnsโ
plateandtotalRecordsinfractions[]with status and amounts
Use casesโ
- Check tickets before you register a vehicle.
- Reject a plate that is not 3 to 6 characters.
- Read the total amount on each ticket.
API Referenceโ
Endpointโ
GET https://api.verifik.co/v2/cr/traffic-infractions
A hit includes plate, totalRecords, and infractions with series, number, date, status, authority, and amounts.
Headersโ
| Name | Value | Description |
|---|---|---|
| Content-Type | application/json | Request payload format |
| Accept | application/json | Response format |
| Authorization | Bearer <your_token> | Client JWT |
Parametersโ
| Name | Type | Required | Example | Description |
|---|---|---|---|---|
plate | string | Yes | 123456 | License plate, 3 to 6 characters, without spaces. A missing or wrong-length plate returns code 409:invalid_params. |
Requestโ
- Node.js / JavaScript
- Python
- cURL
import axios from "axios";
const options = {
method: "GET",
url: "https://api.verifik.co/v2/cr/traffic-infractions",
params: {
plate: "123456",
},
headers: {
Accept: "application/json",
Authorization: "Bearer <your_token>",
},
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error.response ? error.response.data : error.message);
}
import requests
url = "https://api.verifik.co/v2/cr/traffic-infractions"
headers = {
"Accept": "application/json",
"Authorization": "Bearer <your_token>",
}
params = {
"plate": "123456",
}
response = requests.get(url, headers=headers, params=params)
print(response.json())
curl -X GET "https://api.verifik.co/v2/cr/traffic-infractions?plate=123456" \
-H "Accept: application/json" \
-H "Authorization: Bearer <your_token>"
Responseโ
- 200 (Record found)
- 409 (Missing parameter)
- 404 (Not found)
- 401 (Unauthorized)
- 500 (Source unavailable)
{
"data": {
"plate": "123456",
"totalRecords": "1",
"infractions": [
{
"series": "1996",
"number": "12052",
"plate": "123456",
"status": "CANCELADA",
"totalAmount": "2000.00"
}
]
},
"signature": {
"dateTime": "November 27, 2026 12:00 PM",
"message": "Certified by Verifik.co"
}
}
{
"code": "409:invalid_params",
"message": "\"plate\" length must be at least 3 characters long"
}
{
"code": "NotFound",
"message": "Record not found."
}
{
"code": "UNAUTHORIZED",
"message": "Authentication required"
}
{
"code": "InternalServerError",
"message": "The official source is temporarily unavailable. Please retry shortly."
}
Notesโ
platemust be 3 to 6 characters.- Invalid plates return code
409:invalid_params. - No tickets for that plate is 404
NotFound. - Send a Bearer JWT in the
Authorizationheader. - The JSON sample illustrates the fields. A live call returns the record for the values you send.
- Do not send a cache-bypass flag. This page documents only the client parameters.
Sandboxโ
| Scenario | Parameters | Result |
|---|---|---|
| Record on file | plate: "123456" | 200 with infractions. |
| Missing required value | Omit plate | 409 code 409:invalid_params. |
| Unknown value | plate: "ABC" | 404 NotFound when COSEVI has no ticket. |
401 when the bearer token is missing or rejected.