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 Y6 Prime (2018) vs Samsung Galaxy J4 Core

Huawei Y6 Prime (2018) leads on 5 of the 6 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 Y6 Prime (2018)

Huawei Y6 Prime (2018)

2018 · Qualcomm MSM8917 Snapdragon 425
VS
Samsung Galaxy J4 Core

Samsung Galaxy J4 Core

2018 · Qualcomm MSM8917 Snapdragon 425
SpecificationHuawei Y6 Prime (2018)Samsung Galaxy J4 Core
Release
Announced2018, April. Released 2018, May2018, November. Released 2018, November
StatusDiscontinuedDiscontinued
Display
Size5.7 in6 in
PanelS-IPS LCDIPS LCD
ResolutionS-IPS LCDIPS LCD
Platform
ChipsetQualcomm MSM8917 Snapdragon 425Qualcomm MSM8917 Snapdragon 425
CPUQuad-core 1.4 GHz Cortex-A53Quad-core 1.4 GHz Cortex-A53
Cores44
Max clock1.4 GHz1.4 GHz
GPUAdreno 308Adreno 308
OSAndroid 8.0 (Oreo), EMUI 8Android 8.1 Oreo (Go edition)
Memory
RAM options2 GB / 3 GB1 GB
Storage options16 GB / 32 GB16 GB
Storage techeMMC 5.1eMMC 5.1
microSD slotYesYes
Battery
Capacity3000 mAh3300 mAh
Wireless chargingNoNo
Cameras
Rear lenses11
Main resolution13 MP8 MP
Rear camera13 MP, PDAF8 MP, f/2.2, AF
Rear video1080p@30fps1080p@30fps
Front camera8 MP5 MP, f/2.2
Body
Weight150 g177 g
Thickness7.8 mm7.9 mm
Height152.4 mm160.6 mm
Width73 mm76.1 mm
SIMNano-SIMNano-SIM
Sound and connectivity
Stereo speakersNoNo
3.5 mm jackYesYes
NFCYesNo
Bluetooth—4.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
InfraredNoNo

Huawei Y6 Prime (2018) JSON

GET/api/values/clean/getspecs/Huawei/Y6%20Prime%20(2018)
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Huawei/Y6%20Prime%20(2018)' \
-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", "Y6 Prime (2018)")
print(device["normalized_specs"]["display"])
TypeScript
import { DeviceSpecsClient } from "@granturismo/devicespecs";
const client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
const device = await client.getSpecs("Huawei", "Y6 Prime (2018)");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Huawei", "Y6 Prime (2018)");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 452700,
  "manufacturer": "Huawei",
  "model": "Y6 Prime (2018)",
  "network": "GSM / HSPA / LTE",
  "announceDate": "2018, April. Released 2018, May",
  "status": "Discontinued",
  "chipset": "Qualcomm MSM8917 Snapdragon 425",
  "androidVersion": "Android 8.0 (Oreo), EMUI 8",
  "battery_raw": "Li-Ion 3000 mAh, non-removable",
  "cpu_raw": "Quad-core 1.4 GHz Cortex-A53",
  "displayResolution_raw": "S-IPS LCD",
  "displaySize_raw": "5.7 inches, 83.8 cm<sup>2</sup> (~75.4% screen-to-body ratio)",
  "displayType_raw": "S-IPS LCD",
  "gpu": "Adreno 308",
  "internal_raw": "16GB 2GB RAM, 32GB 3GB RAM",
  "mainCameraFeatures": "LED flash, HDR, panorama",
  "mainCameraSpecs_raw": "13 MP, PDAF",
  "mainVideoSpecs": "1080p@30fps",
  "selfieCameraFeatures": "LED flash",
  "selfieCameraSpecs_raw": "8 MP",
  "selfieVideoSpecs": "1080p@30fps",
  "sensors": "",
  "charging_raw": "",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/huawei-y6-prime-2018.jpg",
  "colors": [
    "Black",
    "Gold",
    "Blue"
  ],
  "variants": [
    {
      "id": 507627,
      "model_number": "ATU-L31"
    },
    {
      "id": 507628,
      "model_number": "ATU-L42"
    }
  ],
  "normalized_specs": {
    "id": 452705,
    "display": {
      "id": 452705,
      "size_inches": 5.7,
      "panel_type": "S-IPS LCD",
      "refresh_rate_hz": 0,
      "peak_brightness_nits": 0,
      "protection_type": ""
    },
    "processor": {
      "id": 452705,
      "total_cores": 4,
      "max_clock_speed_ghz": 1.4
    },
    "memory_options": {
      "id": 452705,
      "available_ram_gb": [
        2,
        3
      ],
      "available_storage_gb": [
        16,
        32
      ],
      "has_card_slot": true,
      "storage_technology": "eMMC 5.1"
    },
    "battery_and_charging": {
      "id": 452705,
      "capacities_mah": [
        3000
      ],
      "max_wired_charging_w": 0,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 452705,
      "main_lenses_count": 1,
      "max_main_resolution_mp": 13,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 452705,
      "height_mm": 152.4,
      "width_mm": 73,
      "thickness_mm": 7.8,
      "weight_g": 150,
      "build_materials": [],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "",
      "is_water_resistant": false
    },
    "sound": {
      "id": 452705,
      "has_stereo_speakers": false,
      "has_jack_35mm": true,
      "audio_quality_features": []
    },
    "connectivity": {
      "id": 452705,
      "wlan_features": [
        "Wi-Fi 802.11 b/g/n",
        "Wi-Fi Direct"
      ],
      "bluetooth_version": 0,
      "bluetooth_features": [
        "v4.2",
        "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": 452705,
      "antutu_score": "",
      "geekbench_score": "",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 452705,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

Samsung Galaxy J4 Core JSON

GET/api/values/clean/getspecs/Samsung/Galaxy%20J4%20Core
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Samsung/Galaxy%20J4%20Core' \
-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 J4 Core")
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 J4 Core");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Samsung", "Galaxy J4 Core");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 451030,
  "manufacturer": "Samsung",
  "model": "Galaxy J4 Core",
  "network": "GSM / HSPA / LTE",
  "announceDate": "2018, November. Released 2018, November",
  "status": "Discontinued",
  "chipset": "Qualcomm MSM8917 Snapdragon 425",
  "androidVersion": "Android 8.1 Oreo (Go edition)",
  "battery_raw": "Li-Ion 3300 mAh, non-removable",
  "cpu_raw": "Quad-core 1.4 GHz Cortex-A53",
  "displayResolution_raw": "IPS LCD",
  "displaySize_raw": "6.0 inches, 91.4 cm<sup>2</sup> (~74.8% screen-to-body ratio)",
  "displayType_raw": "IPS LCD",
  "gpu": "Adreno 308",
  "internal_raw": "16GB 1GB RAM",
  "mainCameraFeatures": "LED flash, panorama, HDR",
  "mainCameraSpecs_raw": "8 MP, f/2.2, AF",
  "mainVideoSpecs": "1080p@30fps",
  "selfieCameraFeatures": "LED flash",
  "selfieCameraSpecs_raw": "5 MP, f/2.2",
  "selfieVideoSpecs": "",
  "sensors": "",
  "charging_raw": "",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/samsung-galaxy-j4-core-sm-g410g.jpg",
  "colors": [
    "Black",
    "Gold",
    "Blue"
  ],
  "variants": [
    {
      "id": 504662,
      "model_number": "SM-J410D"
    },
    {
      "id": 504663,
      "model_number": "SM-J410F"
    },
    {
      "id": 504664,
      "model_number": "SM-J410G"
    }
  ],
  "normalized_specs": {
    "id": 451035,
    "display": {
      "id": 451035,
      "size_inches": 6,
      "panel_type": "IPS LCD",
      "refresh_rate_hz": 0,
      "peak_brightness_nits": 0,
      "protection_type": ""
    },
    "processor": {
      "id": 451035,
      "total_cores": 4,
      "max_clock_speed_ghz": 1.4
    },
    "memory_options": {
      "id": 451035,
      "available_ram_gb": [
        1
      ],
      "available_storage_gb": [
        16
      ],
      "has_card_slot": true,
      "storage_technology": "eMMC 5.1"
    },
    "battery_and_charging": {
      "id": 451035,
      "capacities_mah": [
        3300
      ],
      "max_wired_charging_w": 0,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 451035,
      "main_lenses_count": 1,
      "max_main_resolution_mp": 8,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 451035,
      "height_mm": 160.6,
      "width_mm": 76.1,
      "thickness_mm": 7.9,
      "weight_g": 177,
      "build_materials": [],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "",
      "is_water_resistant": false
    },
    "sound": {
      "id": 451035,
      "has_stereo_speakers": false,
      "has_jack_35mm": true,
      "audio_quality_features": []
    },
    "connectivity": {
      "id": 451035,
      "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": false,
      "has_radio": false,
      "usb_type": "microUSB 2.0",
      "usb_has_otg": true
    },
    "benchmarks": {
      "id": 451035,
      "antutu_score": "",
      "geekbench_score": "",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 451035,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

More comparisons