# Lyft API

> Lyft API on Apizie: 16 endpoints (Cost estimates, Available drivers nearby, Pickup ETAs, The user's general info, …) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://apizie.tech/v1/places:lyft/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `places:lyft`
- Category: Places
- Status: byok
- Source: http://developer.lyft.com
- Page: https://apizie.tech/api/places/lyft
- OpenAPI: https://apizie.tech/api/places/lyft/openapi.json

Drive your app to success with Lyft's API

## Endpoints

### Cost estimates
`GET https://apizie.tech/v1/places:lyft/get-cost` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| ride_type | string | no | ID of a ride type |
| start_lat | number | yes | Latitude of the starting location |
| start_lng | number | yes | Longitude of the starting location |
| end_lat | number | no | Latitude of the ending location |
| end_lng | number | no | Longitude of the ending location |

### Available drivers nearby
`GET https://apizie.tech/v1/places:lyft/get-drivers` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| lat | number | yes | Latitude of a location |
| lng | number | yes | Longitude of a location |

### Pickup ETAs
`GET https://apizie.tech/v1/places:lyft/get-eta` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| lat | number | yes | Latitude of a location |
| lng | number | yes | Longitude of a location |
| destination_lat | number | no | Latitude of destination location |
| destination_lng | number | no | Longitude of destination location |
| ride_type | string | no | ID of a ride type |

### The user's general info
`GET https://apizie.tech/v1/places:lyft/get-profile` (byok)

### List rides
`GET https://apizie.tech/v1/places:lyft/get-rides` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| start_time | string | yes | Restrict to rides starting after this point in time. The earliest supported date is 2015-01-01T00:00:00+00:00 |
| end_time | string | no | Restrict to rides starting before this point in time. The earliest supported date is 2015-01-01T00:00:00+00:00 |
| limit | integer | no | 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… |

### Request a Lyft
`POST https://apizie.tech/v1/places:lyft/new-ride` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | object | yes | JSON request body |

### Get the ride detail of a given ride ID
`GET https://apizie.tech/v1/places:lyft/get-ride` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | The ID of the ride |

### Cancel a ongoing requested ride
`POST https://apizie.tech/v1/places:lyft/cancel-ride` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | The ID of the ride |
| body | object | no | JSON request body |

### Update the destination of the ride
`POST https://apizie.tech/v1/places:lyft/set-ride-destination` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | The ID of the ride |
| body | object | yes | JSON request body |

### Add the passenger's rating, feedback, and tip
`POST https://apizie.tech/v1/places:lyft/set-ride-rating` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | The ID of the ride |
| body | object | yes | JSON request body |

### Get the receipt of the rides.
`GET https://apizie.tech/v1/places:lyft/get-ride-receipt` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | The ID of the ride |

### Types of rides
`GET https://apizie.tech/v1/places:lyft/get-ride-types` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| lat | number | yes | Latitude of a location |
| lng | number | yes | Longitude of a location |
| ride_type | string | no | ID of a ride type |

### Preset Prime Time percentage
`POST https://apizie.tech/v1/places:lyft/set-prime-time` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | object | yes | JSON request body |

### Propagate ride through ride status
`POST https://apizie.tech/v1/places:lyft/set-ride-status` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | The ID of the ride |
| body | object | yes | JSON request body |

### Preset types of rides for sandbox
`POST https://apizie.tech/v1/places:lyft/set-ride-types` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | object | yes | JSON request body |

### Driver availability for processing ride request
`POST https://apizie.tech/v1/places:lyft/set-ride-type-availability` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| ride_type | string | yes |  |
| body | object | yes | JSON request body |

## Example
```
curl "https://apizie.tech/v1/places:lyft/get-cost" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the Lyft API?
Create a free Apizie key, then send GET https://apizie.tech/v1/places:lyft/get-cost with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Lyft API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. Lyft itself also needs your own key from lyft.com.

### Can AI agents use the Lyft API?
Yes. Add the Apizie MCP server (https://apizie.tech/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key places:lyft.

### What is the status of the Lyft API?
Needs your own provider key (bring your own key)
