curl --request GET \
--url https://dashboard.hologram.io/api/1/devices/locations \
--header 'Authorization: Basic <encoded-value>'{
"success": true,
"limit": 5,
"size": 5,
"continues": true,
"links": {
"path": "/api/1/devices/locations",
"base": "dashboard.hologram.io",
"next": "/api/1/devices/locations?orgid=12345&limit=5&startafter=3437062"
},
"lastid": 3437062,
"data": [
{
"deviceid": 3891572,
"name": "IoT Sensor Alpha (85612)",
"latitude": 42.355,
"longitude": -71.061,
"range": 1000
},
{
"deviceid": 3805047,
"name": "Field Device Beta",
"latitude": 42.986,
"longitude": -89.525,
"range": 1360
},
{
"deviceid": 3686842,
"name": "Mobile Tracker",
"latitude": 37.913,
"longitude": -122.095,
"range": 9895
},
{
"deviceid": 3501184,
"name": "Remote Tracker",
"latitude": 47.784,
"longitude": -122.295,
"range": 1156
},
{
"deviceid": 3437062,
"name": "Indoor Sensor",
"latitude": "",
"longitude": "",
"range": ""
}
]
}Retrieve location information for devices that have reported location data. Returns a paginated list of devices with their most recent location including latitude, longitude, and accuracy range.
Location data is only available for devices that have reported GPS or cell tower location information. Devices without location data will show empty strings for latitude, longitude, and range.
Note: This endpoint is paginated and has a default limit of 50 results, with a maximum limit of 5,000 results. The endpoint is now paginated and will use the startafter property to return additional results.
curl --request GET \
--url https://dashboard.hologram.io/api/1/devices/locations \
--header 'Authorization: Basic <encoded-value>'{
"success": true,
"limit": 5,
"size": 5,
"continues": true,
"links": {
"path": "/api/1/devices/locations",
"base": "dashboard.hologram.io",
"next": "/api/1/devices/locations?orgid=12345&limit=5&startafter=3437062"
},
"lastid": 3437062,
"data": [
{
"deviceid": 3891572,
"name": "IoT Sensor Alpha (85612)",
"latitude": 42.355,
"longitude": -71.061,
"range": 1000
},
{
"deviceid": 3805047,
"name": "Field Device Beta",
"latitude": 42.986,
"longitude": -89.525,
"range": 1360
},
{
"deviceid": 3686842,
"name": "Mobile Tracker",
"latitude": 37.913,
"longitude": -122.095,
"range": 9895
},
{
"deviceid": 3501184,
"name": "Remote Tracker",
"latitude": 47.784,
"longitude": -122.295,
"range": 1156
},
{
"deviceid": 3437062,
"name": "Indoor Sensor",
"latitude": "",
"longitude": "",
"range": ""
}
]
}Documentation Index
Fetch the complete documentation index at: https://docs.hologram.io/llms.txt
Use this file to discover all available pages before exploring further.
HTTP Basic authentication using API keys. Set the username to apikey and the password to your API key.
You can find your API key on the Hologram Dashboard under Account Settings.
144
Maximum number of items to return in a single request. For endpoints that support pagination, use this with corresponding /pages endpoints to manage large result sets.
50
102544
Device location information
Maximum number of results requested
Actual number of results returned
Whether there are more results available
ID of the last device in this response
Pagination links (only present when continues is true)
Show child attributes
Show child attributes
Was this page helpful?