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 40 Pro vs Huawei Mate X2

Huawei Mate X2 leads on 4 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 Mate 40 Pro

Huawei Mate 40 Pro

2020 · Kirin 9000 5G
VS
Huawei Mate X2

Huawei Mate X2

2021 · Kirin 9000 5G
SpecificationHuawei Mate 40 ProHuawei Mate X2
Release
Announced2020, October 222021, February 22
StatusAvailable. Released 2020, November 01Available. Released 2021, February 25
Display
Size6.76 in8 in
PanelOLEDFoldable OLED
Refresh rate90 Hz90 Hz
ResolutionOLED, HDR10, 90HzFoldable OLED, 90Hz
Platform
ChipsetKirin 9000 5GKirin 9000 5G
CPUOcta-core (1x3.13 GHz Cortex-A77 & 3x2.54 GHz Cortex-A77 & 4x2.05 GHz Cortex-A55)Octa-core (1x3.13 GHz Cortex-A77 & 3x2.54 GHz Cortex-A77 & 4x2.05 GHz Cortex-A55)
Cores88
Max clock3.13 GHz3.13 GHz
GPUMali-G78 MP24Mali-G78 MP24
OSAndroid 10, EMUI 11, no Google Play ServicesAndroid 10, EMUI 11, no Google Play Services
AnTuTu686835 (v8) GeekBench: 3704 (v5.1) GFXBench: 43fps (ES 3.1 onscreen)632818 (v8) GeekBench: 14393 (v4.4)
Geekbench3704 (v5.1) GFXBench: 43fps (ES 3.1 onscreen)14393 (v4.4)
Memory
RAM options8 GB8 GB / 12 GB
Storage options128 GB / 256 GB / 512 GB256 GB / 512 GB
Storage techUFS 3.1UFS 3.X
microSD slotNoNo
Battery
Capacity4400 mAh4500 mAh
Wired charging66 W55 W
Wireless chargingYesNo
Cameras
Rear lenses34
Main resolution50 MP50 MP
Rear camera50 MP, f/1.9, 23mm (wide), 1/1.28", 1.22µm, multi-directional PDAF, 12 MP, f/3.4, 125mm (periscope telephoto), PDAF, OIS, 5x optical zoom, 20 MP, f/1.8, 18mm (ultrawide), PDAF50 MP, f/1.9, 23mm (wide), 1/1.28", 1.22µm, multi-directional PDAF, OIS, 12 MP, f/2.4, 70mm (telephoto), PDAF, OIS, 3x optical zoom, 8 MP, f/4.4, 240mm (periscope telephoto), PDAF, OIS, 10x optical zoom, 16 MP, f/2.2, 17mm (ultrawide), AF
Rear video4K@30/60fps, 1080p@30/60/120/240/480fps, 720p@960fps, 720p@3840fps, HDR, gyro-EIS4K@30/60fps, 1080p@30/60fps, gyro-EIS
Front camera13 MP, f/2.4, 18mm (ultrawide), TOF 3D, (depth/biometrics sensor)16 MP, f/2.2, (wide)
Body
Weight212 g295 g
Thickness9.1 mm8.2 mm
Height162.9 mm161.8 mm
Width75.5 mm145.8 mm
IP ratingIP68—
MaterialsGlass front, glass back or eco leather back, aluminum frameGlass front, glass back, aluminum frame
SIMNano-SIM, eSIMNano-SIM
Sound and connectivity
Stereo speakersYesYes
3.5 mm jackNoNo
NFCYesYes
Bluetooth5.25.2
Wi-FiWi-Fi 802.11 a/b/g/n/ac/6, dual-band, Wi-Fi DirectWi-Fi 802.11 a/b/g/n/ac/6, dual-band, Wi-Fi Direct
USBUSB Type-C 3.1USB Type-C 3.1
InfraredYesYes

Huawei Mate 40 Pro JSON

GET/api/values/clean/getspecs/Huawei/Mate%2040%20Pro
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Huawei/Mate%2040%20Pro' \
-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 40 Pro")
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 40 Pro");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Huawei", "Mate 40 Pro");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 452592,
  "manufacturer": "Huawei",
  "model": "Mate 40 Pro",
  "network": "GSM / CDMA / HSPA / EVDO / LTE / 5G",
  "announceDate": "2020, October 22",
  "status": "Available. Released 2020, November 01",
  "chipset": "Kirin 9000 5G",
  "androidVersion": "Android 10, EMUI 11, no Google Play Services",
  "battery_raw": "Li-Po 4400 mAh",
  "cpu_raw": "Octa-core (1x3.13 GHz Cortex-A77 & 3x2.54 GHz Cortex-A77 & 4x2.05 GHz Cortex-A55)",
  "displayResolution_raw": "OLED, HDR10, 90Hz",
  "displaySize_raw": "6.76 inches, 115.7 cm<sup>2</sup> (~94.1% screen-to-body ratio)",
  "displayType_raw": "OLED, HDR10, 90Hz",
  "gpu": "Mali-G78 MP24",
  "internal_raw": "128GB 8GB RAM, 256GB 8GB RAM, 512GB 8GB RAM",
  "mainCameraFeatures": "Laser AF, color spectrum sensor, Leica optics, LED flash, panorama, HDR",
  "mainCameraSpecs_raw": "50 MP, f/1.9, 23mm (wide), 1/1.28\", 1.22µm, multi-directional PDAF<br>\n12 MP, f/3.4, 125mm (periscope telephoto), PDAF, OIS, 5x optical zoom<br>\n20 MP, f/1.8, 18mm (ultrawide), PDAF",
  "mainVideoSpecs": "4K@30/60fps, 1080p@30/60/120/240/480fps, 720p@960fps, 720p@3840fps, HDR, gyro-EIS",
  "selfieCameraFeatures": "HDR, panorama",
  "selfieCameraSpecs_raw": "13 MP, f/2.4, 18mm (ultrawide)<br>\nTOF 3D, (depth/biometrics sensor)",
  "selfieVideoSpecs": "4K@30/60fps, 1080p@30/60/240fps",
  "sensors": "",
  "charging_raw": "66W wired\n50W wireless\n5W reverse wireless",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/huawei-mate40-pro.jpg",
  "colors": [
    "Mystic Silver",
    "White",
    "Black",
    "Green",
    "Yellow"
  ],
  "variants": [
    {
      "id": 507329,
      "model_number": "NOH-NX9"
    },
    {
      "id": 507330,
      "model_number": "NOH-AN00"
    },
    {
      "id": 507331,
      "model_number": "NOH-AN01"
    }
  ],
  "normalized_specs": {
    "id": 452597,
    "display": {
      "id": 452597,
      "size_inches": 6.76,
      "panel_type": "OLED",
      "refresh_rate_hz": 90,
      "peak_brightness_nits": 0,
      "protection_type": ""
    },
    "processor": {
      "id": 452597,
      "total_cores": 8,
      "max_clock_speed_ghz": 3.13
    },
    "memory_options": {
      "id": 452597,
      "available_ram_gb": [
        8
      ],
      "available_storage_gb": [
        128,
        256,
        512
      ],
      "has_card_slot": false,
      "storage_technology": "UFS 3.1"
    },
    "battery_and_charging": {
      "id": 452597,
      "capacities_mah": [
        4400
      ],
      "max_wired_charging_w": 66,
      "has_wireless_charging": true
    },
    "cameras": {
      "id": 452597,
      "main_lenses_count": 3,
      "max_main_resolution_mp": 50,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 452597,
      "height_mm": 162.9,
      "width_mm": 75.5,
      "thickness_mm": 9.1,
      "weight_g": 212,
      "build_materials": [
        "Glass front",
        "glass back or eco leather back",
        "aluminum frame"
      ],
      "sim_options": [
        "Nano-SIM",
        "eSIM"
      ],
      "ip_rating": "IP68",
      "is_water_resistant": true
    },
    "sound": {
      "id": 452597,
      "has_stereo_speakers": true,
      "has_jack_35mm": false,
      "audio_quality_features": [
        "32-bit/384kHz audio"
      ]
    },
    "connectivity": {
      "id": 452597,
      "wlan_features": [
        "Wi-Fi 802.11 a/b/g/n/ac/6",
        "dual-band",
        "Wi-Fi Direct"
      ],
      "bluetooth_version": 5.2,
      "bluetooth_features": [
        "A2DP",
        "LE"
      ],
      "positioning_tech": [
        "GPS",
        "GLONASS",
        "BDS",
        "GALILEO",
        "QZSS",
        "NavIC"
      ],
      "has_nfc": true,
      "has_infrared": true,
      "has_radio": false,
      "usb_type": "USB Type-C 3.1",
      "usb_has_otg": true
    },
    "benchmarks": {
      "id": 452597,
      "antutu_score": "686835 (v8)  GeekBench: 3704 (v5.1)  GFXBench: 43fps (ES 3.1 onscreen)",
      "geekbench_score": "3704 (v5.1)  GFXBench: 43fps (ES 3.1 onscreen)",
      "measured_display_brightness_nits": 807,
      "measured_loudspeaker_lufs": -24.9,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 452597,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

Huawei Mate X2 JSON

GET/api/values/clean/getspecs/Huawei/Mate%20X2
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Huawei/Mate%20X2' \
-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 X2")
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 X2");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Huawei", "Mate X2");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 452585,
  "manufacturer": "Huawei",
  "model": "Mate X2",
  "network": "GSM / CDMA / HSPA / EVDO / LTE / 5G",
  "announceDate": "2021, February 22",
  "status": "Available. Released 2021, February 25",
  "chipset": "Kirin 9000 5G",
  "androidVersion": "Android 10, EMUI 11, no Google Play Services",
  "battery_raw": "Li-Po 4500 mAh",
  "cpu_raw": "Octa-core (1x3.13 GHz Cortex-A77 &amp; 3x2.54 GHz Cortex-A77 &amp; 4x2.05 GHz Cortex-A55)",
  "displayResolution_raw": "Foldable OLED, 90Hz",
  "displaySize_raw": "8.0 inches, 206.0 cm<sup>2</sup> (~87.3% screen-to-body ratio)",
  "displayType_raw": "Foldable OLED, 90Hz",
  "gpu": "Mali-G78 MP24",
  "internal_raw": "256GB 8GB RAM, 512GB 8GB RAM, 512GB 12GB RAM",
  "mainCameraFeatures": "Laser AF, color spectrum sensor, Leica optics, LED flash, panorama, HDR",
  "mainCameraSpecs_raw": "50 MP, f/1.9, 23mm (wide), 1/1.28\", 1.22µm, multi-directional PDAF, OIS<br>\n12 MP, f/2.4, 70mm (telephoto), PDAF, OIS, 3x optical zoom<br>\n8 MP, f/4.4, 240mm (periscope telephoto), PDAF, OIS, 10x optical zoom<br>\n16 MP, f/2.2, 17mm (ultrawide), AF",
  "mainVideoSpecs": "4K@30/60fps, 1080p@30/60fps, gyro-EIS",
  "selfieCameraFeatures": "HDR, panorama",
  "selfieCameraSpecs_raw": "16 MP, f/2.2, (wide)",
  "selfieVideoSpecs": "1080p@30fps",
  "sensors": "",
  "charging_raw": "55W wired",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/huawei-mate-x2-new.jpg",
  "colors": [
    "Black",
    "White",
    "Light Blue",
    "Rose Gold",
    "Collector’s Edition Black/White/Red"
  ],
  "variants": [
    {
      "id": 507321,
      "model_number": "TET-AN00"
    }
  ],
  "normalized_specs": {
    "id": 452590,
    "display": {
      "id": 452590,
      "size_inches": 8,
      "panel_type": "Foldable OLED",
      "refresh_rate_hz": 90,
      "peak_brightness_nits": 0,
      "protection_type": ""
    },
    "processor": {
      "id": 452590,
      "total_cores": 8,
      "max_clock_speed_ghz": 3.13
    },
    "memory_options": {
      "id": 452590,
      "available_ram_gb": [
        8,
        12
      ],
      "available_storage_gb": [
        256,
        512
      ],
      "has_card_slot": false,
      "storage_technology": "UFS 3.X"
    },
    "battery_and_charging": {
      "id": 452590,
      "capacities_mah": [
        4500
      ],
      "max_wired_charging_w": 55,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 452590,
      "main_lenses_count": 4,
      "max_main_resolution_mp": 50,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 452590,
      "height_mm": 161.8,
      "width_mm": 145.8,
      "thickness_mm": 8.2,
      "weight_g": 295,
      "build_materials": [
        "Glass front",
        "glass back",
        "aluminum frame"
      ],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "",
      "is_water_resistant": false
    },
    "sound": {
      "id": 452590,
      "has_stereo_speakers": true,
      "has_jack_35mm": false,
      "audio_quality_features": []
    },
    "connectivity": {
      "id": 452590,
      "wlan_features": [
        "Wi-Fi 802.11 a/b/g/n/ac/6",
        "dual-band",
        "Wi-Fi Direct"
      ],
      "bluetooth_version": 5.2,
      "bluetooth_features": [
        "A2DP",
        "LE"
      ],
      "positioning_tech": [
        "GPS",
        "GLONASS",
        "BDS",
        "GALILEO",
        "QZSS",
        "NavIC"
      ],
      "has_nfc": true,
      "has_infrared": true,
      "has_radio": false,
      "usb_type": "USB Type-C 3.1",
      "usb_has_otg": true
    },
    "benchmarks": {
      "id": 452590,
      "antutu_score": "632818 (v8)  GeekBench: 14393 (v4.4)",
      "geekbench_score": "14393 (v4.4)",
      "measured_display_brightness_nits": 542,
      "measured_loudspeaker_lufs": -26.8,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 452590,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

More comparisons