New12,480+ smartphones indexed — free sandbox tier on every plan.Edge-cached JSON responses, typically under 100ms.SDKs for C#, TypeScript and Python, plus an MCP server for AI agents.New12,480+ smartphones indexed — free sandbox tier on every plan.Edge-cached JSON responses, typically under 100ms.SDKs for C#, TypeScript and Python, plus an MCP server for AI agents.
Get Free API Key
Specs comparison

HTC One (M8) for Windows vs Sony Xperia Z2

Sony Xperia Z2 leads on 4 of the 6 metrics where the two devices differ and a direction is meaningful (higher refresh rate, more RAM, bigger battery, lighter body, and so on). Every value comes from the Device Specs API; the requests that return both payloads are at the bottom of the page.

HTC One (M8) for Windows

HTC One (M8) for Windows

2014 · Qualcomm MSM8974AB Snapdragon 801
VS
Sony Xperia Z2

Sony Xperia Z2

2014 · Qualcomm MSM8974AB Snapdragon 801
SpecificationHTC One (M8) for WindowsSony Xperia Z2
Release
Announced2014, August. Released 2014, November2014, February. Released 2014, April
StatusDiscontinuedDiscontinued
Display
Size5 in5.2 in
PanelSuper LCD3IPS LCD
ResolutionSuper LCD3IPS LCD
ProtectionTo be confirmedShatter proof glass
Platform
ChipsetQualcomm MSM8974AB Snapdragon 801Qualcomm MSM8974AB Snapdragon 801
CPUQuad-core 2.3 GHz Krait 400Quad-core 2.3 GHz Krait 400
Cores44
Max clock2.3 GHz2.3 GHz
GPUAdreno 330Adreno 330
OSMicrosoft Windows Phone 8.1.1Android 4.4.2 (KitKat), upgradable to 6.0 (Marshmallow)
Memory
RAM options2 GB3 GB
Storage options32 GB16 GB
Storage techeMMC 5.0eMMC 5.0
microSD slotYesYes
Battery
Capacity2600 mAh3200 mAh
Wired charging—18 W
Wireless chargingNoNo
Cameras
Rear lenses11
Main resolution4 MP21 MP
Rear camera4 MP, f/2.0, 27mm (wide), 1/3.0", 2µm, AF, Auxiliary lens20.7 MP, f/2.0, 1/2.3", 1.12µm, AF
Rear video1080p@60fps, 720p@60fps, HDR, stereo sound rec.4K@30fps, 1080p@60fps, 720p@120fps, HDR
Front camera5 MP2.2 MP
Body
Weight160 g163 g
Thickness9.4 mm8.2 mm
Height146.4 mm146.8 mm
Width70.6 mm73.3 mm
IP rating—IP58
Materials—Glass front, glass back, aluminum frame
SIMNano-SIMMicro-SIM
Sound and connectivity
Stereo speakersYesYes
3.5 mm jackYesYes
NFCYesYes
Bluetooth44
Wi-FiWi-Fi 802.11 a/b/g/n/ac, dual-band, Wi-Fi Direct, DLNA, hotspotWi-Fi 802.11 a/b/g/n/ac, dual-band, Wi-Fi Direct, DLNA, hotspot
USBmicroUSB 2.0microUSB 2.0 (MHL TV-out)
InfraredYesNo

HTC One (M8) for Windows JSON

GET/api/values/clean/getspecs/HTC/One%20(M8)%20for%20Windows
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/HTC/One%20(M8)%20for%20Windows' \
-H 'x-rapidapi-key: YOUR_RAPIDAPI_KEY' \
-H 'x-rapidapi-host: gsmarenaparser.p.rapidapi.com'
SDK equivalents (Python, TypeScript, C#)
Python
from devicespecs import DeviceSpecsClient
client = DeviceSpecsClient("YOUR_RAPIDAPI_KEY")
device = client.get_specs("HTC", "One (M8) for Windows")
print(device["normalized_specs"]["display"])
TypeScript
import { DeviceSpecsClient } from "@granturismo/devicespecs";
const client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
const device = await client.getSpecs("HTC", "One (M8) for Windows");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("HTC", "One (M8) for Windows");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 454845,
  "manufacturer": "HTC",
  "model": "One (M8) for Windows",
  "network": "GSM / HSPA / LTE",
  "announceDate": "2014, August. Released 2014, November",
  "status": "Discontinued",
  "chipset": "Qualcomm MSM8974AB Snapdragon 801",
  "androidVersion": "Microsoft Windows Phone 8.1.1",
  "battery_raw": "Li-Ion 2600 mAh, non-removable",
  "cpu_raw": "Quad-core 2.3 GHz Krait 400",
  "displayResolution_raw": "Super LCD3",
  "displaySize_raw": "5.0 inches, 68.9 cm<sup>2</sup> (~66.7% screen-to-body ratio)",
  "displayType_raw": "Super LCD3",
  "gpu": "Adreno 330",
  "internal_raw": "32GB 2GB RAM",
  "mainCameraFeatures": "HDR, panorama, dual-LED dual-tone flash",
  "mainCameraSpecs_raw": "4 MP, f/2.0, 27mm (wide), 1/3.0\", 2µm, AF<br>\nAuxiliary lens",
  "mainVideoSpecs": "1080p@60fps, 720p@60fps, HDR, stereo sound rec.",
  "selfieCameraFeatures": "HDR",
  "selfieCameraSpecs_raw": "5 MP",
  "selfieVideoSpecs": "1080p@30fps",
  "sensors": "",
  "charging_raw": "",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/htc-one-m8-windows-gsm.jpg",
  "colors": [
    "Gunmetal Gray"
  ],
  "variants": [],
  "normalized_specs": {
    "id": 454850,
    "display": {
      "id": 454850,
      "size_inches": 5,
      "panel_type": "Super LCD3",
      "refresh_rate_hz": 0,
      "peak_brightness_nits": 0,
      "protection_type": "To be confirmed"
    },
    "processor": {
      "id": 454850,
      "total_cores": 4,
      "max_clock_speed_ghz": 2.3
    },
    "memory_options": {
      "id": 454850,
      "available_ram_gb": [
        2
      ],
      "available_storage_gb": [
        32
      ],
      "has_card_slot": true,
      "storage_technology": "eMMC 5.0"
    },
    "battery_and_charging": {
      "id": 454850,
      "capacities_mah": [
        2600
      ],
      "max_wired_charging_w": 0,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 454850,
      "main_lenses_count": 1,
      "max_main_resolution_mp": 4,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 454850,
      "height_mm": 146.4,
      "width_mm": 70.6,
      "thickness_mm": 9.4,
      "weight_g": 160,
      "build_materials": [],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "",
      "is_water_resistant": false
    },
    "sound": {
      "id": 454850,
      "has_stereo_speakers": true,
      "has_jack_35mm": true,
      "audio_quality_features": []
    },
    "connectivity": {
      "id": 454850,
      "wlan_features": [
        "Wi-Fi 802.11 a/b/g/n/ac",
        "dual-band",
        "Wi-Fi Direct",
        "DLNA",
        "hotspot"
      ],
      "bluetooth_version": 4,
      "bluetooth_features": [
        "A2DP",
        "aptX"
      ],
      "positioning_tech": [
        "GPS",
        "GLONASS"
      ],
      "has_nfc": true,
      "has_infrared": true,
      "has_radio": false,
      "usb_type": "microUSB 2.0",
      "usb_has_otg": false
    },
    "benchmarks": {
      "id": 454850,
      "antutu_score": "",
      "geekbench_score": "",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 454850,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

Sony Xperia Z2 JSON

GET/api/values/clean/getspecs/Sony/Xperia%20Z2
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Sony/Xperia%20Z2' \
-H 'x-rapidapi-key: YOUR_RAPIDAPI_KEY' \
-H 'x-rapidapi-host: gsmarenaparser.p.rapidapi.com'
SDK equivalents (Python, TypeScript, C#)
Python
from devicespecs import DeviceSpecsClient
client = DeviceSpecsClient("YOUR_RAPIDAPI_KEY")
device = client.get_specs("Sony", "Xperia Z2")
print(device["normalized_specs"]["display"])
TypeScript
import { DeviceSpecsClient } from "@granturismo/devicespecs";
const client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
const device = await client.getSpecs("Sony", "Xperia Z2");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Sony", "Xperia Z2");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 457340,
  "manufacturer": "Sony",
  "model": "Xperia Z2",
  "network": "GSM / HSPA / LTE",
  "announceDate": "2014, February. Released 2014, April",
  "status": "Discontinued",
  "chipset": "Qualcomm MSM8974AB Snapdragon 801",
  "androidVersion": "Android 4.4.2 (KitKat), upgradable to 6.0 (Marshmallow)",
  "battery_raw": "Li-Ion 3200 mAh, non-removable",
  "cpu_raw": "Quad-core 2.3 GHz Krait 400",
  "displayResolution_raw": "IPS LCD",
  "displaySize_raw": "5.2 inches, 74.5 cm<sup>2</sup> (~69.3% screen-to-body ratio)",
  "displayType_raw": "IPS LCD",
  "gpu": "Adreno 330",
  "internal_raw": "16GB 3GB RAM",
  "mainCameraFeatures": "LED flash, HDR, panorama",
  "mainCameraSpecs_raw": "20.7 MP, f/2.0, 1/2.3\", 1.12µm, AF",
  "mainVideoSpecs": "4K@30fps, 1080p@60fps, 720p@120fps, HDR",
  "selfieCameraFeatures": "",
  "selfieCameraSpecs_raw": "2.2 MP",
  "selfieVideoSpecs": "1080p@30fps",
  "sensors": "",
  "charging_raw": "18W wired, QC2 (Japan)",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/sony-xperia-z2-new.jpg",
  "colors": [
    "Black",
    "White",
    "Purple"
  ],
  "variants": [
    {
      "id": 511496,
      "model_number": "D6503"
    },
    {
      "id": 511497,
      "model_number": "D6502"
    },
    {
      "id": 511498,
      "model_number": "SO-03F"
    },
    {
      "id": 511499,
      "model_number": "Xperia Z2"
    }
  ],
  "normalized_specs": {
    "id": 457345,
    "display": {
      "id": 457345,
      "size_inches": 5.2,
      "panel_type": "IPS LCD",
      "refresh_rate_hz": 0,
      "peak_brightness_nits": 0,
      "protection_type": "Shatter proof glass"
    },
    "processor": {
      "id": 457345,
      "total_cores": 4,
      "max_clock_speed_ghz": 2.3
    },
    "memory_options": {
      "id": 457345,
      "available_ram_gb": [
        3
      ],
      "available_storage_gb": [
        16
      ],
      "has_card_slot": true,
      "storage_technology": "eMMC 5.0"
    },
    "battery_and_charging": {
      "id": 457345,
      "capacities_mah": [
        3200
      ],
      "max_wired_charging_w": 18,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 457345,
      "main_lenses_count": 1,
      "max_main_resolution_mp": 21,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 457345,
      "height_mm": 146.8,
      "width_mm": 73.3,
      "thickness_mm": 8.2,
      "weight_g": 163,
      "build_materials": [
        "Glass front",
        "glass back",
        "aluminum frame"
      ],
      "sim_options": [
        "Micro-SIM"
      ],
      "ip_rating": "IP58",
      "is_water_resistant": true
    },
    "sound": {
      "id": 457345,
      "has_stereo_speakers": true,
      "has_jack_35mm": true,
      "audio_quality_features": []
    },
    "connectivity": {
      "id": 457345,
      "wlan_features": [
        "Wi-Fi 802.11 a/b/g/n/ac",
        "dual-band",
        "Wi-Fi Direct",
        "DLNA",
        "hotspot"
      ],
      "bluetooth_version": 4,
      "bluetooth_features": [
        "A2DP",
        "aptX"
      ],
      "positioning_tech": [
        "GPS",
        "GLONASS"
      ],
      "has_nfc": true,
      "has_infrared": false,
      "has_radio": false,
      "usb_type": "microUSB 2.0 (MHL TV-out)",
      "usb_has_otg": true
    },
    "benchmarks": {
      "id": 457345,
      "antutu_score": "",
      "geekbench_score": "",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 457345,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

More comparisons