Wi-Fi Location
GetLocationFromWifiNetworks
post/location/wifi
Request
- Base URLhttps://api.location.nrfcloud.com/v1/organizations/my-org/projects/my-project
- Auth
- HTTP bearer
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
hiConfboolean
nRF Cloud automatically uses a 68% confidence interval when estimating the Horizontal Positioning Error (HPE) for a location. This means that there is a 68% probability that the device's actual location is within the HPE radius of the returned coordinates. Enabling this flag will use a 95% confidence interval instead, resulting in a larger HPE radius, and a higher probability that the device's actual location is within the circle.
Headers
x-custom-device-idstring
User-defined device ID, used to identify requests when using a cloud-to-cloud integration. Ignored if using a device token.
Example:my-device-12345
Request body
Example request
{
"accessPoints": [
{
"macAddress": "FE:1E:41:2D:9E:53",
"signalStrength": -42,
"age": 500,
"frequency": 2412
}
]
}Response
Returns lat/lon coordinates and uncertainty for a device using nearby Wi-Fi networks
Example response
{
"lat": 45.524098,
"lon": -122.688408,
"uncertainty": 300.5
}Changes
No recorded changes to this operation across all 7 revisions of this API.