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.
| Specification | Huawei Y5 (2017) | Sony Xperia L2 |
|---|---|---|
| Release | ||
| Announced | 2017, April. Released 2017, June | 2018, January. Released 2018, January |
| Status | Discontinued | Discontinued |
| Display | ||
| Size | 5 in | 5.5 in |
| Panel | IPS LCD | IPS LCD |
| Resolution | IPS LCD | IPS LCD |
| Protection | — | Corning Gorilla Glass 4 |
| Platform | ||
| Chipset | Mediatek MT6737T | Mediatek MT6737T |
| CPU | Quad-core 1.4 GHz Cortex-A53 | Quad-core 1.5 GHz Cortex-A53 |
| Cores | 4 | 4 |
| Max clock | 1.4 GHz | 1.5 GHz |
| GPU | Mali-T720MP2 | Mali-T720MP2 |
| OS | Android 6.0 (Marshmallow), EMUI 4.1 | Android 7.1.1 (Nougat) |
| AnTuTu | — | 45023 (v7) GeekBench: 1932 (v4.4) |
| Geekbench | — | 1932 (v4.4) |
| Memory | ||
| RAM options | 2 GB | 3 GB |
| Storage options | 16 GB | 32 GB |
| Storage tech | eMMC 5.0 | eMMC 5.0 |
| microSD slot | Yes | Yes |
| Battery | ||
| Capacity | 3000 mAh | 3300 mAh |
| Wireless charging | No | No |
| Cameras | ||
| Rear lenses | 1 | 1 |
| Main resolution | 8 MP | 13 MP |
| Rear camera | 8 MP, f/2.0, AF | 13 MP, f/2.0, 1/3.1", AF |
| Rear video | 1080p@30fps | 1080p@30fps |
| Front camera | 5 MP | 8 MP, f/2.4, 1/4.0" |
| Body | ||
| Weight | 150 g | 178 g |
| Thickness | 8.4 mm | 9.8 mm |
| Height | 143.8 mm | 150 mm |
| Width | 72 mm | 78 mm |
| Materials | Glass front, plastic back, plastic frame | Glass front (Gorilla Glass 4), plastic back, plastic frame |
| SIM | Nano-SIM, Micro-SIM | Nano-SIM |
| Sound and connectivity | ||
| Stereo speakers | No | No |
| 3.5 mm jack | Yes | Yes |
| NFC | No | Yes |
| Bluetooth | 4 | 4.2 |
| Wi-Fi | Wi-Fi 802.11 b/g/n | Wi-Fi 802.11 a/b/g/n, Wi-Fi Direct |
| USB | microUSB 2.0 | USB Type-C 2.0 |
| Infrared | No | No |
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 DeviceSpecsClientclient = 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);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 DeviceSpecsClientclient = 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);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": ""
}
}
}
