curl -H "X-API-Key: YOUR_API_KEY" \ "https://your-api-host/trips/ABC123?from=2025-12-01T00:00:00Z&to=2025-12-17T00:00:00Z"
{ "trips": [ { "hardware_id": "ABC123", "startTime": "2025-12-17T08:00:00.000Z", "endTime": "2025-12-17T08:45:00.000Z", "startLocation": { "lat": 37.7749, "long": -122.4194 }, "endLocation": { "lat": 37.7899, "long": -122.401 }, "distance": 5234, "duration": 2700, "maxSpeed": 45.2, "avgSpeed": 6.9, "pointCount": 54 } ], "stops": [ { "startTime": "2025-12-17T08:45:00.000Z", "endTime": "2025-12-17T09:30:00.000Z", "location": { "lat": 37.7899, "long": -122.401 }, "duration": 2700 } ], "summary": { "totalTrips": 1, "totalStops": 1, "totalDistance": 5234, "totalDuration": 2700, "totalStopDuration": 2700, "positionsAnalyzed": 120, "configUsed": { "speedThreshold": 3, "minimalTripDuration": 300, "minimalTripDistance": 500, "minimalParkingDuration": 180, "minimalNoDataDuration": 1800, "minimalAvgSpeed": 1, "maxAcceleration": 10 } } }
Get trips and stops for a single device within a date range.
id
short_id
hardware_id
devicesQueried