Find an API

Search public APIs with auth details & Postman guides

← All APIs

Lyft

lyft · Location

Location No Auth Free & Open location

Drive your app to success with Lyft's API

Authentication

No authentication requiredFree to use with no key needed.

Sample Requests

GET Cost estimates

Estimate the cost of taking a Lyft between two points.

https://api.apis.guru/v2/specs/lyft.com/1.0.0/cost?end_lat=1&end_lng=1&ride_type=lyft&start_lat=1&start_lng=1

Hover any highlighted part to learn what it does

curl -X GET "https://api.apis.guru/v2/specs/lyft.com/1.0.0/cost?end_lat=1&end_lng=1&ride_type=lyft&start_lat=1&start_lng=1"
import requests
params = {
    "end_lat": "1",
    "end_lng": "1",
    "ride_type": "lyft",
    "start_lat": "1",
    "start_lng": "1"
}
response = requests.get(
    "https://api.apis.guru/v2/specs/lyft.com/1.0.0/cost",
    params=params,
)
print(response.json())
const url = new URL('https://api.apis.guru/v2/specs/lyft.com/1.0.0/cost');
url.searchParams.set('end_lat', '1');
url.searchParams.set('end_lng', '1');
url.searchParams.set('ride_type', 'lyft');
url.searchParams.set('start_lat', '1');
url.searchParams.set('start_lng', '1');

const response = await fetch(url); 
const data = await response.json();
console.log(data);
package main

import (
	"fmt"
	"io"
	"net/http"
	"net/url"
)

func main() {
	baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/lyft.com/1.0.0/cost")
	q := baseURL.Query()
	q.Set("end_lat", "1")
	q.Set("end_lng", "1")
	q.Set("ride_type", "lyft")
	q.Set("start_lat", "1")
	q.Set("start_lng", "1")
	baseURL.RawQuery = q.Encode()
	targetURL := baseURL.String()
	req, _ := http.NewRequest("GET", targetURL, nil)

	client := &http.Client{}
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	body, _ := io.ReadAll(resp.Body)
	fmt.Println(string(body))
}
require "net/http"
require "json"

uri = URI("https://api.apis.guru/v2/specs/lyft.com/1.0.0/cost")
uri.query = URI.encode_www_form({
  "end_lat" => "1",
  "end_lng" => "1",
  "ride_type" => "lyft",
  "start_lat" => "1",
  "start_lng" => "1"
})

http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"

req = Net::HTTP::Get.new(uri)

res = http.request(req)
puts JSON.parse(res.body)
<?php
$url = "https://api.apis.guru/v2/specs/lyft.com/1.0.0/cost?" . http_build_query([
    "end_lat" => "1",
    "end_lng" => "1",
    "ride_type" => "lyft",
    "start_lat" => "1",
    "start_lng" => "1"
]);
$opts = ["http" => [
    "method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));
GET Available drivers nearby

The drivers endpoint returns a list of nearby drivers' lat and lng at a given location.

https://api.apis.guru/v2/specs/lyft.com/1.0.0/drivers?lat=51.5074&lng=1

Hover any highlighted part to learn what it does

curl -X GET "https://api.apis.guru/v2/specs/lyft.com/1.0.0/drivers?lat=51.5074&lng=1"
import requests
params = {
    "lat": "51.5074",
    "lng": "1"
}
response = requests.get(
    "https://api.apis.guru/v2/specs/lyft.com/1.0.0/drivers",
    params=params,
)
print(response.json())
const url = new URL('https://api.apis.guru/v2/specs/lyft.com/1.0.0/drivers');
url.searchParams.set('lat', '51.5074');
url.searchParams.set('lng', '1');

const response = await fetch(url); 
const data = await response.json();
console.log(data);
package main

import (
	"fmt"
	"io"
	"net/http"
	"net/url"
)

func main() {
	baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/lyft.com/1.0.0/drivers")
	q := baseURL.Query()
	q.Set("lat", "51.5074")
	q.Set("lng", "1")
	baseURL.RawQuery = q.Encode()
	targetURL := baseURL.String()
	req, _ := http.NewRequest("GET", targetURL, nil)

	client := &http.Client{}
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	body, _ := io.ReadAll(resp.Body)
	fmt.Println(string(body))
}
require "net/http"
require "json"

uri = URI("https://api.apis.guru/v2/specs/lyft.com/1.0.0/drivers")
uri.query = URI.encode_www_form({
  "lat" => "51.5074",
  "lng" => "1"
})

http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"

req = Net::HTTP::Get.new(uri)

res = http.request(req)
puts JSON.parse(res.body)
<?php
$url = "https://api.apis.guru/v2/specs/lyft.com/1.0.0/drivers?" . http_build_query([
    "lat" => "51.5074",
    "lng" => "1"
]);
$opts = ["http" => [
    "method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));
GET Pickup ETAs

The ETA endpoint lets you know how quickly a Lyft driver can come get you

https://api.apis.guru/v2/specs/lyft.com/1.0.0/eta?lat=51.5074&lng=1&ride_type=lyft&destination_lat=1&destination_lng=1

Hover any highlighted part to learn what it does

curl -X GET "https://api.apis.guru/v2/specs/lyft.com/1.0.0/eta?lat=51.5074&lng=1&ride_type=lyft&destination_lat=1&destination_lng=1"
import requests
params = {
    "lat": "51.5074",
    "lng": "1",
    "ride_type": "lyft",
    "destination_lat": "1",
    "destination_lng": "1"
}
response = requests.get(
    "https://api.apis.guru/v2/specs/lyft.com/1.0.0/eta",
    params=params,
)
print(response.json())
const url = new URL('https://api.apis.guru/v2/specs/lyft.com/1.0.0/eta');
url.searchParams.set('lat', '51.5074');
url.searchParams.set('lng', '1');
url.searchParams.set('ride_type', 'lyft');
url.searchParams.set('destination_lat', '1');
url.searchParams.set('destination_lng', '1');

const response = await fetch(url); 
const data = await response.json();
console.log(data);
package main

import (
	"fmt"
	"io"
	"net/http"
	"net/url"
)

func main() {
	baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/lyft.com/1.0.0/eta")
	q := baseURL.Query()
	q.Set("lat", "51.5074")
	q.Set("lng", "1")
	q.Set("ride_type", "lyft")
	q.Set("destination_lat", "1")
	q.Set("destination_lng", "1")
	baseURL.RawQuery = q.Encode()
	targetURL := baseURL.String()
	req, _ := http.NewRequest("GET", targetURL, nil)

	client := &http.Client{}
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	body, _ := io.ReadAll(resp.Body)
	fmt.Println(string(body))
}
require "net/http"
require "json"

uri = URI("https://api.apis.guru/v2/specs/lyft.com/1.0.0/eta")
uri.query = URI.encode_www_form({
  "lat" => "51.5074",
  "lng" => "1",
  "ride_type" => "lyft",
  "destination_lat" => "1",
  "destination_lng" => "1"
})

http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"

req = Net::HTTP::Get.new(uri)

res = http.request(req)
puts JSON.parse(res.body)
<?php
$url = "https://api.apis.guru/v2/specs/lyft.com/1.0.0/eta?" . http_build_query([
    "lat" => "51.5074",
    "lng" => "1",
    "ride_type" => "lyft",
    "destination_lat" => "1",
    "destination_lng" => "1"
]);
$opts = ["http" => [
    "method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));

Postman Setup Guide

Get Postman ↗
  1. See official documentation for authentication and setup.

What can you build with Lyft?

Lyft is a Location API. Developers commonly use location APIs for:

  • tracking assets and vehicles in real time
  • building delivery and logistics apps
  • finding nearby businesses or services
  • geo-fencing and location-based notifications
  • address validation and autocomplete

No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. Lyft is free to use, making it a low-risk choice to experiment with.

New to APIs? Read our beginner's guide

Open documentation ↗