# OpenCelliD API reference

> 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…

Source: https://osinttools.io/apis/opencellid/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

Compiled by OSINTtools.io editors from the vendor's docs, updated Nov 29, 2026. Listing: https://osinttools.io/tools/opencellid/

- Base URL: https://opencellid.org
- Authentication: API key in the `key` query parameter. The key is assigned to the user.
- Rate limits: 1,000 API request credits per day per user
- Vendor docs: https://docs.opencellid.org/docs/introduction

## Overview

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.

## Cell position

### Get the position of one cell from its MCC, MNC, LAC and cell ID.

`GET /cell/get`

- Footprint: 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.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `mcc` | query | integer | yes | Mobile country code Example: 260 |
| `mnc` | query | integer | yes | Mobile network code or system identifier Example: 2 |
| `lac` | query | integer | yes | Local area code, tracking area code or network ID Example: 10250 |
| `cellid` | query | integer | yes | Cell ID or base station ID Example: 26511 |
| `radio` | query | string | no | Radio type Example: UMTS One of: GSM, UMTS, LTE, NBIOT, NR, CDMA |
| `format` | query | string | no | Response format Example: json One of: xml, at, json |

Response fields:

- `lat` (number): Latitude of the cell
- `lon` (number): Longitude of the cell
- `mcc` (integer): Mobile country code
- `mnc` (integer): Mobile network code
- `lac` (integer): Local area code
- `cellid` (integer): Cell ID
- `radio` (string): Radio type
- `range` (integer): Range of the cell
- `samples` (integer): Number of samples
- `message` (string): Upstream message when present, otherwise null

```bash
curl 'https://opencellid.org/cell/get?mcc=260&mnc=2&lac=10250&cellid=26511&key=YOUR_API_KEY'
```

Example response (200):

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

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
