Search Link: https://www.apis.guru.com
Overview
- GET /cost
- GET /drivers
- GET /eta
- GET /profile
- GET /rides
- POST /rides
- GET /rides/{id}
- POST /rides/{id}/cancel
- PUT /rides/{id}/destination
- PUT /rides/{id}/rating
- GET /rides/{id}/receipt
- GET /ridetypes
- PUT /sandbox/primetime
- PUT /sandbox/rides/{id}
- PUT /sandbox/ridetypes
- PUT /sandbox/ridetypes/{ride_type}
GET /cost
Summary: Cost estimates
Estimate the cost of taking a Lyft between two points.
OpenAPI snippet URL
GET /drivers
Summary: Available drivers nearby
The drivers endpoint returns a list of nearby drivers’ lat and lng at a given location.
OpenAPI snippet URL
GET /eta
Summary: Pickup ETAs
The ETA endpoint lets you know how quickly a Lyft driver can come get you
OpenAPI snippet URL
GET /profile
Summary: The user’s general info
The v1 of this endpoint returns the user’s ID, v2 will return more general info about the user. We require authentication for this endpoint, so we extract the user ID from the access token.
OpenAPI snippet URL
GET /rides
Summary: List rides
Get a list of past & current rides for this passenger.
OpenAPI snippet URL
POST /rides
Summary: Request a Lyft
Request a Lyft come pick you up at the given location.
OpenAPI snippet URL
GET /rides/{id}
Summary: Get the ride detail of a given ride ID
Get the status of a ride along with information about the driver, vehicle and price of a given ride ID
OpenAPI snippet URL
POST /rides/{id}/cancel
Summary: Cancel a ongoing requested ride
Cancel a ongoing ride which was requested earlier by providing the ride id.
OpenAPI snippet URL
PUT /rides/{id}/destination
Summary: Update the destination of the ride
Add or update the ride’s destination. Note that the ride must still be active (not droppedOff or canceled), and that destinations on Lyft Line rides can not be changed.
OpenAPI snippet URL
PUT /rides/{id}/rating
Summary: Add the passenger’s rating, feedback, and tip
Add the passenger’s 1 to 5 star rating of the ride, optional written feedback, and optional tip amount in minor units and currency. The ride must already be dropped off, and ratings must be given within 24 hours of drop off. For purposes of display, 5 is considered the default rating. When this endpoint is successfully called, payment processing will begin.
OpenAPI snippet URL
GET /rides/{id}/receipt
Summary: Get the receipt of the rides.
Get the receipt information of a processed ride by providing the ride id. Receipts will only be available to view once the payment has been processed. In the case of canceled ride, cancellation penalty is included if applicable.
OpenAPI snippet URL
GET /ridetypes
Summary: Types of rides
The ride types endpoint returns information about what kinds of Lyft rides you can request at a given location.
OpenAPI snippet URL
PUT /sandbox/primetime
Summary: Preset Prime Time percentage
Preset a Prime Time percentage in the region surrounding the specified location. This Prime Time percentage will be applied when requesting cost, or when requesting a ride in sandbox mode.
OpenAPI snippet URL
PUT /sandbox/rides/{id}
Summary: Propagate ride through ride status
Propagate a sandbox-ride through various ride status
OpenAPI snippet URL
PUT /sandbox/ridetypes
Summary: Preset types of rides for sandbox
The sandbox-ridetypes endpoint allows you to preset the ridetypes in the region surrounding the specified latitude and longitude to allow testing different scenarios
OpenAPI snippet URL
PUT /sandbox/ridetypes/{ride_type}
Summary: Driver availability for processing ride request
Set driver availability for the provided ride_type in the city/region surrounding the specified location
OpenAPI snippet URL