This API endpoint will allow users to provide a Wi-Fi access point's MAC address and retrieve its estimated location coordinates (latitude and longitude).
Request Structure
-
Input:
- Mandatory: Wi-Fi Access Points (string).
- Optional: Access Points (minimum 2, if available), ssid, rssi, speed.
-
Output:
- Coordinates
- Accuracy: Value with units
This section describes how to use Location By IP Address end point using the Geolocation API service. You may want to try it out with a FreeTrial Account.
This method will consume credits.
HTTP Request
-
URL Composition
- Base URL: https://api.cloud.precisely.com
- Location By Wi-Fi Access Point Service: /v1/geolocation/access-point
- Supported Methods: POST only
-
Input Fields Each request to the API service requires
parameters listed below
{ "servingCell": { "mac": "string", "ssid": "string", "rssi": "string", "speed": "string" }, "otherCells": [ { "mac": "string", "ssid": "string", "rssi": "string", "speed": "string" } ] }Note:ServingCellandmacare mandatory,otherCellsis optional.
-
Input Fields Each request to the API service requires
parameters listed below
- Rate Limit (Transactions per second): 100
Request Parameter
| Parameter | Description |
|---|---|
| mac | the mac address (required) |
| ssid | service set identifier |
| rssi | received signal strength identifier |
| speed | link speed |