Cost estimates
GET
/cost
Public
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.lyft.com/v1/cost?start_lat=&start_lng='
Response Response Example
200 - Example 1
{
"cost_estimates": [
{
"cost_token": "EupdCgIzy17lJoRmiO5",
"display_name": "Lyft",
"estimated_cost_cents_max": 1080,
"estimated_cost_cents_min": 1390,
"estimated_distance_miles": 12.4,
"estimated_duration_seconds": 540,
"is_valid_estimate": true,
"primetime_confirmation_token": "EupdCgIzy17lJoRmiO5",
"primetime_percentage": "25%",
"ride_type": "lyft"
}
]
}
Request
Query Params
ride_type
string
optional
start_lat
number
required
start_lng
number
required
end_lat
number
optional
end_lng
number
optional
Responses
Modified at 2023-08-15 05:38:33