curl --request GET \
--url https://api.jitra.app/public/v1/objects/{id} \
--header 'x-api-key: <api-key>'import requests
url = "https://api.jitra.app/public/v1/objects/{id}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.jitra.app/public/v1/objects/{id}', 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.jitra.app/public/v1/objects/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$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.jitra.app/public/v1/objects/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
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.jitra.app/public/v1/objects/{id}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.jitra.app/public/v1/objects/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"statusCode": 200,
"result": {
"id": 101,
"name": "Truck 01",
"ident": "B-1234-XYZ",
"time_server": "2023-11-07T05:31:56Z",
"time_device": "2023-11-07T05:31:56Z",
"time_last_idle": "2023-11-07T05:31:56Z",
"time_last_move": "2023-11-07T05:31:56Z",
"time_last_stop": "2023-11-07T05:31:56Z",
"engine_hours": 1723.4,
"engine_hours_type": "sensor",
"odometer": 120034.7,
"odometer_type": "sensor",
"vehicle_data": {
"vin": "MH4ABC12345678901",
"plate_number": "B1234XYZ"
},
"mileage": 256.4,
"address": "Jakarta",
"accuracy": {
"device_timezone": "Asia/Jakarta",
"maximum_hdop": 123,
"minimum_difference_point": 123,
"minimum_gps_level": 123,
"idle_speed_threshold": 123,
"minimum_moving_speed": 123,
"distance_source": "<string>",
"stop_detection_method": "<string>"
},
"created_at": "2023-11-07T05:31:56Z",
"latitude": -6.2,
"longitude": 106.8,
"altitude": 15,
"angle": 230,
"speed": 42
}
}{
"statusCode": 401,
"errorCode": "ERR999",
"message": "Unauthorized",
"timestamp": "2026-05-17T01:00:00.000Z"
}{
"statusCode": 404,
"errorCode": "PUBLIC.404_001",
"message": "Object not found.",
"timestamp": "2026-05-17T01:00:00.000Z"
}{
"statusCode": 429,
"errorCode": "ERR999",
"message": "ThrottlerException: Too Many Requests",
"timestamp": "2026-05-17T01:00:00.000Z"
}Read One Object
Returns one Object with detailed location, telemetry, metadata, and latest real-time values when available.
curl --request GET \
--url https://api.jitra.app/public/v1/objects/{id} \
--header 'x-api-key: <api-key>'import requests
url = "https://api.jitra.app/public/v1/objects/{id}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.jitra.app/public/v1/objects/{id}', 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.jitra.app/public/v1/objects/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$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.jitra.app/public/v1/objects/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
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.jitra.app/public/v1/objects/{id}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.jitra.app/public/v1/objects/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"statusCode": 200,
"result": {
"id": 101,
"name": "Truck 01",
"ident": "B-1234-XYZ",
"time_server": "2023-11-07T05:31:56Z",
"time_device": "2023-11-07T05:31:56Z",
"time_last_idle": "2023-11-07T05:31:56Z",
"time_last_move": "2023-11-07T05:31:56Z",
"time_last_stop": "2023-11-07T05:31:56Z",
"engine_hours": 1723.4,
"engine_hours_type": "sensor",
"odometer": 120034.7,
"odometer_type": "sensor",
"vehicle_data": {
"vin": "MH4ABC12345678901",
"plate_number": "B1234XYZ"
},
"mileage": 256.4,
"address": "Jakarta",
"accuracy": {
"device_timezone": "Asia/Jakarta",
"maximum_hdop": 123,
"minimum_difference_point": 123,
"minimum_gps_level": 123,
"idle_speed_threshold": 123,
"minimum_moving_speed": 123,
"distance_source": "<string>",
"stop_detection_method": "<string>"
},
"created_at": "2023-11-07T05:31:56Z",
"latitude": -6.2,
"longitude": 106.8,
"altitude": 15,
"angle": 230,
"speed": 42
}
}{
"statusCode": 401,
"errorCode": "ERR999",
"message": "Unauthorized",
"timestamp": "2026-05-17T01:00:00.000Z"
}{
"statusCode": 404,
"errorCode": "PUBLIC.404_001",
"message": "Object not found.",
"timestamp": "2026-05-17T01:00:00.000Z"
}{
"statusCode": 429,
"errorCode": "ERR999",
"message": "ThrottlerException: Too Many Requests",
"timestamp": "2026-05-17T01:00:00.000Z"
}Authorizations
Organization API key issued from Jitra (Organization → API Key).
Path Parameters
Numeric object ID that belongs to the authenticated organization.
101
Response
Object detail including current location.
200
Current location snapshot merged from realtime cache when available.
Hide child attributes
Hide child attributes
Object ID.
101
Object display name.
"Truck 01"
Unique device/object identifier (IMEI or similar).
"B-1234-XYZ"
Last time the server received a packet from this object.
Timestamp generated by the device GPS.
Last time the object was detected as idle.
Last time the object was detected as moving.
Last time the object was detected as stopped.
Accumulated engine hours.
1723.4
Source of a system counter. system is calculated by Jitra; sensor comes from a device sensor.
sensor, system Odometer value in the organization's distance unit.
120034.7
Source of a system counter. system is calculated by Jitra; sensor comes from a device sensor.
sensor, system Trip or period mileage.
256.4
Latest reverse-geocoded address.
"Jakarta"
Tracking accuracy and movement-detection settings for the object.
Hide child attributes
Hide child attributes
IANA timezone used by the device.
"Asia/Jakarta"
Maximum allowed Horizontal Dilution of Precision.
Minimum distance (meters) between consecutive accepted points.
Minimum GPS quality level.
Speed threshold used to detect idle state.
Minimum speed treated as movement.
Source used to calculate distance, for example gps.
Method used to detect stops, for example speed.
Record creation timestamp.
Current latitude.
-6.2
Current longitude.
106.8
Current altitude in meters.
15
Heading angle in degrees (0–360).
230
Current speed.
42
