GeolocationRequest

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

EnvironmentGeocodingGeolocationMapsNavigationPlacesRoutingSolarGeospatial

Properties

Name Type Description
homeMobileCountryCode integer The cell tower's Mobile Country Code (MCC).
homeMobileNetworkCode integer The cell tower's Mobile Network Code. This is the MNC for GSM and WCDMA; CDMA uses the System ID (SID).
radioType string The mobile radio type. Supported values are lte, gsm, cdma, and wcdma. While this field is optional, it should be included if a value is available, for more accurate results.
carrier string The carrier name.
considerIp string Specifies whether to fall back to IP geolocation if wifi and cell tower signals are not available. Defaults to true. Set considerIp to false to disable fall back.
cellTowers array The request body's cellTowers array contains zero or more cell tower objects.
wifiAccessPoints array An array of two or more WiFi access point objects.
View JSON Schema on GitHub

JSON Schema

google-maps-geolocation-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-maps/json-schema/google-maps-geolocation-request-schema.json",
  "title": "GeolocationRequest",
  "description": "The request body must be formatted as JSON. The following fields are supported, and all fields are optional.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/google-maps-geolocation-api-api-openapi.yml#/components/schemas/GeolocationRequest",
  "type": "object",
  "properties": {
    "homeMobileCountryCode": {
      "type": "integer",
      "description": "The cell tower's Mobile Country Code (MCC)."
    },
    "homeMobileNetworkCode": {
      "type": "integer",
      "description": "The cell tower's Mobile Network Code. This is the MNC for GSM and WCDMA; CDMA uses the System ID (SID)."
    },
    "radioType": {
      "type": "string",
      "description": "The mobile radio type. Supported values are lte, gsm, cdma, and wcdma. While this field is optional, it should be included if a value is available, for more accurate results."
    },
    "carrier": {
      "type": "string",
      "description": "The carrier name."
    },
    "considerIp": {
      "type": "string",
      "description": "Specifies whether to fall back to IP geolocation if wifi and cell tower signals are not available. Defaults to true. Set considerIp to false to disable fall back."
    },
    "cellTowers": {
      "type": "array",
      "description": "The request body's cellTowers array contains zero or more cell tower objects.",
      "items": {
        "$ref": "#/$defs/CellTower"
      }
    },
    "wifiAccessPoints": {
      "type": "array",
      "description": "An array of two or more WiFi access point objects.",
      "items": {
        "$ref": "#/$defs/WiFiAccessPoint"
      }
    }
  },
  "$defs": {
    "CellTower": {
      "type": "object",
      "title": "CellTower",
      "description": "Attributes used to describe a cell tower. The following optional fields are not currently used, but may be included if values are available: `age`, `signalStrength`, `timingAdvance`.",
      "required": [
        "cellId",
        "locationAreaCode",
        "mobileCountryCode",
        "mobileNetworkCode"
      ],
      "properties": {
        "cellId": {
          "description": "Unique identifier of the cell. On GSM, this is the Cell ID (CID); CDMA networks use the Base Station ID (BID). WCDMA networks use the UTRAN/GERAN Cell Identity (UC-Id), which is a 32-bit value concatenating the Radio Network Controller (RNC) and Cell ID. Specifying only the 16-bit Cell ID value in WCDMA networks may return inaccurate results.",
          "type": "integer"
        },
        "locationAreaCode": {
          "description": "The Location Area Code (LAC) for GSM and WCDMA networks. The Network ID (NID) for CDMA networks.",
          "type": "integer"
        },
        "mobileCountryCode": {
          "description": "The cell tower's Mobile Country Code (MCC).",
          "type": "integer"
        },
        "mobileNetworkCode": {
          "description": "The cell tower's Mobile Network Code. This is the MNC for GSM and WCDMA; CDMA uses the System ID (SID).",
          "type": "integer"
        },
        "age": {
          "description": "The number of milliseconds since this cell was primary. If age is 0, the cellId represents a current measurement.",
          "type": "integer"
        },
        "signalStrength": {
          "description": "Radio signal strength measured in dBm.",
          "type": "number"
        },
        "timingAdvance": {
          "description": "The timing advance value.",
          "type": "number"
        }
      }
    },
    "WiFiAccessPoint": {
      "type": "object",
      "title": "WiFiAccessPoint",
      "description": "Attributes used to describe a WiFi access point.",
      "required": [
        "macAddress"
      ],
      "properties": {
        "macAddress": {
          "description": "The MAC address of the WiFi node. It's typically called a BSS, BSSID or MAC address. Separators must be `:` (colon).",
          "type": "string"
        },
        "signalStrength": {
          "description": "The current signal strength measured in dBm.",
          "type": "integer"
        },
        "signalToNoiseRatio": {
          "description": "The current signal to noise ratio measured in dB.",
          "type": "integer"
        },
        "age": {
          "description": "The number of milliseconds since this access point was detected.",
          "type": "integer"
        },
        "channel": {
          "description": "The channel over which the client is communication with the access point.",
          "type": "integer"
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/google-maps-geolocation-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.