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

Samsung Galaxy J4 Core vs Xiaomi Redmi 5A

Xiaomi Redmi 5A leads on 4 of the 7 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.

Samsung Galaxy J4 Core

Samsung Galaxy J4 Core

2018 · Qualcomm MSM8917 Snapdragon 425
VS
Xiaomi Redmi 5A

Xiaomi Redmi 5A

2017 · Qualcomm MSM8917 Snapdragon 425
SpecificationSamsung Galaxy J4 CoreXiaomi Redmi 5A
Release
Announced2018, November. Released 2018, November2017, November. Released 2017, December
StatusDiscontinuedDiscontinued
Display
Size6 in5 in
PanelIPS LCDIPS LCD
ResolutionIPS 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.1 Oreo (Go edition)Android 7.1.2 (Nougat), upgradable to Android 8.1, MIUI 12
Memory
RAM options1 GB2 GB / 3 GB
Storage options16 GB16 GB / 32 GB
Storage techeMMC 5.1eMMC 5.1
microSD slotYesYes
Battery
Capacity3300 mAh3000 mAh
Wireless chargingNoNo
Cameras
Rear lenses11
Main resolution8 MP13 MP
Rear camera8 MP, f/2.2, AF13 MP, f/2.2, 22mm (wide), 1/3.1", 1.12µm, PDAF
Rear video1080p@30fps1080p@30fps
Front camera5 MP, f/2.25 MP, f/2.0, 26mm (wide), 1/5.0", 1.12µm
Body
Weight177 g137 g
Thickness7.9 mm8.4 mm
Height160.6 mm140.4 mm
Width76.1 mm70.1 mm
Materials—Glass front, aluminum back, aluminum frame
SIMNano-SIMNano-SIM
Sound and connectivity
Stereo speakersNoNo
3.5 mm jackYesYes
NFCNoNo
Bluetooth4.24.1
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

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": ""
    }
  }
}

Xiaomi Redmi 5A JSON

GET/api/values/clean/getspecs/Xiaomi/Redmi%205A
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Xiaomi/Redmi%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 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 5A");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Xiaomi", "Redmi 5A");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 448223,
  "manufacturer": "Xiaomi",
  "model": "Redmi 5A",
  "network": "GSM / CDMA / HSPA / LTE",
  "announceDate": "2017, November. Released 2017, December",
  "status": "Discontinued",
  "chipset": "Qualcomm MSM8917 Snapdragon 425",
  "androidVersion": "Android 7.1.2 (Nougat), upgradable to Android 8.1, MIUI 12",
  "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.0 cm<sup>2</sup> (~69.1% screen-to-body ratio)",
  "displayType_raw": "IPS LCD",
  "gpu": "Adreno 308",
  "internal_raw": "16GB 2GB RAM, 32GB 3GB RAM",
  "mainCameraFeatures": "LED flash, HDR, panorama",
  "mainCameraSpecs_raw": "13 MP, f/2.2, 22mm (wide), 1/3.1\", 1.12µm, PDAF",
  "mainVideoSpecs": "1080p@30fps",
  "selfieCameraFeatures": "",
  "selfieCameraSpecs_raw": "5 MP, f/2.0, 26mm (wide), 1/5.0\", 1.12µm",
  "selfieVideoSpecs": "1080p@30fps",
  "sensors": "",
  "charging_raw": "",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/xiaomi-redmi-5a.jpg",
  "colors": [
    "Gold",
    "Dark Gray",
    "Rose Gold",
    "Blue"
  ],
  "variants": [
    {
      "id": 500642,
      "model_number": "MCG3B"
    },
    {
      "id": 500643,
      "model_number": "MCI3B"
    }
  ],
  "normalized_specs": {
    "id": 448228,
    "display": {
      "id": 448228,
      "size_inches": 5,
      "panel_type": "IPS LCD",
      "refresh_rate_hz": 0,
      "peak_brightness_nits": 0,
      "protection_type": ""
    },
    "processor": {
      "id": 448228,
      "total_cores": 4,
      "max_clock_speed_ghz": 1.4
    },
    "memory_options": {
      "id": 448228,
      "available_ram_gb": [
        2,
        3
      ],
      "available_storage_gb": [
        16,
        32
      ],
      "has_card_slot": true,
      "storage_technology": "eMMC 5.1"
    },
    "battery_and_charging": {
      "id": 448228,
      "capacities_mah": [
        3000
      ],
      "max_wired_charging_w": 0,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 448228,
      "main_lenses_count": 1,
      "max_main_resolution_mp": 13,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 448228,
      "height_mm": 140.4,
      "width_mm": 70.1,
      "thickness_mm": 8.4,
      "weight_g": 137,
      "build_materials": [
        "Glass front",
        "aluminum back",
        "aluminum frame"
      ],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "",
      "is_water_resistant": false
    },
    "sound": {
      "id": 448228,
      "has_stereo_speakers": false,
      "has_jack_35mm": true,
      "audio_quality_features": []
    },
    "connectivity": {
      "id": 448228,
      "wlan_features": [
        "Wi-Fi 802.11 b/g/n",
        "Wi-Fi Direct"
      ],
      "bluetooth_version": 4.1,
      "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": 448228,
      "antutu_score": "",
      "geekbench_score": "",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 448228,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

More comparisons