post
https://api.azuga.com/azuga-ws/v1/fleet/nearestvehicles.json?latitude=&longitude=&radius=
Use this API to get vehicles closest to your current location. Vehicles will be searched within a defined radius. The response also includes the pairing details of the vehicle, driver name, and distance of the vehicle from your location.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Sample Request
API Response explanation
| Field | Description |
|---|---|
| code | API Status Code |
| message | API Message |
| reason | The reason for failure |
| generatedAt | API generation timestamp in UTC |
| generatedAtInMillis | API generation timestamp in milliseconds |
| fleet | An array of fleet objects |
| vehicleId | Unique identifier of the vehicle |
| vehicle | Name of the vehicle |
| deviceId | Unique identifier of the device |
| paired | Boolean to indicate if the vehicle is paired or not |
| latitude | Latitude coordinate of the location of the vehicle |
| longitude | Longitude coordinate of the location of the vehicle |
| pairedDriverFirstName | First name of the driver who is paired with the vehicle |
| pairedDriverLastName | Last name of the driver who is paired with the vehicle |
| pairingStartTime | Time when the driver and vehicle got paired |
| address | Address of the location of vehicle |
| deviceSerialNumber | Serial number of the Azuga device which is plugged into the vehicle |
| distance | Distance of the vehicle from the user in feet |
| vehicleType | Type of vehicle |
| licensePlateNum | License plate number of the vehicle |
DisclaimerThis API provides information only for a driver and does not provide aggregated information for a group of vehicles. Admins should not use these APIs, but should look at other sections of the documentation.

