Global: GPS Fleet Tracking (API Reference)
Your Devices. Your Systems. One API.
Read reported positions, status, alarms, lock events and reports for the Barq devices assigned to your company, using one secure REST API.
curl --get "https://api.barqglobal.com/api/v1/devices/" \
--header "Authorization: Bearer $BARQ_API_TOKEN"{
"count": 1,
"next": null,
"previous": null,
"results": [{
"id": "123e4567-e89b-42d3-a456-426614174000",
"name": "Barq eLock99 Global",
"model": "Barq eLock99 Global",
"vehicle_plate": "N/A",
"device_type": "asset",
"online": true,
"alarm_active": false
}]
}What You Can Build
Live LocationLatest reported status, position and address for each device, plus the devices inside an area.
eLock SecurityAlarm history, tamper and power alarms, lock events and geofence entries and exits.
Trips and ReportsLocation history, period distance and date-range reports of up to seven days in JSON or CSV.
CommandsLock and unlock requests with idempotency keys and recorded results.
Get Started in Three Steps
1 · Get Your API TokenBarq issues a token for your company. It starts with
barq_ and only sees your assigned devices.Authentication2 · List Your DevicesCall
GET /devices/ to get each device’s ID, name and online status.Devices Reference3 · Read Positions and EventsPoll each device at most once a minute, and fetch alarms and lock events for a time window.Polling Guide
Need Help with Your Integration?
Global is your single point of contact for keys, access and technical questions.