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 Xs 2 vs Huawei P50

Huawei Mate Xs 2 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 Mate Xs 2

Huawei Mate Xs 2

2022 · Qualcomm SM8350 Snapdragon 888 4G
VS
Huawei P50

Huawei P50

2021 · Qualcomm SM8350 Snapdragon 888 4G
SpecificationHuawei Mate Xs 2Huawei P50
Release
Announced2022, April 282021, July 29
StatusAvailable. Released 2022, May 07Available. Released 2021, October 04
Display
Size7.8 in6.5 in
PanelFoldable OLEDOLED
Refresh rate120 Hz90 Hz
ResolutionFoldable OLED, 1B colors, 120HzOLED, 1B colors, 90Hz
Platform
ChipsetQualcomm SM8350 Snapdragon 888 4GQualcomm SM8350 Snapdragon 888 4G
CPUOcta-core (1x2.84 GHz Cortex-X1 & 3x2.42 GHz Cortex-A78 & 4x1.80 GHz Cortex-A55)Octa-core (1x2.84 GHz Cortex-X1 & 3x2.42 GHz Cortex-A78 & 4x1.80 GHz Cortex-A55)
Cores88
Max clock2.84 GHz2.84 GHz
GPUAdreno 660Adreno 660
OSEMUI 12, no Google Play Services (International); HarmonyOS 2.0 (China)HarmonyOS 2.0
AnTuTu641608 (v9) GeekBench: 3131 (v5.1) GFXBench: 28fps (ES 3.1 onscreen)—
Geekbench3131 (v5.1) GFXBench: 28fps (ES 3.1 onscreen)—
Memory
RAM options8 GB / 12 GB8 GB
Storage options256 GB / 512 GB128 GB / 256 GB
Storage techUFS—
microSD slotNoNo
Battery
Capacity4600 mAh / 4880 mAh4100 mAh
Wired charging66 W66 W
Wireless chargingNoNo
Cameras
Rear lenses33
Main resolution50 MP50 MP
Rear camera50 MP, f/1.8, (wide), PDAF, 8 MP, f/2.4, 81mm (telephoto), PDAF, OIS, 3x optical zoom, 13 MP, f/2.2, 120˚ (ultrawide)50 MP, f/1.8, 23mm (wide), PDAF, OIS, 12 MP, f/3.4, 125mm (periscope telephoto), PDAF, OIS, 5x optical zoom, 13 MP, f/2.2, 16mm (ultrawide)
Rear video4K@30/60fps, 1080p@30/240fps4K@30/60fps, 1080p@30/60fps, 1080p@960fps; gyro-EIS
Front camera10.7 MP, f/2.213 MP, f/2.4, (wide)
Body
Weight255 g181 g
Thickness5.4 mm7.9 mm
Height156.5 mm156.5 mm
Width139.3 mm73.8 mm
IP rating—IP68
SIMNano-SIMNano-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
InfraredYesNo

Huawei Mate Xs 2 JSON

GET/api/values/clean/getspecs/Huawei/Mate%20Xs%202
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Huawei/Mate%20Xs%202' \
-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 Xs 2")
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 Xs 2");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Huawei", "Mate Xs 2");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 452549,
  "manufacturer": "Huawei",
  "model": "Mate Xs 2",
  "network": "GSM / CDMA / HSPA / EVDO / LTE",
  "announceDate": "2022, April 28",
  "status": "Available. Released 2022, May 07",
  "chipset": "Qualcomm SM8350 Snapdragon 888 4G",
  "androidVersion": "EMUI 12, no Google Play Services (International); HarmonyOS 2.0 (China)",
  "battery_raw": "Market-dependent versions:<br>· Li-Po 4600 mAh (w/ 8GB RAM)<br>· Li-Po 4880 mAh (w/ 12GB RAM)",
  "cpu_raw": "Octa-core (1x2.84 GHz Cortex-X1 &amp; 3x2.42 GHz Cortex-A78 &amp; 4x1.80 GHz Cortex-A55)",
  "displayResolution_raw": "Foldable OLED, 1B colors, 120Hz",
  "displaySize_raw": "7.8 inches, 195.8 cm<sup>2</sup> (~89.8% screen-to-body ratio)",
  "displayType_raw": "Foldable OLED, 1B colors, 120Hz",
  "gpu": "Adreno 660",
  "internal_raw": "256GB 8GB RAM, 512GB 8GB RAM, 512GB 12GB RAM",
  "mainCameraFeatures": "Laser AF, color spectrum sensor, Dual-LED dual-tone flash, panorama, HDR",
  "mainCameraSpecs_raw": "50 MP, f/1.8, (wide), PDAF<br>\n8 MP, f/2.4, 81mm (telephoto), PDAF, OIS, 3x optical zoom<br>\n13 MP, f/2.2, 120˚ (ultrawide)",
  "mainVideoSpecs": "4K@30/60fps, 1080p@30/240fps",
  "selfieCameraFeatures": "HDR",
  "selfieCameraSpecs_raw": "10.7 MP, f/2.2",
  "selfieVideoSpecs": "4K@30fps, 1080p@30/240fps",
  "sensors": "",
  "charging_raw": "66W wired\n5W reverse wired",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/huawei-mate-xs-2.jpg",
  "colors": [
    "Black",
    "White",
    "Purple"
  ],
  "variants": [
    {
      "id": 507257,
      "model_number": "PAL-AL00"
    },
    {
      "id": 507258,
      "model_number": "PAL-LX9"
    }
  ],
  "normalized_specs": {
    "id": 452554,
    "display": {
      "id": 452554,
      "size_inches": 7.8,
      "panel_type": "Foldable OLED",
      "refresh_rate_hz": 120,
      "peak_brightness_nits": 0,
      "protection_type": ""
    },
    "processor": {
      "id": 452554,
      "total_cores": 8,
      "max_clock_speed_ghz": 2.84
    },
    "memory_options": {
      "id": 452554,
      "available_ram_gb": [
        8,
        12
      ],
      "available_storage_gb": [
        256,
        512
      ],
      "has_card_slot": false,
      "storage_technology": "UFS"
    },
    "battery_and_charging": {
      "id": 452554,
      "capacities_mah": [
        4600,
        4880
      ],
      "max_wired_charging_w": 66,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 452554,
      "main_lenses_count": 3,
      "max_main_resolution_mp": 50,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 452554,
      "height_mm": 156.5,
      "width_mm": 139.3,
      "thickness_mm": 5.4,
      "weight_g": 255,
      "build_materials": [],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "",
      "is_water_resistant": false
    },
    "sound": {
      "id": 452554,
      "has_stereo_speakers": true,
      "has_jack_35mm": false,
      "audio_quality_features": []
    },
    "connectivity": {
      "id": 452554,
      "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": 452554,
      "antutu_score": "641608 (v9)  GeekBench: 3131 (v5.1)  GFXBench: 28fps (ES 3.1 onscreen)",
      "geekbench_score": "3131 (v5.1)  GFXBench: 28fps (ES 3.1 onscreen)",
      "measured_display_brightness_nits": 725,
      "measured_loudspeaker_lufs": -25.8,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 452554,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

Huawei P50 JSON

GET/api/values/clean/getspecs/Huawei/P50
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Huawei/P50' \
-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", "P50")
print(device["normalized_specs"]["display"])
TypeScript
import { DeviceSpecsClient } from "@granturismo/devicespecs";
const client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
const device = await client.getSpecs("Huawei", "P50");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Huawei", "P50");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 452569,
  "manufacturer": "Huawei",
  "model": "P50",
  "network": "GSM / CDMA / HSPA / CDMA2000 / LTE",
  "announceDate": "2021, July 29",
  "status": "Available. Released 2021, October 04",
  "chipset": "Qualcomm SM8350 Snapdragon 888 4G",
  "androidVersion": "HarmonyOS 2.0",
  "battery_raw": "Li-Po 4100 mAh",
  "cpu_raw": "Octa-core (1x2.84 GHz Cortex-X1 &amp; 3x2.42 GHz Cortex-A78 &amp; 4x1.80 GHz Cortex-A55)",
  "displayResolution_raw": "OLED, 1B colors, 90Hz",
  "displaySize_raw": "6.5 inches, 101.6 cm<sup>2</sup> (~88.0% screen-to-body ratio)",
  "displayType_raw": "OLED, 1B colors, 90Hz",
  "gpu": "Adreno 660",
  "internal_raw": "128GB 8GB RAM, 256GB 8GB RAM",
  "mainCameraFeatures": "Laser AF, color spectrum sensor, Leica optics, dual-LED flash, panorama, HDR",
  "mainCameraSpecs_raw": "50 MP, f/1.8, 23mm (wide), PDAF, OIS<br>\n12 MP, f/3.4, 125mm (periscope telephoto), PDAF, OIS, 5x optical zoom<br>\n13 MP, f/2.2, 16mm (ultrawide)",
  "mainVideoSpecs": "4K@30/60fps, 1080p@30/60fps, 1080p@960fps; gyro-EIS",
  "selfieCameraFeatures": "Panorama, HDR",
  "selfieCameraSpecs_raw": "13 MP, f/2.4, (wide)",
  "selfieVideoSpecs": "4K@30fps, 1080p@30/60/240fps",
  "sensors": "",
  "charging_raw": "66W wired",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/huawei-p50.jpg",
  "colors": [
    "Black",
    "Gold",
    "White"
  ],
  "variants": [
    {
      "id": 507300,
      "model_number": "ABR-AL00"
    },
    {
      "id": 507301,
      "model_number": "ABR-LX9"
    }
  ],
  "normalized_specs": {
    "id": 452574,
    "display": {
      "id": 452574,
      "size_inches": 6.5,
      "panel_type": "OLED",
      "refresh_rate_hz": 90,
      "peak_brightness_nits": 0,
      "protection_type": ""
    },
    "processor": {
      "id": 452574,
      "total_cores": 8,
      "max_clock_speed_ghz": 2.84
    },
    "memory_options": {
      "id": 452574,
      "available_ram_gb": [
        8
      ],
      "available_storage_gb": [
        128,
        256
      ],
      "has_card_slot": false,
      "storage_technology": ""
    },
    "battery_and_charging": {
      "id": 452574,
      "capacities_mah": [
        4100
      ],
      "max_wired_charging_w": 66,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 452574,
      "main_lenses_count": 3,
      "max_main_resolution_mp": 50,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 452574,
      "height_mm": 156.5,
      "width_mm": 73.8,
      "thickness_mm": 7.9,
      "weight_g": 181,
      "build_materials": [],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "IP68",
      "is_water_resistant": true
    },
    "sound": {
      "id": 452574,
      "has_stereo_speakers": true,
      "has_jack_35mm": false,
      "audio_quality_features": []
    },
    "connectivity": {
      "id": 452574,
      "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": false,
      "has_radio": false,
      "usb_type": "USB Type-C 3.1",
      "usb_has_otg": true
    },
    "benchmarks": {
      "id": 452574,
      "antutu_score": "",
      "geekbench_score": "",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 452574,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

More comparisons