Request
GET /rides/estimate
The trip distance in kilometers.
The type of ride (e.g.,
STANDARD, PREMIUM). Defaults to the base tier when omitted.Latitude of the pickup location.
Longitude of the pickup location.
Latitude of the drop-off location.
Longitude of the drop-off location.
Preferred routing strategy (e.g.,
FASTEST, SHORTEST). Optional.Response
The estimated fare in the platform’s base currency.
The ride type used for the estimate.
The distance in kilometers used to compute the estimate.
The route preference applied, if any.
Example
Providing
pickupLat, pickupLon, dropLat, and dropLon alongside distanceKm allows the server to apply surge pricing and route-aware adjustments to the estimate.