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 Desire 12s vs Xiaomi Redmi Y1 (Note 5A)

Xiaomi Redmi Y1 (Note 5A) leads on 2 of the 3 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 Desire 12s

HTC Desire 12s

2018 · Qualcomm MSM8940 Snapdragon 435
VS
Xiaomi Redmi Y1 (Note 5A)

Xiaomi Redmi Y1 (Note 5A)

2017 · Qualcomm MSM8940 Snapdragon 435
SpecificationHTC Desire 12sXiaomi Redmi Y1 (Note 5A)
Release
Announced2018, December. Released 2018, December2017, November. Released 2017, November
StatusDiscontinuedDiscontinued
Display
Size5.7 in5.5 in
PanelIPS LCDIPS LCD
ResolutionIPS LCDIPS LCD
Protection—Corning Gorilla Glass 3
Platform
ChipsetQualcomm MSM8940 Snapdragon 435Qualcomm MSM8940 Snapdragon 435
CPUOcta-core 1.4 GHz Cortex-A53Octa-core 1.4 GHz Cortex-A53
Cores88
Max clock1.4 GHz1.4 GHz
GPUAdreno 505Adreno 505
OSAndroid 8.1 (Oreo)Android 7.1.2 (Nougat), MIUI 11
Geekbench—2610 (v4.4) GFXBench: 5.6fps (ES 3.1 onscreen)
Memory
RAM options3 GB / 4 GB3 GB / 4 GB
Storage options32 GB / 64 GB32 GB / 64 GB
Storage techeMMC 5.1eMMC 5.1
microSD slotYesYes
Battery
Capacity3075 mAh3080 mAh
Wireless chargingNoNo
Cameras
Rear lenses11
Main resolution13 MP13 MP
Rear camera13 MP, f/2.0, PDAF13 MP, f/2.2, 1/3.1", 1.12µm, PDAF
Rear video1080p@30fps1080p@30fps
Front camera13 MP, f/2.216 MP, f/2.5, (wide), 1/3.06" 1.0µm
Body
Weight150 g153 g
Thickness8.3 mm7.7 mm
Height154.2 mm153 mm
Width72.7 mm76.2 mm
Materials—Glass front (Gorilla Glass 3), plastic back, aluminum frame
SIMNano-SIMNano-SIM
Sound and connectivity
Stereo speakersNoNo
3.5 mm jackYesYes
NFCYesNo
Bluetooth4.24.2
Wi-FiWi-Fi 802.11 b/g/n, Wi-Fi DirectWi-Fi 802.11 b/g/n, Wi-Fi Direct
USBmicroUSB 2.0microUSB 2.0
InfraredNoYes

HTC Desire 12s JSON

GET/api/values/clean/getspecs/HTC/Desire%2012s
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/HTC/Desire%2012s' \
-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", "Desire 12s")
print(device["normalized_specs"]["display"])
TypeScript
import { DeviceSpecsClient } from "@granturismo/devicespecs";
const client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
const device = await client.getSpecs("HTC", "Desire 12s");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("HTC", "Desire 12s");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 454777,
  "manufacturer": "HTC",
  "model": "Desire 12s",
  "network": "GSM / HSPA / LTE",
  "announceDate": "2018, December. Released 2018, December",
  "status": "Discontinued",
  "chipset": "Qualcomm MSM8940 Snapdragon 435",
  "androidVersion": "Android 8.1 (Oreo)",
  "battery_raw": "Li-Ion 3075 mAh, non-removable",
  "cpu_raw": "Octa-core 1.4 GHz Cortex-A53",
  "displayResolution_raw": "IPS LCD",
  "displaySize_raw": "5.7 inches, 83.8 cm<sup>2</sup> (~74.8% screen-to-body ratio)",
  "displayType_raw": "IPS LCD",
  "gpu": "Adreno 505",
  "internal_raw": "32GB 3GB RAM, 64GB 4GB RAM",
  "mainCameraFeatures": "LED flash, HDR, panorama",
  "mainCameraSpecs_raw": "13 MP, f/2.0, PDAF",
  "mainVideoSpecs": "1080p@30fps",
  "selfieCameraFeatures": "LED flash",
  "selfieCameraSpecs_raw": "13 MP, f/2.2",
  "selfieVideoSpecs": "1080p@30fps",
  "sensors": "",
  "charging_raw": "",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/htc-desire-12s-.jpg",
  "colors": [
    "Black",
    "Silver",
    "Red"
  ],
  "variants": [],
  "normalized_specs": {
    "id": 454782,
    "display": {
      "id": 454782,
      "size_inches": 5.7,
      "panel_type": "IPS LCD",
      "refresh_rate_hz": 0,
      "peak_brightness_nits": 0,
      "protection_type": ""
    },
    "processor": {
      "id": 454782,
      "total_cores": 8,
      "max_clock_speed_ghz": 1.4
    },
    "memory_options": {
      "id": 454782,
      "available_ram_gb": [
        3,
        4
      ],
      "available_storage_gb": [
        32,
        64
      ],
      "has_card_slot": true,
      "storage_technology": "eMMC 5.1"
    },
    "battery_and_charging": {
      "id": 454782,
      "capacities_mah": [
        3075
      ],
      "max_wired_charging_w": 0,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 454782,
      "main_lenses_count": 1,
      "max_main_resolution_mp": 13,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 454782,
      "height_mm": 154.2,
      "width_mm": 72.7,
      "thickness_mm": 8.3,
      "weight_g": 150,
      "build_materials": [],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "",
      "is_water_resistant": false
    },
    "sound": {
      "id": 454782,
      "has_stereo_speakers": false,
      "has_jack_35mm": true,
      "audio_quality_features": []
    },
    "connectivity": {
      "id": 454782,
      "wlan_features": [
        "Wi-Fi 802.11 b/g/n",
        "Wi-Fi Direct"
      ],
      "bluetooth_version": 4.2,
      "bluetooth_features": [
        "A2DP",
        "LE"
      ],
      "positioning_tech": [
        "GPS",
        "GLONASS"
      ],
      "has_nfc": true,
      "has_infrared": false,
      "has_radio": false,
      "usb_type": "microUSB 2.0",
      "usb_has_otg": false
    },
    "benchmarks": {
      "id": 454782,
      "antutu_score": "",
      "geekbench_score": "",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 454782,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

Xiaomi Redmi Y1 (Note 5A) JSON

GET/api/values/clean/getspecs/Xiaomi/Redmi%20Y1%20(Note%205A)
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Xiaomi/Redmi%20Y1%20(Note%205A)' \
-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("Xiaomi", "Redmi Y1 (Note 5A)")
print(device["normalized_specs"]["display"])
TypeScript
import { DeviceSpecsClient } from "@granturismo/devicespecs";
const client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
const device = await client.getSpecs("Xiaomi", "Redmi Y1 (Note 5A)");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Xiaomi", "Redmi Y1 (Note 5A)");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 448224,
  "manufacturer": "Xiaomi",
  "model": "Redmi Y1 (Note 5A)",
  "network": "GSM / HSPA / LTE",
  "announceDate": "2017, November. Released 2017, November",
  "status": "Discontinued",
  "chipset": "Qualcomm MSM8940 Snapdragon 435",
  "androidVersion": "Android 7.1.2 (Nougat), MIUI 11",
  "battery_raw": "Li-Ion 3080 mAh, non-removable",
  "cpu_raw": "Octa-core 1.4 GHz Cortex-A53",
  "displayResolution_raw": "IPS LCD",
  "displaySize_raw": "5.5 inches, 83.4 cm<sup>2</sup> (~71.5% screen-to-body ratio)",
  "displayType_raw": "IPS LCD",
  "gpu": "Adreno 505",
  "internal_raw": "32GB 3GB RAM, 64GB 4GB RAM",
  "mainCameraFeatures": "LED flash, HDR, panorama",
  "mainCameraSpecs_raw": "13 MP, f/2.2, 1/3.1\", 1.12µm, PDAF",
  "mainVideoSpecs": "1080p@30fps",
  "selfieCameraFeatures": "",
  "selfieCameraSpecs_raw": "16 MP, f/2.5, (wide), 1/3.06\" 1.0µm",
  "selfieVideoSpecs": "1080p@30fps",
  "sensors": "",
  "charging_raw": "Up to 240 h (3G)",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/xiaomi-redmi-note-5a.jpg",
  "colors": [
    "Gold",
    "Dark Grey",
    "Silver",
    "Rose Gold"
  ],
  "variants": [
    {
      "id": 500644,
      "model_number": "MDI6S"
    },
    {
      "id": 500645,
      "model_number": "Redmi Y1"
    },
    {
      "id": 500646,
      "model_number": "Redmi Note 5A"
    }
  ],
  "normalized_specs": {
    "id": 448229,
    "display": {
      "id": 448229,
      "size_inches": 5.5,
      "panel_type": "IPS LCD",
      "refresh_rate_hz": 0,
      "peak_brightness_nits": 0,
      "protection_type": "Corning Gorilla Glass 3"
    },
    "processor": {
      "id": 448229,
      "total_cores": 8,
      "max_clock_speed_ghz": 1.4
    },
    "memory_options": {
      "id": 448229,
      "available_ram_gb": [
        3,
        4
      ],
      "available_storage_gb": [
        32,
        64
      ],
      "has_card_slot": true,
      "storage_technology": "eMMC 5.1"
    },
    "battery_and_charging": {
      "id": 448229,
      "capacities_mah": [
        3080
      ],
      "max_wired_charging_w": 0,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 448229,
      "main_lenses_count": 1,
      "max_main_resolution_mp": 13,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 448229,
      "height_mm": 153,
      "width_mm": 76.2,
      "thickness_mm": 7.7,
      "weight_g": 153,
      "build_materials": [
        "Glass front (Gorilla Glass 3)",
        "plastic back",
        "aluminum frame"
      ],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "",
      "is_water_resistant": false
    },
    "sound": {
      "id": 448229,
      "has_stereo_speakers": false,
      "has_jack_35mm": true,
      "audio_quality_features": []
    },
    "connectivity": {
      "id": 448229,
      "wlan_features": [
        "Wi-Fi 802.11 b/g/n",
        "Wi-Fi Direct"
      ],
      "bluetooth_version": 4.2,
      "bluetooth_features": [
        "A2DP",
        "LE"
      ],
      "positioning_tech": [
        "GPS",
        "GLONASS",
        "BDS"
      ],
      "has_nfc": false,
      "has_infrared": true,
      "has_radio": false,
      "usb_type": "microUSB 2.0",
      "usb_has_otg": false
    },
    "benchmarks": {
      "id": 448229,
      "antutu_score": "",
      "geekbench_score": "2610 (v4.4)  GFXBench: 5.6fps (ES 3.1 onscreen)",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 448229,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

More comparisons