Use this API to get the real time status of all your vehicles. This data refreshes frequently and the API returns the most recent data.

🚧

Alternative Approach

You can subscribe to our webhooks for this event to receive data in real-time. For more information on webhooks and how to get started, please visit our webhook documentation

📘

Sample Request

https://api.azuga.com/azuga-ws/v1/live/location.json

API Response explanation

FieldDescription
codeAPI Status Code
messageAPI Message (Success/Failure)
generatedAtAPI generation timestamp in UTC
reasonThe reason for failure
currentPageThe current page
totalPagesThe total number of pages in the result
locationsAn array of location objects
vehicleNameName of the vehicle
dateTimestamp in UTC when the last activity occured
eventLast activity of the vehicle
activityFor Azuga internal use
speedSpeed of the vehicle in MPH
stopTimeTime between the last ignition OFF and the current system time
idleTimeTime period during which the vehicle was in the idle state
vehicleIdUnique identifier representing the vehicle
groupIdUnique identifier of the group associated with the vehicle
groupNameName of the group associated with the vehicle
phoneNumberPhone number of the driver
reserved1Reserved variable for future use
reserved2Reserved variable for future use
reserved3Reserved variable for future use
reserved4Reserved variable for future use
userObject representing the details of the driver associated with the vehicle
userIdUnique identifier representing the user
firstNameFirst name of the driver
lastNameLast name of the driver
fullNameFull name of the driver
notInGroupFor Azuga internal use
deletedBoolean representing whether the driver is active in the account

True = Deleted
False = Not Deleted
employeeIdEmployeeId of the driver
emailVerificationBoolean representing whether the email address of the driver is verified.
latitudeLatitude coordinate of the location
longitutdeLongitude coordinate of the location
lastKnownLatLatitude of the previous record. This parameter is used when the device is unable to receive lat/lon coordinates
lastKnownLonLongitude of the previous record. This parameter is used when the device is unable to receive lat/lon coordinates
lastKnownAddressAddress of the previous record. This parameter is used when the device is unable to receive lat/lon coordinates
lastKnownTimeTime of the previous record. This parameter is used when the device is unable to receive lat/lon coordinates
realLKL_addressThis parameter stores valid last address of the location when the device was able to fetch the location coordinates. Customers can make use of this field when the device is unable to fetch lat/lon/address for multiple entries
realLKL_timeThis parameter stores the time in UTC milliseconds when the device is able to fetch valid lat/lon coordinates. Customers can make use of this field when the device is unable to fetch lat/lon/address for multiple entries
cogFor Azuga internal use
storedLocationBoolean indicates whether the location details are to be taken from stored values (previous entry/Last known entry)
locationAddress of the location
Language
Authorization
Header
Click Try It! to start a request and see the response here!