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 (CDMA) vs Sony Xperia Z2a

On the 6 metrics where both phones differ and a direction is meaningful, the two devices split evenly. 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 (CDMA)

HTC One (M8) for Windows (CDMA)

2014 · Qualcomm MSM8974AB Snapdragon 801
VS
Sony Xperia Z2a

Sony Xperia Z2a

2014 · Qualcomm MSM8974AB Snapdragon 801
SpecificationHTC One (M8) for Windows (CDMA)Sony Xperia Z2a
Release
Announced2014, August. Released 2014, September2014, June. Released 2014, July
StatusDiscontinuedDiscontinued
Display
Size5 in5 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)
Memory
RAM options2 GB3 GB
Storage options32 GB16 GB
Storage techeMMC 5.0eMMC 5.0
microSD slotYesYes
Battery
Capacity2600 mAh3000 mAh
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, 1/2.3", AF
Rear video1080p@60fps, 720p@60fps, HDR, stereo sound rec.4K@30fps, 1080p@60fps, 720p@120fps, HDR
Front camera5 MPVGA
Body
Weight160 g163 g
Thickness9.4 mm11 mm
Height146.4 mm137 mm
Width70.6 mm72 mm
IP rating—IP58
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 3 TV-out)
InfraredYesNo

HTC One (M8) for Windows (CDMA) JSON

GET/api/values/clean/getspecs/HTC/One%20(M8)%20for%20Windows%20(CDMA)
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/HTC/One%20(M8)%20for%20Windows%20(CDMA)' \
-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 (CDMA)")
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 (CDMA)");
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 (CDMA)");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 454846,
  "manufacturer": "HTC",
  "model": "One (M8) for Windows (CDMA)",
  "network": "GSM / CDMA / HSPA / EVDO",
  "announceDate": "2014, August. Released 2014, September",
  "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": "Dual-LED dual-tone flash, panorama, HDR",
  "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": "Up to 387 h",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/htc-one-m8-win.jpg",
  "colors": [
    "Gunmetal Gray"
  ],
  "variants": [],
  "normalized_specs": {
    "id": 454851,
    "display": {
      "id": 454851,
      "size_inches": 5,
      "panel_type": "Super LCD3",
      "refresh_rate_hz": 0,
      "peak_brightness_nits": 0,
      "protection_type": "To be confirmed"
    },
    "processor": {
      "id": 454851,
      "total_cores": 4,
      "max_clock_speed_ghz": 2.3
    },
    "memory_options": {
      "id": 454851,
      "available_ram_gb": [
        2
      ],
      "available_storage_gb": [
        32
      ],
      "has_card_slot": true,
      "storage_technology": "eMMC 5.0"
    },
    "battery_and_charging": {
      "id": 454851,
      "capacities_mah": [
        2600
      ],
      "max_wired_charging_w": 0,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 454851,
      "main_lenses_count": 1,
      "max_main_resolution_mp": 4,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 454851,
      "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": 454851,
      "has_stereo_speakers": true,
      "has_jack_35mm": true,
      "audio_quality_features": []
    },
    "connectivity": {
      "id": 454851,
      "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": 454851,
      "antutu_score": "",
      "geekbench_score": "",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 454851,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

Sony Xperia Z2a JSON

GET/api/values/clean/getspecs/Sony/Xperia%20Z2a
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Sony/Xperia%20Z2a' \
-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 Z2a")
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 Z2a");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Sony", "Xperia Z2a");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 457332,
  "manufacturer": "Sony",
  "model": "Xperia Z2a",
  "network": "GSM / HSPA / LTE",
  "announceDate": "2014, June. Released 2014, July",
  "status": "Discontinued",
  "chipset": "Qualcomm MSM8974AB Snapdragon 801",
  "androidVersion": "Android 4.4.2 (KitKat)",
  "battery_raw": "Li-Ion 3000 mAh, non-removable",
  "cpu_raw": "Quad-core 2.3 GHz Krait 400",
  "displayResolution_raw": "IPS LCD",
  "displaySize_raw": "5.0 inches, 68.9 cm<sup>2</sup> (~69.9% 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, 1/2.3\", AF",
  "mainVideoSpecs": "4K@30fps, 1080p@60fps, 720p@120fps, HDR",
  "selfieCameraFeatures": "",
  "selfieCameraSpecs_raw": "VGA",
  "selfieVideoSpecs": "720p@30fps",
  "sensors": "",
  "charging_raw": "Up to 700 h (2G) / Up to 770 h (3G)",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/sony-xperia-z2a.jpg",
  "colors": [
    "Black",
    "White",
    "Turquoise"
  ],
  "variants": [
    {
      "id": 511489,
      "model_number": "D6563"
    }
  ],
  "normalized_specs": {
    "id": 457337,
    "display": {
      "id": 457337,
      "size_inches": 5,
      "panel_type": "IPS LCD",
      "refresh_rate_hz": 0,
      "peak_brightness_nits": 0,
      "protection_type": "Shatter proof glass"
    },
    "processor": {
      "id": 457337,
      "total_cores": 4,
      "max_clock_speed_ghz": 2.3
    },
    "memory_options": {
      "id": 457337,
      "available_ram_gb": [
        3
      ],
      "available_storage_gb": [
        16
      ],
      "has_card_slot": true,
      "storage_technology": "eMMC 5.0"
    },
    "battery_and_charging": {
      "id": 457337,
      "capacities_mah": [
        3000
      ],
      "max_wired_charging_w": 0,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 457337,
      "main_lenses_count": 1,
      "max_main_resolution_mp": 21,
      "selfie_lenses_count": 0
    },
    "physical": {
      "id": 457337,
      "height_mm": 137,
      "width_mm": 72,
      "thickness_mm": 11,
      "weight_g": 163,
      "build_materials": [],
      "sim_options": [
        "Micro-SIM"
      ],
      "ip_rating": "IP58",
      "is_water_resistant": true
    },
    "sound": {
      "id": 457337,
      "has_stereo_speakers": true,
      "has_jack_35mm": true,
      "audio_quality_features": []
    },
    "connectivity": {
      "id": 457337,
      "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 3 TV-out)",
      "usb_has_otg": true
    },
    "benchmarks": {
      "id": 457337,
      "antutu_score": "",
      "geekbench_score": "",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 457337,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

More comparisons