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 Mate 30E Pro 5G vs Samsung Galaxy M31 Prime

Huawei Mate 30E Pro 5G leads on 6 of the 9 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 Mate 30E Pro 5G

Huawei Mate 30E Pro 5G

2020 · Kirin 990E 5G
VS
Samsung Galaxy M31 Prime

Samsung Galaxy M31 Prime

2020 · Exynos 9611
SpecificationHuawei Mate 30E Pro 5GSamsung Galaxy M31 Prime
Release
Announced2020, October 22. Released 2020, November 012020, October 14. Released 2020, October 17
StatusDiscontinuedDiscontinued
Display
Size6.53 in6.4 in
PanelOLEDSuper AMOLED
Peak brightness—420 nits
ResolutionOLED, HDR10Super AMOLED, 420 nits (peak)
Protection—Corning Gorilla Glass 3
Platform
ChipsetKirin 990E 5GExynos 9611
CPUOcta-core (2x2.86 GHz Cortex-A76 & 2x2.36 GHz Cortex-A76 & 4x1.95 GHz Cortex-A55)Octa-core (4x2.3 GHz Cortex-A73 & 4x1.7 GHz Cortex-A53)
Cores88
Max clock2.86 GHz2.3 GHz
GPUMali-G76 MP14Mali-G72 MP3
OSAndroid 10, EMUI 11, no Google Play ServicesAndroid 10, One UI 2.0
Memory
RAM options8 GB6 GB
Storage options128 GB / 256 GB64 GB / 128 GB
Storage techUFS 3.0UFS 2.1
microSD slotNoYes
Battery
Capacity4500 mAh6000 mAh
Wired charging40 W15 W
Wireless chargingYesNo
Cameras
Rear lenses33
Main resolution40 MP64 MP
Rear camera40 MP, f/1.6, 27mm (wide), 1/1.7", PDAF, OIS, 8 MP, f/2.4, 80mm (telephoto), 1/4.0", PDAF, OIS, 3x optical zoom, 40 MP, f/1.8, 18mm (ultrawide), 1/1.54", PDAF, TOF 3D, (depth)64 MP, f/1.8, 26mm (wide), 1/1.72", 0.8µm, PDAF, 8 MP, f/2.2, 123˚ (ultrawide), 1/4.0", 1.12µm, 5 MP (macro), Auxiliary lens
Rear video4K@30/60fps, 1080p@30/60/120fps, 1080p@960fps, 720p@7680fps, gyro-EIS4K@30fps, 1080p@30fps, gyro-EIS
Front camera32 MP, f/2.0, 26mm (wide), 1/2.8", 0.8µm, TOF 3D, (depth/biometrics sensor)32 MP, f/2.0, 26mm (wide), 1/2.8", 0.8µm
Body
Weight198 g191 g
Thickness8.8 mm8.9 mm
Height158.1 mm159.2 mm
Width73.1 mm75.1 mm
IP ratingIP68—
MaterialsGlass front, glass back, aluminum frameGlass front (Gorilla Glass 3), plastic back, plastic frame
SIMNano-SIMNano-SIM
Sound and connectivity
Stereo speakersNoNo
3.5 mm jackNoYes
NFCYesNo
Bluetooth5.15
Wi-FiWi-Fi 802.11 a/b/g/n/ac, dual-band, DLNA, Wi-Fi DirectWi-Fi 802.11 a/b/g/n/ac, dual-band, Wi-Fi Direct
USBUSB Type-C 3.1USB Type-C 2.0
InfraredYesNo

Huawei Mate 30E Pro 5G JSON

GET/api/values/clean/getspecs/Huawei/Mate%2030E%20Pro%205G
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Huawei/Mate%2030E%20Pro%205G' \
-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", "Mate 30E Pro 5G")
print(device["normalized_specs"]["display"])
TypeScript
import { DeviceSpecsClient } from "@granturismo/devicespecs";
const client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
const device = await client.getSpecs("Huawei", "Mate 30E Pro 5G");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Huawei", "Mate 30E Pro 5G");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 452595,
  "manufacturer": "Huawei",
  "model": "Mate 30E Pro 5G",
  "network": "GSM / HSPA / LTE / 5G",
  "announceDate": "2020, October 22. Released 2020, November 01",
  "status": "Discontinued",
  "chipset": "Kirin 990E 5G",
  "androidVersion": "Android 10, EMUI 11, no Google Play Services",
  "battery_raw": "Li-Po 4500 mAh",
  "cpu_raw": "Octa-core (2x2.86 GHz Cortex-A76 & 2x2.36 GHz Cortex-A76 & 4x1.95 GHz Cortex-A55)",
  "displayResolution_raw": "OLED, HDR10",
  "displaySize_raw": "6.53 inches, 108.7 cm<sup>2</sup> (~94.1% screen-to-body ratio)",
  "displayType_raw": "OLED, HDR10",
  "gpu": "Mali-G76 MP14",
  "internal_raw": "128GB 8GB RAM, 256GB 8GB RAM",
  "mainCameraFeatures": "Leica optics, color spectrum sensor, dual-LED dual-tone flash, panorama, HDR",
  "mainCameraSpecs_raw": "40 MP, f/1.6, 27mm (wide), 1/1.7\", PDAF, OIS<br>\n8 MP, f/2.4, 80mm (telephoto), 1/4.0\", PDAF, OIS, 3x optical zoom<br>\n40 MP, f/1.8, 18mm (ultrawide), 1/1.54\", PDAF<br>\nTOF 3D, (depth)",
  "mainVideoSpecs": "4K@30/60fps, 1080p@30/60/120fps, 1080p@960fps, 720p@7680fps, gyro-EIS",
  "selfieCameraFeatures": "HDR, panorama",
  "selfieCameraSpecs_raw": "32 MP, f/2.0, 26mm (wide), 1/2.8\", 0.8µm<br>\nTOF 3D, (depth/biometrics sensor)",
  "selfieVideoSpecs": "1080p@30fps",
  "sensors": "",
  "charging_raw": "40W wired\n27W wireless\nReverse wireless",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/huawei-mate30-pro-5g.jpg",
  "colors": [
    "Black",
    "Space Silver",
    "Cosmic Purple",
    "Emerald Green",
    "Orange",
    "Forest Green"
  ],
  "variants": [
    {
      "id": 507334,
      "model_number": "LIO-AN00m"
    }
  ],
  "normalized_specs": {
    "id": 452600,
    "display": {
      "id": 452600,
      "size_inches": 6.53,
      "panel_type": "OLED",
      "refresh_rate_hz": 0,
      "peak_brightness_nits": 0,
      "protection_type": ""
    },
    "processor": {
      "id": 452600,
      "total_cores": 8,
      "max_clock_speed_ghz": 2.86
    },
    "memory_options": {
      "id": 452600,
      "available_ram_gb": [
        8
      ],
      "available_storage_gb": [
        128,
        256
      ],
      "has_card_slot": false,
      "storage_technology": "UFS 3.0"
    },
    "battery_and_charging": {
      "id": 452600,
      "capacities_mah": [
        4500
      ],
      "max_wired_charging_w": 40,
      "has_wireless_charging": true
    },
    "cameras": {
      "id": 452600,
      "main_lenses_count": 3,
      "max_main_resolution_mp": 40,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 452600,
      "height_mm": 158.1,
      "width_mm": 73.1,
      "thickness_mm": 8.8,
      "weight_g": 198,
      "build_materials": [
        "Glass front",
        "glass back",
        "aluminum frame"
      ],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "IP68",
      "is_water_resistant": true
    },
    "sound": {
      "id": 452600,
      "has_stereo_speakers": false,
      "has_jack_35mm": false,
      "audio_quality_features": [
        "32-bit/384kHz audio"
      ]
    },
    "connectivity": {
      "id": 452600,
      "wlan_features": [
        "Wi-Fi 802.11 a/b/g/n/ac",
        "dual-band",
        "DLNA",
        "Wi-Fi Direct"
      ],
      "bluetooth_version": 5.1,
      "bluetooth_features": [
        "A2DP",
        "LE"
      ],
      "positioning_tech": [
        "GPS",
        "GLONASS",
        "BDS",
        "GALILEO",
        "QZSS"
      ],
      "has_nfc": true,
      "has_infrared": true,
      "has_radio": false,
      "usb_type": "USB Type-C 3.1",
      "usb_has_otg": true
    },
    "benchmarks": {
      "id": 452600,
      "antutu_score": "",
      "geekbench_score": "",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 452600,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

Samsung Galaxy M31 Prime JSON

GET/api/values/clean/getspecs/Samsung/Galaxy%20M31%20Prime
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Samsung/Galaxy%20M31%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 M31 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 M31 Prime");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Samsung", "Galaxy M31 Prime");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 450921,
  "manufacturer": "Samsung",
  "model": "Galaxy M31 Prime",
  "network": "GSM / HSPA / LTE",
  "announceDate": "2020, October 14. Released 2020, October 17",
  "status": "Discontinued",
  "chipset": "Exynos 9611",
  "androidVersion": "Android 10, One UI 2.0",
  "battery_raw": "Li-Po 6000 mAh",
  "cpu_raw": "Octa-core (4x2.3 GHz Cortex-A73 &amp; 4x1.7 GHz Cortex-A53)",
  "displayResolution_raw": "Super AMOLED, 420 nits (peak)",
  "displaySize_raw": "6.4 inches, 100.5 cm<sup>2</sup> (~84.1% screen-to-body ratio)",
  "displayType_raw": "Super AMOLED, 420 nits (peak)",
  "gpu": "Mali-G72 MP3",
  "internal_raw": "64GB 6GB RAM, 128GB 6GB RAM",
  "mainCameraFeatures": "LED flash, panorama, HDR",
  "mainCameraSpecs_raw": "64 MP, f/1.8, 26mm (wide), 1/1.72\", 0.8µm, PDAF<br>\n8 MP, f/2.2, 123˚ (ultrawide), 1/4.0\", 1.12µm<br>\n5 MP (macro)<br>\nAuxiliary lens",
  "mainVideoSpecs": "4K@30fps, 1080p@30fps, gyro-EIS",
  "selfieCameraFeatures": "HDR",
  "selfieCameraSpecs_raw": "32 MP, f/2.0, 26mm (wide), 1/2.8\", 0.8µm",
  "selfieVideoSpecs": "4K@30fps, 1080p@30fps",
  "sensors": "",
  "charging_raw": "15W wired",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/samsung-galaxy-m31-sm-m315f.jpg",
  "colors": [
    "Ocean Blue",
    "Space Black",
    "Iceberg Blue"
  ],
  "variants": [
    {
      "id": 504153,
      "model_number": "SM-M315F/DS"
    }
  ],
  "normalized_specs": {
    "id": 450926,
    "display": {
      "id": 450926,
      "size_inches": 6.4,
      "panel_type": "Super AMOLED",
      "refresh_rate_hz": 0,
      "peak_brightness_nits": 420,
      "protection_type": "Corning Gorilla Glass 3"
    },
    "processor": {
      "id": 450926,
      "total_cores": 8,
      "max_clock_speed_ghz": 2.3
    },
    "memory_options": {
      "id": 450926,
      "available_ram_gb": [
        6
      ],
      "available_storage_gb": [
        64,
        128
      ],
      "has_card_slot": true,
      "storage_technology": "UFS 2.1"
    },
    "battery_and_charging": {
      "id": 450926,
      "capacities_mah": [
        6000
      ],
      "max_wired_charging_w": 15,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 450926,
      "main_lenses_count": 3,
      "max_main_resolution_mp": 64,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 450926,
      "height_mm": 159.2,
      "width_mm": 75.1,
      "thickness_mm": 8.9,
      "weight_g": 191,
      "build_materials": [
        "Glass front (Gorilla Glass 3)",
        "plastic back",
        "plastic frame"
      ],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "",
      "is_water_resistant": false
    },
    "sound": {
      "id": 450926,
      "has_stereo_speakers": false,
      "has_jack_35mm": true,
      "audio_quality_features": []
    },
    "connectivity": {
      "id": 450926,
      "wlan_features": [
        "Wi-Fi 802.11 a/b/g/n/ac",
        "dual-band",
        "Wi-Fi Direct"
      ],
      "bluetooth_version": 5,
      "bluetooth_features": [
        "A2DP",
        "LE"
      ],
      "positioning_tech": [
        "GPS",
        "GLONASS",
        "GALILEO",
        "BDS"
      ],
      "has_nfc": false,
      "has_infrared": false,
      "has_radio": false,
      "usb_type": "USB Type-C 2.0",
      "usb_has_otg": false
    },
    "benchmarks": {
      "id": 450926,
      "antutu_score": "",
      "geekbench_score": "",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 450926,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

More comparisons