Read where your vehicles and people are, their trips and alerts, and create tasks, from your own software. This is the reference: every call, what to send and what comes back.
Create a key. Sign in to the portal as the account owner and open Settings › API keys. Keep the key read-only unless your system has to create or change things. It is shown once.
Send it with every call, in the Authorization header. A key in the address is refused.
Check it with the first call below. The answer names the account the key belongs to.
Keep the key on your server, in an environment variable or a secrets store. Never put it in a web page or a phone app: anyone who has the page has the key. The API sends no cross-origin headers for that reason.
The rules of every call
Answers and errors
Every answer is JSON. A call that worked has "status": 1. One that did not has "status": 0 with a message, or an errors object naming each field that was wrong.
Code
Meaning
What to do
200
It worked.
Read the answer.
401
No key, an unknown or revoked key, or a key sent in the address.
Send a valid key in the Authorization header.
402
The account's subscription has run out.
Renew it in the portal.
403
The key may not make this call: it is read-only, the call is outside what keys reach, or the plan does not include the feature.
Use a full-access key for changes. Keys never reach passwords, the team or payments.
422
Something you sent is missing or wrong, or the object or task does not exist.
Read errors: it names the field.
429
More than 120 calls in a minute with one key.
Wait for the seconds in the Retry-After header, then go on.
500
Something failed on our side.
Try again shortly; the status page says if there is an outage.
A refused call
{
"status": 0,
"errors": {
"device_id": "The device id field is required."
}
}
Times
The API speaks about time in two ways, and says which in every field.
For programs: fields named fix_time, time_utc, start_utc and end_utc are UTC in RFC 3339, for example 2026-11-18T09:41:07Z. Store and compare these.
For people: fields named time, start and end are in the account's time zone, as the portal shows them.
What you send:from_date, from_time, to_date and to_time are in the account's time zone, so "yesterday" means the account's yesterday.
Units
A position's speed_kmh is always km/h, and altitude is in metres. Speeds and distances in history follow the account: km/h and km, or mph and miles when unit_of_distance is mi (see the account). Trips name their units in distance_unit and speed_unit. Coordinates are decimal degrees (WGS 84).
Pages
Long lists come in pages. Ask for one with page (from 1); the answer's pagination says which page it is, the last page, the total and the page size. Read until page equals last_page.
Limits
Each key may make 120 calls a minute. Beyond that the answer is 429 with Retry-After: 60; nothing is lost, the call was simply not made. For a live view, read the objects list every 10 to 30 seconds rather than one call for each object. A history period covers at most 31 days.
What you can rely on
The fields in this reference are a promise: we do not rename or remove one without saying so under Changes first. Answers may carry fields that are not listed here. They serve the portal and can change, so do not build on them; ignore what you do not know. New fields and new kinds of alert can appear at any time.
Account
GET/api/v2/meAny key
The account behind a key
Says which account a key belongs to. Call it first: if it answers, the key works.
What you get back
Field
Type
What it is
status
integer
1 when the call worked.
user.id
integer
The account.
user.email
text
The owner's sign-in address.
user.account_email
text
The same address: the account the data belongs to.
user.role
text
Always owner for a key.
user.lang
text
The account's language, for example en.
user.unit_of_distance
text
km or mi. Speeds in history are km/h or mph accordingly.
user.unit_of_altitude
text
The account's unit for altitude.
user.expired
true / false
True when the subscription has run out: other calls then answer 402.
To be told the moment an alert fires, use a webhook. To catch up or to check you missed nothing, read them here.
GET/api/v2/monitor/eventsAny key
Alerts that fired
The alerts of the last days, newest first: speeding, a geofence crossed, an SOS, a tracker gone quiet. At most 200.
What you send
Name
Type
What it is
days
integer
How many days back: 2 by default, at most 30.
device_id
integer
Only the alerts of one object.
What you get back
Field
Type
What it is
status
integer
1 when the call worked.
items[]
list
One entry for each alert.
items[].id
integer
The alert event.
items[].time_utc
text
When it fired, UTC, RFC 3339.
items[].time
text
The same moment in the account's time zone and date notation.
items[].device_id
integer
The object.
items[].device_name
text
Its name.
items[].type
text
What kind: overspeed, zone_in, zone_out (a geofence entered or left), stop_duration, idle_duration, offline_duration, ignition_duration, time_duration, distance, driver, fuel_fill, fuel_theft, task_complete, sos, custom and others. Treat an unknown value as a new kind, not as an error.
A task is a job for one object: a delivery, a visit, a pick-up. It appears in the driver's or field worker's app, and its status changes as they work. Tasks need a plan that includes them.
GET/api/v2/tasksAny key
Tasks
The tasks of the account, 10 on a page, newest first.
What you send
Name
Type
What it is
search_device_id
integer
Only the tasks of one object.
search_task_status
integer
1 new, 2 in progress, 9 completed, 3 failed.
search_invoice_number
text
Only the tasks with this reference.
search_time_from
date and time
Only tasks to be delivered from this moment, YYYY-MM-DD HH:MM:SS.
Instead of asking, be told. Add your address to an alert rule (Settings › Alert rules, the Webhook switch), and each time the rule fires we send the alert to your system as a POST with a JSON body.
The address must start with https:// and be on the public internet. Up to two addresses for a rule, separated by ;.
We wait 6 seconds for your answer. Redirects are not followed. Answer with a 2xx status quickly and do the work afterwards.
A delivery that fails is tried again after 1, 5 and 30 minutes, then after 2 and 6 hours: six attempts in all. No answer, 408, 425, 429 (its Retry-After is respected, up to an hour) and 5xx are tried again; any other answer ends the delivery at once.
The same alert can therefore reach you more than once, when your answer was lost on the way. X-GPSTracs-Delivery is the same on every attempt of one delivery: remember the ones you handled. X-GPSTracs-Attempt counts from 1, and each attempt is signed afresh with its own timestamp.
Every attempt, with what your endpoint answered, is listed in the portal under Settings › Alert rules › Deliveries for 30 days; a failed delivery can be sent again from there.
POSTyour address
What we send
Field
Type
What it is
type
text
What kind of alert: overspeed, zone_in, zone_out (a geofence entered or left), stop_duration, idle_duration, offline_duration, low_battery, sos, custom and others. Treat an unknown value as a new kind, not as an error.
message
text
The alert in words.
time
text
When it fired, UTC, YYYY-MM-DD HH:MM:SS.
latitude
number
Where it happened: latitude.
longitude
number
Where it happened: longitude.
speed
number
Speed at that moment, km/h.
course
number
Heading in degrees.
altitude
number
Altitude in metres.
device_id
integer
The object.
device
object
The object: id, name and imei.
alert_id
integer
The alert rule that fired.
geofence_id
integer
The geofence concerned, or null.
geofence
object
The geofence: id and name, or null.
addresswhen there is one
text
The address of the position, when it could be looked up.
user
object
The account the alert belongs to: id, email, phone_number.
Anyone who learns your address could post to it. Every delivery is therefore signed with your webhook signing secret (Settings › API keys). X-GPSTracs-Signature is sha256= followed by the HMAC-SHA256, in hex, of the timestamp, a full stop and the raw body, keyed with the secret. Compute the same and compare; refuse a timestamp more than five minutes old.
Node.js
import crypto from "node:crypto";
// raw: the request body exactly as it arrived, before any JSON parsing
export function isFromGpsTracs(raw, headers, secret) {
const timestamp = headers["x-gpstracs-timestamp"];
const sent = String(headers["x-gpstracs-signature"] || "").replace("sha256=", "");
if (Math.abs(Date.now() / 1000 - Number(timestamp)) > 300) return false; // an old delivery sent again
const ours = crypto.createHmac("sha256", secret).update(timestamp + "." + raw).digest("hex");
return sent.length === ours.length &&
crypto.timingSafeEqual(Buffer.from(sent), Buffer.from(ours));
}
AI assistants (MCP)
The same data is offered to AI assistants through the Model Context Protocol, at one address and with the same API key. An assistant such as Claude can then answer questions about your fleet by calling these reads itself.
An assistant that signs in needs no key: it is sent to the portal, where the account owner allows it. A read-only key gives the assistant 19 tools that only read; a full-access key adds create_task. See AI connector for how to connect Claude Code, Cursor, VS Code or your own application, and what leaves your account when you do.
Changes
Every change to a documented field is listed here before it happens.
24 November 2026
A webhook that fails is tried again, up to six times, and every delivery carries X-GPSTracs-Delivery and X-GPSTracs-Attempt. New alert type low_battery. The AI connector accepts sign-in (OAuth) beside API keys and has nine more tools.
18 November 2026
First published. API keys; UTC times added next to the account-clock times (fix_time on positions, start_utc and end_utc on trips, time_utc on alerts); webhooks are signed.
Something missing, or a call that does not answer as written? Write to [email protected].