Positioning API Developer's Guide

GSM Positioning

User Story

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

Request

The code block below demonstrates a POST request to define the geocoordinates as specified by the GSM 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.
{
  "gsm": [{
  "mcc": 262,
  "mnc": 1,
  "lac": 5126,
  "cid": 16504,
  "nmr": [
     { "bsic": "6", "bcch": "82" },
     { "bsic": "7", "bcch": "85" },
     { "bsic": "12", "bcch": "93" },
     { "bsic": "13", "bcch": "88" },
     { "bsic": "19", "bcch": "88" }
  ]
  }]
}

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.5180764,
  "lng": 13.37624492,
  "accuracy": 300
  }
}