APIHub
Back to Explore

Lyft

Drive your app to success with Lyft's API

Geocoding
OAuth
HTTPS
CORS: Unknown
Visit official documentation

Latency

585ms p95

Uptime

0.0% 30d

Playground

Verified

live

Endpoints

REST · JSON
GET

/cost

Cost estimates

  • ride_type (query) — ID of a ride type
  • start_lat (query, required) — Latitude of the starting location
  • start_lng (query, required) — Longitude of the starting location
  • end_lat (query) — Latitude of the ending location
  • end_lng (query) — Longitude of the ending location
GET

/drivers

Available drivers nearby

  • lat (query, required) — Latitude of a location
  • lng (query, required) — Longitude of a location
GET

/eta

Pickup ETAs

  • lat (query, required) — Latitude of a location
  • lng (query, required) — Longitude of a location
  • destination_lat (query) — Latitude of destination location
  • destination_lng (query) — Longitude of destination location
  • ride_type (query) — ID of a ride type
GET

/profile

The user's general info

GET

/rides

List rides

  • start_time (query, required) — Restrict to rides starting after this point in time. The earliest supported date is 2015-01-01T00:00:00+00:00
  • end_time (query) — Restrict to rides starting before this point in time. The earliest supported date is 2015-01-01T00:00:00+00:00
  • limit (query, limit) — The maximum number of rides to return. The default limit is 10 if not specified. The maximum allowed value is 50, an integer greater that 50 will return at most 50 results.
POST

/rides

Request a Lyft

GET

/rides/{id}

Get the ride detail of a given ride ID

  • id (path, required) — The ID of the ride
POST

/rides/{id}/cancel

Cancel a ongoing requested ride

  • id (path, required) — The ID of the ride
PUT

/rides/{id}/destination

Update the destination of the ride

  • id (path, required) — The ID of the ride
PUT

/rides/{id}/rating

Add the passenger's rating, feedback, and tip

  • id (path, required) — The ID of the ride
GET

/rides/{id}/receipt

Get the receipt of the rides.

  • id (path, required) — The ID of the ride
GET

/ridetypes

Types of rides

  • lat (query, required) — Latitude of a location
  • lng (query, required) — Longitude of a location
  • ride_type (query) — ID of a ride type
PUT

/sandbox/primetime

Preset Prime Time percentage

PUT

/sandbox/rides/{id}

Propagate ride through ride status

  • id (path, required) — The ID of the ride
PUT

/sandbox/ridetypes

Preset types of rides for sandbox

PUT

/sandbox/ridetypes/{ride_type}

Driver availability for processing ride request

  • ride_type (path, required)

16 endpoints auto-detected

Authentication

This API requires authentication: OAuth.

curl -X GET \
  "https://api.lyft.com/v1/cost"

api.lyft.com · HTTPS only