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

Huawei Y5 (2017) vs Sony Xperia L2

Sony Xperia L2 leads on 6 of the 8 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.

Huawei Y5 (2017)

Huawei Y5 (2017)

2017 · Mediatek MT6737T
VS
Sony Xperia L2

Sony Xperia L2

2018 · Mediatek MT6737T
SpecificationHuawei Y5 (2017)Sony Xperia L2
Release
Announced2017, April. Released 2017, June2018, January. Released 2018, January
StatusDiscontinuedDiscontinued
Display
Size5 in5.5 in
PanelIPS LCDIPS LCD
ResolutionIPS LCDIPS LCD
Protection—Corning Gorilla Glass 4
Platform
ChipsetMediatek MT6737TMediatek MT6737T
CPUQuad-core 1.4 GHz Cortex-A53Quad-core 1.5 GHz Cortex-A53
Cores44
Max clock1.4 GHz1.5 GHz
GPUMali-T720MP2Mali-T720MP2
OSAndroid 6.0 (Marshmallow), EMUI 4.1Android 7.1.1 (Nougat)
AnTuTu—45023 (v7) GeekBench: 1932 (v4.4)
Geekbench—1932 (v4.4)
Memory
RAM options2 GB3 GB
Storage options16 GB32 GB
Storage techeMMC 5.0eMMC 5.0
microSD slotYesYes
Battery
Capacity3000 mAh3300 mAh
Wireless chargingNoNo
Cameras
Rear lenses11
Main resolution8 MP13 MP
Rear camera8 MP, f/2.0, AF13 MP, f/2.0, 1/3.1", AF
Rear video1080p@30fps1080p@30fps
Front camera5 MP8 MP, f/2.4, 1/4.0"
Body
Weight150 g178 g
Thickness8.4 mm9.8 mm
Height143.8 mm150 mm
Width72 mm78 mm
MaterialsGlass front, plastic back, plastic frameGlass front (Gorilla Glass 4), plastic back, plastic frame
SIMNano-SIM, Micro-SIMNano-SIM
Sound and connectivity
Stereo speakersNoNo
3.5 mm jackYesYes
NFCNoYes
Bluetooth44.2
Wi-FiWi-Fi 802.11 b/g/nWi-Fi 802.11 a/b/g/n, Wi-Fi Direct
USBmicroUSB 2.0USB Type-C 2.0
InfraredNoNo

Huawei Y5 (2017) JSON

GET/api/values/clean/getspecs/Huawei/Y5%20(2017)
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Huawei/Y5%20(2017)' \
-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("Huawei", "Y5 (2017)")
print(device["normalized_specs"]["display"])
TypeScript
import { DeviceSpecsClient } from "@granturismo/devicespecs";
const client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
const device = await client.getSpecs("Huawei", "Y5 (2017)");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Huawei", "Y5 (2017)");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 452732,
  "manufacturer": "Huawei",
  "model": "Y5 (2017)",
  "network": "GSM / HSPA / LTE",
  "announceDate": "2017, April. Released 2017, June",
  "status": "Discontinued",
  "chipset": "Mediatek MT6737T",
  "androidVersion": "Android 6.0 (Marshmallow), EMUI 4.1",
  "battery_raw": "Li-Ion 3000 mAh, non-removable",
  "cpu_raw": "Quad-core 1.4 GHz Cortex-A53",
  "displayResolution_raw": "IPS LCD",
  "displaySize_raw": "5.0 inches, 68.9 cm<sup>2</sup> (~66.6% screen-to-body ratio)",
  "displayType_raw": "IPS LCD",
  "gpu": "Mali-T720MP2",
  "internal_raw": "16GB 2GB RAM",
  "mainCameraFeatures": "Dual-LED flash, panorama",
  "mainCameraSpecs_raw": "8 MP, f/2.0, AF",
  "mainVideoSpecs": "1080p@30fps",
  "selfieCameraFeatures": "LED flash",
  "selfieCameraSpecs_raw": "5 MP",
  "selfieVideoSpecs": "720p",
  "sensors": "",
  "charging_raw": "",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/huawei-y5-2017.jpg",
  "colors": [
    "Gold",
    "Pink",
    "Blue",
    "White",
    "Gray"
  ],
  "variants": [
    {
      "id": 507760,
      "model_number": "MYA-L03"
    },
    {
      "id": 507761,
      "model_number": "MYA-L23"
    },
    {
      "id": 507762,
      "model_number": "MYA-L02"
    },
    {
      "id": 507763,
      "model_number": "MYA-L22"
    },
    {
      "id": 507764,
      "model_number": "MYA-U29"
    },
    {
      "id": 507765,
      "model_number": "MYA-L13"
    }
  ],
  "normalized_specs": {
    "id": 452737,
    "display": {
      "id": 452737,
      "size_inches": 5,
      "panel_type": "IPS LCD",
      "refresh_rate_hz": 0,
      "peak_brightness_nits": 0,
      "protection_type": ""
    },
    "processor": {
      "id": 452737,
      "total_cores": 4,
      "max_clock_speed_ghz": 1.4
    },
    "memory_options": {
      "id": 452737,
      "available_ram_gb": [
        2
      ],
      "available_storage_gb": [
        16
      ],
      "has_card_slot": true,
      "storage_technology": "eMMC 5.0"
    },
    "battery_and_charging": {
      "id": 452737,
      "capacities_mah": [
        3000
      ],
      "max_wired_charging_w": 0,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 452737,
      "main_lenses_count": 1,
      "max_main_resolution_mp": 8,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 452737,
      "height_mm": 143.8,
      "width_mm": 72,
      "thickness_mm": 8.4,
      "weight_g": 150,
      "build_materials": [
        "Glass front",
        "plastic back",
        "plastic frame"
      ],
      "sim_options": [
        "Nano-SIM",
        "Micro-SIM"
      ],
      "ip_rating": "",
      "is_water_resistant": false
    },
    "sound": {
      "id": 452737,
      "has_stereo_speakers": false,
      "has_jack_35mm": true,
      "audio_quality_features": []
    },
    "connectivity": {
      "id": 452737,
      "wlan_features": [
        "Wi-Fi 802.11 b/g/n"
      ],
      "bluetooth_version": 4,
      "bluetooth_features": [
        "A2DP",
        "LE"
      ],
      "positioning_tech": [
        "GPS",
        "GLONASS"
      ],
      "has_nfc": false,
      "has_infrared": false,
      "has_radio": false,
      "usb_type": "microUSB 2.0",
      "usb_has_otg": false
    },
    "benchmarks": {
      "id": 452737,
      "antutu_score": "",
      "geekbench_score": "",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 452737,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

Sony Xperia L2 JSON

GET/api/values/clean/getspecs/Sony/Xperia%20L2
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Sony/Xperia%20L2' \
-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 L2")
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 L2");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Sony", "Xperia L2");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 457282,
  "manufacturer": "Sony",
  "model": "Xperia L2",
  "network": "GSM / HSPA / LTE",
  "announceDate": "2018, January. Released 2018, January",
  "status": "Discontinued",
  "chipset": "Mediatek MT6737T",
  "androidVersion": "Android 7.1.1 (Nougat)",
  "battery_raw": "Li-Ion 3300 mAh, non-removable",
  "cpu_raw": "Quad-core 1.5 GHz Cortex-A53",
  "displayResolution_raw": "IPS LCD",
  "displaySize_raw": "5.5 inches, 83.4 cm<sup>2</sup> (~71.3% screen-to-body ratio)",
  "displayType_raw": "IPS LCD",
  "gpu": "Mali-T720MP2",
  "internal_raw": "32GB 3GB RAM",
  "mainCameraFeatures": "LED flash, HDR",
  "mainCameraSpecs_raw": "13 MP, f/2.0, 1/3.1\", AF",
  "mainVideoSpecs": "1080p@30fps",
  "selfieCameraFeatures": "",
  "selfieCameraSpecs_raw": "8 MP, f/2.4, 1/4.0\"",
  "selfieVideoSpecs": "1080p@30fps",
  "sensors": "",
  "charging_raw": "",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/sony-xperia-l2-.jpg",
  "colors": [
    "Black",
    "Gold",
    "Pink"
  ],
  "variants": [
    {
      "id": 511337,
      "model_number": "H4311"
    },
    {
      "id": 511338,
      "model_number": "H3311"
    },
    {
      "id": 511339,
      "model_number": "H4331"
    },
    {
      "id": 511340,
      "model_number": "H3321"
    }
  ],
  "normalized_specs": {
    "id": 457287,
    "display": {
      "id": 457287,
      "size_inches": 5.5,
      "panel_type": "IPS LCD",
      "refresh_rate_hz": 0,
      "peak_brightness_nits": 0,
      "protection_type": "Corning Gorilla Glass 4"
    },
    "processor": {
      "id": 457287,
      "total_cores": 4,
      "max_clock_speed_ghz": 1.5
    },
    "memory_options": {
      "id": 457287,
      "available_ram_gb": [
        3
      ],
      "available_storage_gb": [
        32
      ],
      "has_card_slot": true,
      "storage_technology": "eMMC 5.0"
    },
    "battery_and_charging": {
      "id": 457287,
      "capacities_mah": [
        3300
      ],
      "max_wired_charging_w": 0,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 457287,
      "main_lenses_count": 1,
      "max_main_resolution_mp": 13,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 457287,
      "height_mm": 150,
      "width_mm": 78,
      "thickness_mm": 9.8,
      "weight_g": 178,
      "build_materials": [
        "Glass front (Gorilla Glass 4)",
        "plastic back",
        "plastic frame"
      ],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "",
      "is_water_resistant": false
    },
    "sound": {
      "id": 457287,
      "has_stereo_speakers": false,
      "has_jack_35mm": true,
      "audio_quality_features": []
    },
    "connectivity": {
      "id": 457287,
      "wlan_features": [
        "Wi-Fi 802.11 a/b/g/n",
        "Wi-Fi Direct"
      ],
      "bluetooth_version": 4.2,
      "bluetooth_features": [
        "A2DP",
        "LE",
        "aptX"
      ],
      "positioning_tech": [
        "GPS",
        "GLONASS"
      ],
      "has_nfc": true,
      "has_infrared": false,
      "has_radio": false,
      "usb_type": "USB Type-C 2.0",
      "usb_has_otg": false
    },
    "benchmarks": {
      "id": 457287,
      "antutu_score": "45023 (v7)  GeekBench: 1932 (v4.4)",
      "geekbench_score": "1932 (v4.4)",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 457287,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

More comparisons