Request
GET /rides/estimate
number
required
The trip distance in kilometers.
string
The type of ride (e.g.,
STANDARD, PREMIUM). Defaults to the base tier when omitted.number
Latitude of the pickup location.
number
Longitude of the pickup location.
number
Latitude of the drop-off location.
number
Longitude of the drop-off location.
string
Preferred routing strategy (e.g.,
FASTEST, SHORTEST). Optional.Response
number
The estimated fare in the platform’s base currency.
string
The ride type used for the estimate.
number
The distance in kilometers used to compute the estimate.
string
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.