Skip to main content

Get quotes

POST 

/v1/quotes

Request a quote for a ride. This endpoint provides estimated pricing based on the given parameters like location, destination, and ride type.

Supported roles

  • Partner
  • Fleet manager

Request

Body

required
    pickupDateTime date-timerequired

    Pickup time can either be a specific date-time in ISO 8601 format for reservation or the string ASAP for on-demand booking.

    pickupTimezone string

    Pickup timezone

    pickup objectrequired

    Pick up point

    latitude numberrequired

    Possible values: >= -90 and <= 90

    longitude numberrequired

    Possible values: >= -180 and <= 180

    address string
    city string
    country string
    postcode string
    destination objectrequired

    Drop off point

    latitude numberrequired

    Possible values: >= -90 and <= 90

    longitude numberrequired

    Possible values: >= -180 and <= 180

    address string
    city string
    country string
    postcode string
    luggage integer

    Number of luggage

    passengers integer

    Possible values: >= 1

    Number of passengers

Responses

Successful operation

Schema
    quoteId string

    Quote ID: Get quotes

    expiresAt date-time
    vehicleType string
    price object
    value numberrequired
    currency stringrequired
    luggage integer

    Number of luggage

    passengers integer

    Possible values: >= 1

    Number of passengers

    eta object

    Estimated distance and duration from the nearest driver to the pickup point. Only available for on-demand bookings.

    distance number

    Distance in meters from the nearest driver to the pickup point

    duration number

    Duration in seconds from the nearest driver to the pickup point

    provider object
    name string
    phone string

    Phone number in E.164 format

Loading...