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 Samsung Galaxy J2 Prime

Huawei Y5 (2017) leads on 3 of the 4 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
Samsung Galaxy J2 Prime

Samsung Galaxy J2 Prime

2016 · Mediatek MT6737T
SpecificationHuawei Y5 (2017)Samsung Galaxy J2 Prime
Release
Announced2017, April. Released 2017, June2016, November. Released 2016, November
StatusDiscontinuedDiscontinued
Display
Size5 in5 in
PanelIPS LCDPLS LCD
ResolutionIPS LCDPLS LCD
Platform
ChipsetMediatek MT6737TMediatek MT6737T
CPUQuad-core 1.4 GHz Cortex-A53Quad-core 1.4 GHz Cortex-A53
Cores44
Max clock1.4 GHz1.4 GHz
GPUMali-T720MP2Mali-T720MP2
OSAndroid 6.0 (Marshmallow), EMUI 4.1Android 6.0 (Marshmallow)
Memory
RAM options2 GB2 GB
Storage options16 GB8 GB / 16 GB
Storage techeMMC 5.0eMMC 5.0
microSD slotYesYes
Battery
Capacity3000 mAh2600 mAh
Wireless chargingNoNo
Cameras
Rear lenses11
Main resolution8 MP8 MP
Rear camera8 MP, f/2.0, AF8 MP, f/2.2, AF
Rear video1080p@30fps720p@30fps
Front camera5 MP5 MP, f/2.2
Body
Weight150 g160 g
Thickness8.4 mm8.9 mm
Height143.8 mm144.8 mm
Width72 mm72.1 mm
MaterialsGlass front, plastic back, plastic frameGlass front, plastic back, plastic frame
SIMNano-SIM, Micro-SIMMicro-SIM
Sound and connectivity
Stereo speakersNoNo
3.5 mm jackYesYes
NFCNoNo
Bluetooth44.2
Wi-FiWi-Fi 802.11 b/g/nWi-Fi 802.11 b/g/n, Wi-Fi Direct
USBmicroUSB 2.0microUSB 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": ""
    }
  }
}

Samsung Galaxy J2 Prime JSON

GET/api/values/clean/getspecs/Samsung/Galaxy%20J2%20Prime
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Samsung/Galaxy%20J2%20Prime' \
-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("Samsung", "Galaxy J2 Prime")
print(device["normalized_specs"]["display"])
TypeScript
import { DeviceSpecsClient } from "@granturismo/devicespecs";
const client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
const device = await client.getSpecs("Samsung", "Galaxy J2 Prime");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Samsung", "Galaxy J2 Prime");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 451079,
  "manufacturer": "Samsung",
  "model": "Galaxy J2 Prime",
  "network": "GSM / HSPA / LTE",
  "announceDate": "2016, November. Released 2016, November",
  "status": "Discontinued",
  "chipset": "Mediatek MT6737T",
  "androidVersion": "Android 6.0 (Marshmallow)",
  "battery_raw": "Li-Ion 2600 mAh, removable",
  "cpu_raw": "Quad-core 1.4 GHz Cortex-A53",
  "displayResolution_raw": "PLS LCD",
  "displaySize_raw": "5.0 inches, 68.9 cm<sup>2</sup> (~66.0% screen-to-body ratio)",
  "displayType_raw": "PLS LCD",
  "gpu": "Mali-T720MP2",
  "internal_raw": "8GB 1.5GB RAM, 16GB 1.5GB RAM",
  "mainCameraFeatures": "LED flash",
  "mainCameraSpecs_raw": "8 MP, f/2.2, AF",
  "mainVideoSpecs": "720p@30fps",
  "selfieCameraFeatures": "LED flash",
  "selfieCameraSpecs_raw": "5 MP, f/2.2",
  "selfieVideoSpecs": "",
  "sensors": "",
  "charging_raw": "Up to 12 h (3G)",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/samsung-galaxy-j2-prime-2016.jpg",
  "colors": [
    "Black",
    "Gold",
    "Silver",
    "Pink"
  ],
  "variants": [
    {
      "id": 504921,
      "model_number": "SM-G532G"
    },
    {
      "id": 504922,
      "model_number": "SM-G532M"
    },
    {
      "id": 504923,
      "model_number": "SM-G532G"
    },
    {
      "id": 504924,
      "model_number": "SM-G532F"
    },
    {
      "id": 504925,
      "model_number": "SM-G532MT"
    }
  ],
  "normalized_specs": {
    "id": 451084,
    "display": {
      "id": 451084,
      "size_inches": 5,
      "panel_type": "PLS LCD",
      "refresh_rate_hz": 0,
      "peak_brightness_nits": 0,
      "protection_type": ""
    },
    "processor": {
      "id": 451084,
      "total_cores": 4,
      "max_clock_speed_ghz": 1.4
    },
    "memory_options": {
      "id": 451084,
      "available_ram_gb": [
        2
      ],
      "available_storage_gb": [
        8,
        16
      ],
      "has_card_slot": true,
      "storage_technology": "eMMC 5.0"
    },
    "battery_and_charging": {
      "id": 451084,
      "capacities_mah": [
        2600
      ],
      "max_wired_charging_w": 0,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 451084,
      "main_lenses_count": 1,
      "max_main_resolution_mp": 8,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 451084,
      "height_mm": 144.8,
      "width_mm": 72.1,
      "thickness_mm": 8.9,
      "weight_g": 160,
      "build_materials": [
        "Glass front",
        "plastic back",
        "plastic frame"
      ],
      "sim_options": [
        "Micro-SIM"
      ],
      "ip_rating": "",
      "is_water_resistant": false
    },
    "sound": {
      "id": 451084,
      "has_stereo_speakers": false,
      "has_jack_35mm": true,
      "audio_quality_features": []
    },
    "connectivity": {
      "id": 451084,
      "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": false,
      "has_infrared": false,
      "has_radio": false,
      "usb_type": "microUSB 2.0",
      "usb_has_otg": true
    },
    "benchmarks": {
      "id": 451084,
      "antutu_score": "",
      "geekbench_score": "",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 451084,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

More comparisons