Top Internet of Things Daily & Weekly

The Google Maps Geolocation API  

Get a location and accuracy radius based on nearby cell towers and WiFi nodes. #IoT

  • The Google Maps Geolocation API returns a location and accuracy radius based on information about cell towers and WiFi nodes that the mobile client can detect.
  • The following fields are supported, and all fields are optional: – – The request body’s array contains zero or more cell tower objects.
  • The request body’s array must contain two or more WiFi access point objects.
  • The response contains an object with a single object with the following keys: – – For example, sending invalid JSON will return the following error: – – If you’d like to try the Google Maps Geolocation API with sample data, save the following JSON to a file: – – You…
  • If your Geolocation response shows a very high value in the field, the service may be geolocating based on the request IP, instead of WiFi points or cell towers.

Find location based on cell towers and WiFi nodes. Learn the protocol to send this data to the server and to return a response to the client.

The Google Maps Geolocation API returns a location and accuracy radius based on information about cell towers and WiFi nodes that the mobile client can detect. This document describes the protocol used to send this data to the server and to return a response to the client.

Before you start developing with the Geolocation API, review the authentication requirements (you need an API key) and the API usage limits.

Geolocation requests are sent using POST to the following URL:

is your application’s API key. This key identifies your application for purposes of quota management. Learn how to get a key.

The request body must be formatted as JSON. The following fields are supported, and all fields are optional:

: The mobile country code (MCC) for the device’s home network.

: The mobile network code (MNC) for the device’s home network.

. While this field is optional, it should be included if a value is available, for more accurate results.

: The carrier name.

to disable fall back.

: An array of cell tower objects. See the Cell Tower Objects section below.

: An array of WiFi access point objects. See the WiFi Access Point Objects section below.

array contains zero or more cell tower objects.

(required): Unique identifier of the cell. On GSM, this is the Cell ID (CID); CDMA networks use the…

The Google Maps Geolocation API