Lyft
  1. Public
Lyft
  • Public
    • Cost estimates
      GET
    • Available drivers nearby
      GET
    • Pickup ETAs
      GET
    • Types of rides
      GET
  • User
    • The user's general info
      GET
    • List rides
      GET
    • Request a Lyft
      POST
    • Get the ride detail of a given ride ID
      GET
    • Cancel a ongoing requested ride
      POST
    • Update the destination of the ride
      PUT
    • Add the passenger's rating, feedback, and tip
      PUT
    • Get the receipt of the rides.
      GET
  • Sandbox
    • Preset Prime Time percentage
      PUT
    • Propagate ride through ride status
      PUT
    • Preset types of rides for sandbox
      PUT
    • Driver availability for processing ride request
      PUT
  1. Public

Types of rides

GET
/ridetypes
Public
The ride types endpoint returns information about what kinds of Lyft rides you can request at a given location.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.lyft.com/v1/ridetypes?lat=&lng='
Response Response Example
200 - Example 1
{
  "ride_types": [
    {
      "ride_types": [
        {
          "display_name": "Lyft Line",
          "image_url": "https://cdn.lyft.com/assets/car_standard.png",
          "pricing_details": {
            "base_charge": 200,
            "cancel_penalty_amount": 500,
            "cost_minimum": 475,
            "cost_per_mile": 115,
            "cost_per_minute": 23,
            "currency": "USD",
            "trust_and_service": 155
          },
          "ride_type": "lyft_line",
          "seats": 2
        },
        {
          "display_name": "Lyft",
          "image_url": "https://cdn.lyft.com/assets/car_standard.png",
          "pricing_details": {
            "base_charge": 200,
            "cancel_penalty_amount": 500,
            "cost_minimum": 500,
            "cost_per_mile": 115,
            "cost_per_minute": 23,
            "currency": "USD",
            "trust_and_service": 155
          },
          "ride_type": "lyft",
          "seats": 4
        },
        {
          "display_name": "Lyft Plus",
          "image_url": "https://cdn.lyft.com/assets/car_plus.png",
          "pricing_details": {
            "base_charge": 300,
            "cancel_penalty_amount": 500,
            "cost_minimum": 700,
            "cost_per_mile": 200,
            "cost_per_minute": 30,
            "currency": "USD",
            "trust_and_service": 155
          },
          "ride_type": "lyft_plus",
          "seats": 6
        }
      ]
    }
  ]
}

Request

Query Params
lat
number 
required
Latitude of a location
lng
number 
required
Longitude of a location
ride_type
string 
optional
ID of a ride type

Responses

🟢200An object with an array of available Ride Types for the given location
application/json
Body
ride_types
array[object (RideType) {6}] 
optional
display_name
string 
optional
A human readable description of the ride type
image_url
string 
optional
The URL of an image representing this ride type
pricing_details
object (PricingDetails) 
optional
Example:
{"base_charge":175,"cancel_penalty_amount":500,"cost_minumum":500,"cost_per_mile":116,"cost_per_minute":23,"currency":"USD","trust_and_service":155}
ride_type
enum<string> 
optional
The ID of the ride type
Allowed values:
lyftlyft_linelyft_pluslyft_premierlyft_luxlyft_luxsuv
scheduled_pricing_details
object (PricingDetails) 
optional
Example:
{"base_charge":175,"cancel_penalty_amount":500,"cost_minumum":500,"cost_per_mile":116,"cost_per_minute":23,"currency":"USD","trust_and_service":155}
seats
integer 
optional
The maximum number of seats available for rides requested with this ride type
🟠400A validation error occurred
Modified at 2023-08-15 05:38:33
Previous
Pickup ETAs
Next
The user's general info
Built with