Skip to content
OSINTtools.io

Unwired Labs LocationAPI API

Geolocation API that estimates a position from Wi-Fi access points, cell towers or an IP address.

Base URL
https://us1.unwiredlabs.com
Sign-in
API key
Format
REST
Endpoints
2

Compiled by OSINTtools.io editors from docs.unwiredlabs.com · updated Nov 29, 2026Work on this API? Claim it to keep these docs currentReport a mistake

Introduction

Unwired Labs LocationAPI works out a device's position from the cell towers and WiFi access points it can see, and can fall back to an IP address when the IP fallback is enabled. It is not an IP-to-location database in the usual sense: the main request is a JSON body of radio, cell and WiFi data, and the response gives latitude, longitude, an accuracy radius in metres and optionally an address.

An investigator can use it to place a cell or BSSID seen in a log or capture. Requests go to a regional host (us1 or eu1). The geolocation call is a POST with the token in the JSON body; the balance call is a GET with the token in the query string.

The API answers HTTP 200 even for errors, so check the status field of the body. Geocoding, timezone and maps APIs are being phased out and are not covered here.

Quick start

  1. Get a key

    Create an account with Unwired Labs LocationAPI and copy your api key. Where to get it

  2. Make your first request

    Remaining request credits for the day and device slots.. Replace YOUR_API_KEY and run it in a terminal, or use Try it on the endpoint.

    curl 'https://us1.unwiredlabs.com/v2/balance?token=YOUR_API_KEY'
  3. Read the response

    A 200 response looks like this.

    {
      "status": "ok",
      "balance_geolocation": 4500,
      "balance_geocoding": 4500,
      "balance_slots": -1
    }

Authentication

Send your API key in the token query parameter of every request.

The geolocation request takes the token as `token` in the JSON body; the balance request takes it in the query string and needs an account token (sk. prefix) with the balance:read scope.

Get a key from Unwired Labs LocationAPI

Try it on this page keeps your key in your browser; it is never sent to OSINTtools.io.

Rate limits and pricing

The balance endpoint is limited to 1 request per second; the geolocation docs mention a per-second limit allocated to the token without giving a number.

Errors

StatusMeaning
403Access restricted: the token lacks the required scope (geolocation:locate or balance:read)
500Internal server error; retry. Other errors come back with HTTP 200 and status error in the body

Geolocation

Send the token and at least one of cells, wifi, gps or ip (with the ipf fallback enabled). Returns latitude, longitude, accuracy in metres and an address. Always set radio, because cid and lac mean different things per radio type. The docs list a us1 (Northern Virginia) and an eu1 (Germany) host.

Request body (JSON) · 14Show

tokenstringalways present

Your API token

idstring

Device ID on a per-device plan; alphanumeric, at most 20 characters

radiostring

Radio type: gsm, cdma, umts, lte, nbiot or nr

mccinteger

Mobile Country Code, 0 to 999

mncinteger

Mobile Network Code, 0 to 999 (System ID on CDMA, 1 to 32767)

cellsarray

Cell objects visible to the device (for example lac and cid)

wifiarray

WiFi objects visible to the device (bssid, channel, frequency)

ipstring

IP address of the device, used with the ipf fallback

gpsarray

GPS objects describing where the data was scanned

addressinteger

0 suppress, 1 address (default), 2 address components

accept-languagestring

Preferred language order for address results

fallbacksarray

Fallback options: all, ipf (IP), lacf (LAC), scf (short CID)

btinteger

Border threshold: 0 strict, 1 medium (default), 2 low

metadatainteger

1 returns a metadata object; default 0

Response fields · 10Show

statusstring

ok on success, error otherwise

messagestring

Error message when status is error

balanceinteger

Approximate remaining balance on the token

latnumber

Latitude

lonnumber

Longitude

accuracyinteger

Horizontal radius in metres

addressstring

Physical address of the location

address_detailobject

Address components (area, locality, district, county, city, state, country, country_code, postal_code)

agedstring

Shown when the location rests on one measurement, data older than 90 days or an LAC fallback

fallbackstring

Shown when a fallback was used: ipf, lacf, scf, cidf or ncf

curl -X POST 'https://us1.unwiredlabs.com/v2/process?token=YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"token":"YOUR_API_KEY","radio":"gsm","mcc":310,"mnc":410,"cells":[{"lac":7033,"cid":17811}],"wifi":[{"bssid":"00:00:5e:00:53:01","channel":11,"frequency":2412}],"address":1}'
Replace YOUR_API_KEY with your key
Response
{
  "status": "ok",
  "balance": 4500,
  "lat": 51.5,
  "lon": -0.12,
  "accuracy": 50,
  "address": "1 Example Street, Example City, Exampleland"
}

Account

  • Passive: the target is not contacted

Balance resets at 00:00 UTC. Needs an account token (sk. prefix) with the balance:read scope; API tokens (pk.) get 403. Values are a few seconds old.

Response fields · 4Show

statusstring

ok or error

balance_geolocationinteger

Remaining geolocation requests

balance_geocodinginteger

Remaining geocoding requests

balance_slotsinteger

Remaining device slots; -1 if none allocated; device accounts only

curl 'https://us1.unwiredlabs.com/v2/balance?token=YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "status": "ok",
  "balance_geolocation": 4500,
  "balance_geocoding": 4500,
  "balance_slots": -1
}