Geolocation

Usage

Ready-made cURL, PHP, Python and JavaScript examples for the Geolocation API, plus an interactive sandbox.

POST requests can be sent to the following URL:

https://us1.unwiredlabs.com/v2/process

Replace us1 with a region that's closer to your location.

curl --request POST \
  --url https://us1.unwiredlabs.com/v2/process \
  --header 'Content-Type: application/json' \
  --data '{"token": "your_API_token","radio": "gsm","mcc": 310,"mnc": 410,"cells": [{"lac": 7033,"cid": 17811}],"wifi": [{"bssid": "00:17:c5:cd:ca:aa","channel": 11,"frequency": 2412}, {"bssid": "d8:97:ba:c2:f0:5a"}],"address": 1}'

Sandbox

Use the sandbox to send sample Geolocation requests.

On this page