Geolocation

Returns com.precisely.geolocation for a Wifi access point

The Geolocation Wifi Access end point provides the com.precisely.geolocation details.

post/v1/geolocation/access-point

Request

  • Base URL: https://api.cloud.precisely.com
  • URL: https://api.cloud.precisely.com/v1/geolocation/access-point
  • Auth: one of:
    • HTTP bearer
    • API key in header Authorization

Headers

X-Request-Idstring

The X-Request-Id header is optional but incredibly useful for developers. It serves as a unique identifier for requests within our system. When you encounter any problems with your requests, providing us with the X-Request-Id will enable us to pinpoint the specific request in question without the need for extensive manual searching. This means faster and more efficient troubleshooting. The maximum allowed length is 38 characters.

Request body

Example request

{
  "servingCell": {
    "mac": "00:22:75:10:d5:91",
    "ssid": "Home_WiFi",
    "rssi": "-90",
    "speed": "500"
  },
  "otherCells": [
    {
      "mac": "00:22:75:10:d5:91",
      "ssid": "Office_WiFi",
      "rssi": "-75",
      "speed": "100"
    }
  ]
}

Response

WiFi access point com.precisely.geolocation fetched successfully

Example response

{
  "response": {
    "status": "OK",
    "result": {
      "geometry": {
        "type": "Point",
        "coordinates": [
          -77.49154,
          39.03328
        ],
        "accuracy": {
          "unit": "meters",
          "value": "120"
        }
      }
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.