Locations feed

NOTE: The Vehicle Locations API is an older API that does not combine GPS data with onboard diagnostics. Try our new Vehicle Stats API instead.

Follow a continuous feed of all vehicle locations from Samsara Vehicle Gateways.

Your first call to this endpoint will provide you with the most recent location for each vehicle and a pagination object that contains an endCursor.

You can provide the endCursor to the after parameter of this endpoint to get location updates since that endCursor.

If hasNextPage is false, no updates are readily available yet. We'd suggest waiting a minimum of 5 seconds before requesting updates.

Related guide: Vehicle Locations.

Submit Feedback: Likes, dislikes, and API feature requests should be filed as feedback in our API feedback form. If you encountered an issue or noticed inaccuracies in the API documentation, please submit a case to our support team.

To use this endpoint, select Read Vehicle Statistics under the Vehicle category when creating or editing an API token. Learn More.

Language
Credentials
Bearer
URL
Click Try It! to start a request and see the response here!