curl -H "X-API-Key: YOUR_API_KEY" \ "https://your-api-host/trips/active?hardware_ids=ABC123&hardware_ids=DEF456"
{ "activeTrips": [ { "hardware_id": "ABC123", "speed": 19.6, "last_position_at": "2025-12-17T10:30:00.000Z", "last_position_age_seconds": 24, "location": { "lat": 37.7749, "long": -122.4194 }, "trip": { "startTime": "2025-12-17T09:50:00.000Z", "endTime": "2025-12-17T10:30:00.000Z", "startLocation": { "lat": 37.7601, "long": -122.4312 }, "endLocation": { "lat": 37.7749, "long": -122.4194 }, "distance": 5234, "duration": 2400, "maxSpeed": 45.2, "avgSpeed": 7.8, "pointCount": 54 } } ], "summary": { "activeCount": 1, "devicesQueried": 2, "configUsed": { "speedThreshold": 3, "minimalTripDuration": 300, "minimalTripDistance": 500, "minimalParkingDuration": 180, "minimalNoDataDuration": 1800, "minimalAvgSpeed": 1, "maxAcceleration": 10 }, "maxAgeSeconds": 300, "lookbackSeconds": 14400 } }
Get devices currently in motion with their active trip data.
Show Active trip object
lat
long
Show Summary