Devices
Devices are any telematics devices that you have connected through the PathStack portal. They can be anything for
Truck GPS trackers to shipping trackers or boat beacons.
/device
endpoint. This will return a list of devices that you have connected. Optionally, you can filter by the telematics
provider.
JSON
id,
which you can use to get the trips for a particular device, which you will see in the next section.
Trips
A trip represents a journey that a device has taken from start to finish, and consist of many positions. A trip
has a start and end position and time.
Not all telematics providers have trip information. For cases where there is no trip information given, PathStack will
use algorithms to estimate trips within the positions received.
/device/{device_id}/trip
endpoint. You can filter trips by start time and end time by passing start_time_utc and end_time_utc.
JSON
id, which is the unique ID of the trip. This id can be used to request the positions for a
trip, as you will see in the next section.
Positions
A position is a single point in time with a latitude and longitude. Positions are the building blocks of trips, and a
trip may have hundreds or even thousands of positions.
/trip/{trip_id}/position endpoint.
JSON

