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 object

    Drop off point. Required when duration is not provided.

    latitude numberrequired

    Possible values: >= -90 and <= 90

    longitude numberrequired

    Possible values: >= -180 and <= 180

    address string
    city string
    country string
    postcode string
    duration integer

    Possible values: >= 1

    Duration in hours. Required when destination is not provided.

    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

    packageId string

    Hourly package ID

    packageDuration integer

    Hourly package duration in hours

    additionalServices object[]

    List of additional services available for this quote

  • Array [
  • id stringrequired

    Our Good Journey Service ID

    name stringrequired

    Service name

    code string

    Service code

    description string

    Service description

    include booleanrequired

    Whether the service is required. true if required, false if not required.

    type stringrequired

    Possible values: [none, perDay, eachTime, each, perPerson]

    Pricing type for the additional service:

    • none - Standard fee
    • perDay - Fee per day (future)
    • eachTime - Flat fee per booking
    • each - Fee per quantity selected
    • perPerson - Fee per passenger
    price numberrequired

    Price of the additional service

    maxQuantity integerrequired

    Possible values: >= 1

    Maximum quantity allowed. For each type, return max quantity, for others, return 1.

  • ]
Loading...