Devices closest to specific gateway


Use the tracking.closest_ble_gateway.gateway_name field to filter for devices whose closest gateway matches a specific name. Replace "Lobby Gateway" with the name of the gateway you want to query.

GET https://prod.lunalocate.com/api/v2/devices?q=tracking.closest_ble_gateway.gateway_name="Lobby Gateway"

Note that closest_ble_gateway reflects the gateway with the strongest signal at the time of the last update, not necessarily the gateway used for location estimation.