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) 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) CDMA

HTC One (M8) CDMA

2014 · Qualcomm MSM8974AB Snapdragon 801
VS
Sony Xperia Z2a

Sony Xperia Z2a

2014 · Qualcomm MSM8974AB Snapdragon 801
SpecificationHTC One (M8) CDMASony Xperia Z2a
Release
Announced2014, March. Released 2014, March2014, 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 Krait 400Quad-core 2.3 GHz Krait 400
Cores44
Max clock2.3 GHz2.3 GHz
GPUAdreno 330Adreno 330
OSAndroid 4.4.2 (KitKat), upgradable to 6 (Marshmallow), Sense UI 6Android 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
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@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.0 (MHL TV-out)microUSB 2.0 (MHL 3 TV-out)
InfraredYesNo

HTC One (M8) CDMA JSON

GET/api/values/clean/getspecs/HTC/One%20(M8)%20CDMA
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/HTC/One%20(M8)%20CDMA' \
-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) 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) CDMA");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("HTC", "One (M8) CDMA");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 454855,
  "manufacturer": "HTC",
  "model": "One (M8) CDMA",
  "network": "GSM / CDMA / HSPA / EVDO / LTE",
  "announceDate": "2014, March. Released 2014, March",
  "status": "Discontinued",
  "chipset": "Qualcomm MSM8974AB Snapdragon 801",
  "androidVersion": "Android 4.4.2 (KitKat), upgradable to 6 (Marshmallow), Sense UI 6",
  "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": "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"
  ],
  "variants": [
    {
      "id": 509564,
      "model_number": "HTC6525LVW"
    }
  ],
  "normalized_specs": {
    "id": 454860,
    "display": {
      "id": 454860,
      "size_inches": 5,
      "panel_type": "Super LCD3",
      "refresh_rate_hz": 0,
      "peak_brightness_nits": 0,
      "protection_type": "Corning Gorilla Glass 3"
    },
    "processor": {
      "id": 454860,
      "total_cores": 4,
      "max_clock_speed_ghz": 2.3
    },
    "memory_options": {
      "id": 454860,
      "available_ram_gb": [
        2
      ],
      "available_storage_gb": [
        32
      ],
      "has_card_slot": true,
      "storage_technology": "eMMC 5.0"
    },
    "battery_and_charging": {
      "id": 454860,
      "capacities_mah": [
        2600
      ],
      "max_wired_charging_w": 18,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 454860,
      "main_lenses_count": 1,
      "max_main_resolution_mp": 4,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 454860,
      "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": 454860,
      "has_stereo_speakers": true,
      "has_jack_35mm": true,
      "audio_quality_features": []
    },
    "connectivity": {
      "id": 454860,
      "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": 454860,
      "antutu_score": "",
      "geekbench_score": "",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 454860,
      "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