Skip to content
OSINTtools.io

OpenCelliD API

Open, community-built database of cell tower locations worldwide, with map search, API and downloads.

Base URL
https://opencellid.org
Sign-in
API key
Format
REST, Bulk files
Endpoints
1

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

Introduction

OpenCelliD is a community database of cell tower locations. The cell position call takes the mobile country code, network code, area code and cell ID and returns the estimated position of that cell, with its range and sample count.

Calls go to https://opencellid.org/cell/get with your API key in the key query parameter. The default format is XML; ask for format=json for JSON. Some errors are returned with HTTP 200, so check the body.

The docs state each user gets 1,000 API request credits per day. Results shared publicly need attribution under CC BY-SA 4.0. The bulk CSV downloads are separate and not described here.

Quick start

  1. Get a key

    Create an account with OpenCelliD and copy your api key. Where to get it

  2. Make your first request

    Get the position of one cell from its MCC, MNC, LAC and cell ID.. Replace YOUR_API_KEY and run it in a terminal, or use Try it on the endpoint.

    curl 'https://opencellid.org/cell/get?mcc=260&mnc=2&lac=10250&cellid=26511&key=YOUR_API_KEY'
  3. Read the response

    A 200 response looks like this.

    {
      "lat": 10.1234,
      "lon": 20.5678,
      "mcc": 260,
      "mnc": 2,
      "lac": 10250,
      "cellid": 26511,
      "radio": "UMTS",
      "range": 1500,
      "samples": 3,
      "message": null
    }

Authentication

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

The key is assigned to the user.

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

Rate limits and pricing

1,000 API request credits per day per user

Cell position

  • Passive: the target is not contacted
  • Cost: 1 request credit

Lat and lon are rounded to up to 4 decimal places (2 for MCCs 404 to 406). A missing result can mean an unobserved cell, changed identifiers or a network-identifier mismatch. Without radio, the first matched cell is returned.

Query parameters

mccintegerrequired

Mobile country code

Example: 260
mncintegerrequired

Mobile network code or system identifier

Example: 2
lacintegerrequired

Local area code, tracking area code or network ID

Example: 10250
cellidintegerrequired

Cell ID or base station ID

Example: 26511
radiostring

Radio type

Example: UMTSOne of: GSM, UMTS, LTE, NBIOT, NR, CDMA
formatstring

Response format

Example: jsonDefault: xmlOne of: xml, at, json
Response fields · 10Show

latnumber

Latitude of the cell

lonnumber

Longitude of the cell

mccinteger

Mobile country code

mncinteger

Mobile network code

lacinteger

Local area code

cellidinteger

Cell ID

radiostring

Radio type

rangeinteger

Range of the cell

samplesinteger

Number of samples

messagestring

Upstream message when present, otherwise null

curl 'https://opencellid.org/cell/get?mcc=260&mnc=2&lac=10250&cellid=26511&key=YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "lat": 10.1234,
  "lon": 20.5678,
  "mcc": 260,
  "mnc": 2,
  "lac": 10250,
  "cellid": 26511,
  "radio": "UMTS",
  "range": 1500,
  "samples": 3,
  "message": null
}