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

HTC One (M8) leads on 4 of the 7 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)

HTC One (M8)

2014 · Qualcomm MSM8974AB Snapdragon 801
VS
Sony Xperia Z2a

Sony Xperia Z2a

2014 · Qualcomm MSM8974AB Snapdragon 801
SpecificationHTC One (M8)Sony Xperia Z2a
Release
Announced2014, March 25. Released 2014, March 272014, June. Released 2014, July
StatusDiscontinuedDiscontinued
Display
Size5 in5 in
PanelSuper LCD3IPS LCD
ResolutionSuper LCD3IPS LCD
ProtectionCorning Gorilla Glass 3Shatter proof glass
Platform
ChipsetQualcomm MSM8974AB Snapdragon 801Qualcomm MSM8974AB Snapdragon 801
CPUQuad-core 2.3 GHz (US/EMEA)/ 2.5 GHz (Asia, China) Krait 400Quad-core 2.3 GHz Krait 400
Cores44
Max clock2.5 GHz2.3 GHz
GPUAdreno 330Adreno 330
OSAndroid 4.4.2 (KitKat), upgradable to 6.0 (Marshmallow), Sense UI 6Android 4.4.2 (KitKat)
Memory
RAM options2 GB3 GB
Storage options16 GB / 32 GB16 GB
Storage techeMMC 5.0eMMC 5.0
microSD slotYesYes
Battery
Capacity2600 mAh3000 mAh
Wired charging18 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, 1/2.3", AF
Rear video1080p@60fps, 720p@120fps, HDR, stereo sound rec.4K@30fps, 1080p@60fps, 720p@120fps, HDR
Front camera5 MP, f/2.0VGA
Body
Weight160 g163 g
Thickness9.4 mm11 mm
Height146.4 mm137 mm
Width70.6 mm72 mm
IP rating—IP58
MaterialsGlass front (Gorilla Glass 3), aluminum 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.0 (MHL TV-out)microUSB 2.0 (MHL 3 TV-out)
InfraredYesNo

HTC One (M8) JSON

GET/api/values/clean/getspecs/HTC/One%20(M8)
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/HTC/One%20(M8)' \
-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)")
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)");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("HTC", "One (M8)");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 454856,
  "manufacturer": "HTC",
  "model": "One (M8)",
  "network": "GSM / HSPA / LTE",
  "announceDate": "2014, March 25. Released 2014, March 27",
  "status": "Discontinued",
  "chipset": "Qualcomm MSM8974AB Snapdragon 801",
  "androidVersion": "Android 4.4.2 (KitKat), upgradable to 6.0 (Marshmallow), Sense UI 6",
  "battery_raw": "Li-Po 2600 mAh, non-removable",
  "cpu_raw": "Quad-core 2.3 GHz (US/EMEA)/ 2.5 GHz (Asia, China) 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": "16GB 2GB RAM, 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@120fps, HDR, stereo sound rec.",
  "selfieCameraFeatures": "HDR",
  "selfieCameraSpecs_raw": "5 MP, f/2.0",
  "selfieVideoSpecs": "1080p@30fps",
  "sensors": "",
  "charging_raw": "18W wired, QC2",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/htc-one-m8.jpg",
  "colors": [
    "Gunmetal Gray",
    "Glacial Silver",
    "Amber Gold"
  ],
  "variants": [
    {
      "id": 509565,
      "model_number": "One_M8"
    },
    {
      "id": 509566,
      "model_number": "M8x"
    },
    {
      "id": 509567,
      "model_number": "831C"
    }
  ],
  "normalized_specs": {
    "id": 454861,
    "display": {
      "id": 454861,
      "size_inches": 5,
      "panel_type": "Super LCD3",
      "refresh_rate_hz": 0,
      "peak_brightness_nits": 0,
      "protection_type": "Corning Gorilla Glass 3"
    },
    "processor": {
      "id": 454861,
      "total_cores": 4,
      "max_clock_speed_ghz": 2.5
    },
    "memory_options": {
      "id": 454861,
      "available_ram_gb": [
        2
      ],
      "available_storage_gb": [
        16,
        32
      ],
      "has_card_slot": true,
      "storage_technology": "eMMC 5.0"
    },
    "battery_and_charging": {
      "id": 454861,
      "capacities_mah": [
        2600
      ],
      "max_wired_charging_w": 18,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 454861,
      "main_lenses_count": 1,
      "max_main_resolution_mp": 4,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 454861,
      "height_mm": 146.4,
      "width_mm": 70.6,
      "thickness_mm": 9.4,
      "weight_g": 160,
      "build_materials": [
        "Glass front (Gorilla Glass 3)",
        "aluminum back",
        "aluminum frame"
      ],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "",
      "is_water_resistant": false
    },
    "sound": {
      "id": 454861,
      "has_stereo_speakers": true,
      "has_jack_35mm": true,
      "audio_quality_features": [
        "24-bit/192kHz audio"
      ]
    },
    "connectivity": {
      "id": 454861,
      "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 (MHL TV-out)",
      "usb_has_otg": true
    },
    "benchmarks": {
      "id": 454861,
      "antutu_score": "",
      "geekbench_score": "",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 454861,
      "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