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 Pocket

Huawei Mate Xs 2 leads on 4 of the 5 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 Pocket

Huawei P50 Pocket

2021 · Qualcomm SM8350 Snapdragon 888 4G
SpecificationHuawei Mate Xs 2Huawei P50 Pocket
Release
Announced2022, April 282021, December 23
StatusAvailable. Released 2022, May 07Available. Released 2021, December 23
Display
Size7.8 in6.9 in
PanelFoldable OLEDFoldable OLED
Refresh rate120 Hz120 Hz
ResolutionFoldable OLED, 1B colors, 120HzFoldable OLED, 1B colors, 120Hz
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 (China), EMUI 12 (Europe), no Google Play Services
AnTuTu641608 (v9) GeekBench: 3131 (v5.1) GFXBench: 28fps (ES 3.1 onscreen)768513 (v9) GeekBench: 3077 (v5.1) GFXBench: 40fps (ES 3.1 onscreen)
Geekbench3131 (v5.1) GFXBench: 28fps (ES 3.1 onscreen)3077 (v5.1) GFXBench: 40fps (ES 3.1 onscreen)
Memory
RAM options8 GB / 12 GB8 GB / 12 GB
Storage options256 GB / 512 GB256 GB / 512 GB
Storage techUFS—
microSD slotNoNo
Battery
Capacity4600 mAh / 4880 mAh4000 mAh
Wired charging66 W40 W
Wireless chargingNoNo
Cameras
Rear lenses33
Main resolution50 MP40 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)40 MP, f/1.8, (wide), PDAF, 13 MP, f/2.2, 120˚ (ultrawide), AF, 32 MP, f/1.8, (wide), 1/3.14", 0.7µm, AF
Rear video4K@30/60fps, 1080p@30/240fps4K@30/60fps, 1080p@30/120/240fps, gyro-EIS
Front camera10.7 MP, f/2.210.7 MP, f/2.2, (ultrawide)
Body
Weight255 g190 g
Thickness5.4 mm7.2 mm
Height156.5 mm170 mm
Width139.3 mm75.5 mm
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 2.0
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 Pocket JSON

GET/api/values/clean/getspecs/Huawei/P50%20Pocket
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Huawei/P50%20Pocket' \
-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 Pocket")
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 Pocket");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Huawei", "P50 Pocket");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 452558,
  "manufacturer": "Huawei",
  "model": "P50 Pocket",
  "network": "GSM / CDMA / HSPA / CDMA2000 / LTE",
  "announceDate": "2021, December 23",
  "status": "Available. Released 2021, December 23",
  "chipset": "Qualcomm SM8350 Snapdragon 888 4G",
  "androidVersion": "HarmonyOS 2.0 (China), EMUI 12 (Europe), no Google Play Services",
  "battery_raw": "Li-Po 4000 mAh",
  "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": "6.9 inches, 109.2 cm<sup>2</sup> (~85.1% screen-to-body ratio)",
  "displayType_raw": "Foldable OLED, 1B colors, 120Hz",
  "gpu": "Adreno 660",
  "internal_raw": "256GB 8GB RAM, 256GB 12GB RAM, 512GB 8GB RAM, 512GB 12GB RAM",
  "mainCameraFeatures": "Laser AF, color spectrum sensor, LED flash, HDR, panorama",
  "mainCameraSpecs_raw": "40 MP, f/1.8, (wide), PDAF<br>\n13 MP, f/2.2, 120˚ (ultrawide), AF<br>\n32 MP, f/1.8, (wide), 1/3.14\", 0.7µm, AF",
  "mainVideoSpecs": "4K@30/60fps, 1080p@30/120/240fps, gyro-EIS",
  "selfieCameraFeatures": "HDR, panorama",
  "selfieCameraSpecs_raw": "10.7 MP, f/2.2, (ultrawide)",
  "selfieVideoSpecs": "4K@30/60fps, 1080p@30/60/120/240fps",
  "sensors": "",
  "charging_raw": "40W wired\n5W reverse wired",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/huawei-p50-pocket.jpg",
  "colors": [
    "Black",
    "Gold",
    "Silver"
  ],
  "variants": [
    {
      "id": 507280,
      "model_number": "BAL-AL00"
    },
    {
      "id": 507281,
      "model_number": "BAL-L49"
    }
  ],
  "normalized_specs": {
    "id": 452563,
    "display": {
      "id": 452563,
      "size_inches": 6.9,
      "panel_type": "Foldable OLED",
      "refresh_rate_hz": 120,
      "peak_brightness_nits": 0,
      "protection_type": ""
    },
    "processor": {
      "id": 452563,
      "total_cores": 8,
      "max_clock_speed_ghz": 2.84
    },
    "memory_options": {
      "id": 452563,
      "available_ram_gb": [
        8,
        12
      ],
      "available_storage_gb": [
        256,
        512
      ],
      "has_card_slot": false,
      "storage_technology": ""
    },
    "battery_and_charging": {
      "id": 452563,
      "capacities_mah": [
        4000
      ],
      "max_wired_charging_w": 40,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 452563,
      "main_lenses_count": 3,
      "max_main_resolution_mp": 40,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 452563,
      "height_mm": 170,
      "width_mm": 75.5,
      "thickness_mm": 7.2,
      "weight_g": 190,
      "build_materials": [],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "",
      "is_water_resistant": false
    },
    "sound": {
      "id": 452563,
      "has_stereo_speakers": true,
      "has_jack_35mm": false,
      "audio_quality_features": []
    },
    "connectivity": {
      "id": 452563,
      "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 2.0",
      "usb_has_otg": true
    },
    "benchmarks": {
      "id": 452563,
      "antutu_score": "768513 (v9)  GeekBench: 3077 (v5.1)  GFXBench: 40fps (ES 3.1 onscreen)",
      "geekbench_score": "3077 (v5.1)  GFXBench: 40fps (ES 3.1 onscreen)",
      "measured_display_brightness_nits": 803,
      "measured_loudspeaker_lufs": -30.1,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 452563,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

More comparisons