Positioning API Developer's Guide

WLAN Positioning

User Story

The user wants to determine the WGS-84 compliant coordinates defined by the WLAN information in the POST body.

Request

The code block below demonstrates a POST request to get the geocoordinates defined by the WLAN information in the POST body. You need to set the following HTTP Header: Content-Type: application/json.
https://pos.cit.api.here.com/positioning/v1/locate?app_id={YOUR_APP_ID}&app_code={YOUR_APP_CODE}
This POST request requires the following POST body.
{
 "wlan": [
  {"mac": "8C-1A-BF-20-66-AD"},
  {"mac": "A0-E4-53-E9-66-A7"},
  {"mac": "AC-4B-C8-34-F7-01"},
  {"mac": "A0-21-95-57-79-06"},
  {"mac": "00-18-56-51-54-FB"},
  {"mac": "10-30-47-D2-54-55"},
  {"mac": "B8-6B-23-09-87-B1"},
  {"mac": "F4-55-95-11-2C-C1"}
  ]
}

Response

The response to the request contains:
  • lat: WGS-84 compliant latitude coordinate
  • long: WGS-84 compliant longitude coordinate
  • accuracy: Radius of the uncertainty circle around the position in meters
{
  "location": {
  "lat": 52.5185857,
  "lng": 13.37622989,
  "accuracy": 100
  }
}

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on selfservesupport@here.com.