These docs are for v2. Click to read the latest docs for v3.

Nearest Vehicles

Use this API to get vehicles closest to a specified location. Vehicles will be searched within a defined radius and time. The response also includes the pairing details of the vehicle, driver name, and driving distance to the vehicle from the location.

πŸ“˜

Sample Request

https://api.azuga.com/azuga-ws/v2/fleet/nearestvehicles.json

API Response explanation

Field

Description

trackeeId

Unique identifier representing the vehicle

trackeeName

Name of the vehicle

lat

Latitude coordinate of the location of the vehicle

long

Longitude coordinate of the location of the vehicle

address

Address where the vehicle is located

eventName

Last activity reported by the vehicle

googleDrivingDistance

Driving distance from the location to the vehicle's location as per Google

googleDriveTime

Driving time to reach the vehicle from the location as per Google

dateAndTime

Timestamp (in milliseconds) when the vehicle last communicated with the server

offset

Timezone offset in milliseconds

userId

Unique identifier representing the driver associated with the vehicle

firstName

First name of the driver

lastName

Last name of the driver

deviceId

Unique identifier of the device plugged into the vehicle

groupId

Unique identifier representing the vehicle's group

Language
Credentials
Header
Click Try It! to start a request and see the response here!