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

Pickup ETAs

GET
/eta
Public
The ETA endpoint lets you know how quickly a Lyft driver can come get you
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.lyft.com/v1/eta?lat=&lng='
Response Response Example
200 - Example 1
{
  "eta_estimates": [
    {
      "display_name": "Lyft Line",
      "eta_seconds": 120,
      "is_valid_estimate": true,
      "ride_type": "lyft_line"
    }
  ]
}

Request

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

Responses

🟢200An object with an array of ETAs by ride type for the given location
application/json
Body
eta_estimates
array[object (Eta) {5}] 
optional
display_name
string 
optional
A human readable description of the ride type
eta_seconds
integer <int32>
optional
Estimated seconds for a driver to arrive
eta_seconds_max
integer <int32>
optional
Estimated upper bound of seconds for a driver to arrive
is_valid_estimate
boolean 
optional
The validity of the ETA estimate returned
ride_type
enum<string> 
optional
The ID of the ride type
Allowed values:
lyftlyft_linelyft_pluslyft_premierlyft_luxlyft_luxsuv
🟠400The 'error' field will be one of the following: * `bad_parameter`: A validation error occurred * `no_service_in_area`: location is not within a Lyft service area * `ridetype_unavailable_in_region`: ridetype not supported at this location
Modified at 2023-08-15 05:38:33
Previous
Available drivers nearby
Next
Types of rides
Built with