interface GeolocateRequest {
    data: {
        carrier?: string;
        cellTowers?: CellTower[];
        considerIp?: boolean;
        homeMobileCountryCode?: number;
        homeMobileNetworkCode?: number;
        radioType?: RadioType;
        wifiAccessPoints?: WifiAccessPoint[];
    };
    params: RequestParams;
}

Hierarchy

  • Partial<AxiosRequestConfig>
    • GeolocateRequest

Properties

Properties

data: {
    carrier?: string;
    cellTowers?: CellTower[];
    considerIp?: boolean;
    homeMobileCountryCode?: number;
    homeMobileNetworkCode?: number;
    radioType?: RadioType;
    wifiAccessPoints?: WifiAccessPoint[];
}

Type declaration

  • Optional carrier?: string

    The carrier name.

  • Optional cellTowers?: CellTower[]

    An array of cell tower objects.

  • Optional considerIp?: boolean

    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.

  • Optional homeMobileCountryCode?: number

    The mobile country code (MCC) for the device's home network.

  • Optional homeMobileNetworkCode?: number

    The mobile network code (MNC) for the device's home network.

  • Optional radioType?: RadioType

    The mobile radio type. While this field is optional, it should be included if a value is available, for more accurate results.

  • Optional wifiAccessPoints?: WifiAccessPoint[]

    An array of WiFi access point objects.