Lyft
  1. Schemas
Lyft
  • Public
    • Cost estimates
    • Available drivers nearby
    • Pickup ETAs
    • Types of rides
  • User
    • The user's general info
    • List rides
    • Request a Lyft
    • Get the ride detail of a given ride ID
    • Cancel a ongoing requested ride
    • Update the destination of the ride
    • Add the passenger's rating, feedback, and tip
    • Get the receipt of the rides.
  • Sandbox
    • Preset Prime Time percentage
    • Propagate ride through ride status
    • Preset types of rides for sandbox
    • Driver availability for processing ride request
  • Schemas
    • Schemas
      • ApiError
      • CancellationCost
      • CancellationCostError
      • CancellationRequest
      • Charge
      • Cost
      • CostEstimate
      • CurrentRideLocation
      • DriverDetail
      • ErrorDetail
      • Eta
      • LatLng
      • LineItem
      • Location
      • NearbyDriver
      • NearbyDriversByRideType
      • PassengerDetail
      • PickupDropoffLocation
      • PricingDetails
      • Profile
      • RatingRequest
      • Ride
      • RideDetail
      • RideLocation
      • RideProfileEnum
      • RideReceipt
      • RideRequest
      • RideRequestError
      • RideStatusEnum
      • RideType
      • RideTypeEnum
      • RideTypeEnumWithOther
      • SandboxDriverAvailability
      • SandboxPrimetime
      • SandboxRideStatus
      • SandboxRideType
      • SandboxRideUpdate
      • Tip
      • TipParams
      • UserDetail
      • VehicleDetail
  1. Schemas

RideDetail

Detail information about a ride

{
    "beacon_color": "#FFFFFF",
    "destination": {
        "address": "987 Second St, Anytown, CA",
        "lat": 36.9453452,
        "lng": -123.8642521
    },
    "distance_miles": 16.2,
    "driver": {
        "first_name": "Joe",
        "image_url": "http://example.com/lyft.png",
        "phone_number": "+15554445111",
        "rating": "4.9"
    },
    "dropoff": {
        "address": "987 Second St, Anytown, CA",
        "lat": 36.9453452,
        "lng": -123.8642521,
        "time": "2023-08-15T05:38:32.975Z"
    },
    "duration_seconds": 1620,
    "line_items": [
        {
            "amount": 500,
            "currency": "USD",
            "type": "Ride"
        },
        {
            "amount": 250,
            "currency": "USD",
            "type": "Prime Time"
        },
        {
            "amount": 155,
            "currency": "USD",
            "type": "Service fee"
        }
    ],
    "location": {
        "address": "987 Second St, Anytown, CA",
        "lat": 36.9453452,
        "lng": -123.8642521
    },
    "origin": {
        "address": "123 Main St, Anytown, CA",
        "lat": 36.9442175,
        "lng": -123.8679133
    },
    "passenger": {
        "first_name": "Jane",
        "phone_number": "+15554445000",
        "user_id": "776630198662493392"
    },
    "pickup": {
        "address": "123 Main St, Anytown, CA",
        "lat": 36.9442175,
        "lng": -123.8679133,
        "time": "2023-08-15T05:38:32.975Z"
    },
    "price": {
        "amount": 905,
        "currency": "USD",
        "description": "Total ride price"
    },
    "primetime_percentage": "50%",
    "requested_at": "2023-08-15T05:38:32.975Z",
    "ride_id": 123456789,
    "ride_profile": "personal",
    "ride_type": "lyft",
    "status": "droppedOff",
    "vehicle": {
        "color": "black",
        "image_url": "http://example.com/lyft.png",
        "license_plate": "AAAAAAA",
        "make": "Audi",
        "model": "A4"
    }
}
Built with