Request
GET /rides/drivers/nearby
number
required
Latitude of the center point to search from.
number
required
Longitude of the center point to search from.
number
Search radius in kilometers. Defaults to
5 if not specified.integer
Maximum number of drivers to return. Defaults to
10 if not specified.Response
An array of driver location objects. Returns an empty array if no drivers are found within the radius.number
Unique identifier of the driver.
number
Current latitude of the driver.
number
Current longitude of the driver.
number
Distance in kilometers from the queried coordinate to the driver’s current location.
Example
Driver locations are updated in real time as drivers report their positions. Results may be a few seconds behind each driver’s actual location.