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 Z Flip vs Xiaomi Black Shark 2 Pro

Xiaomi Black Shark 2 Pro leads on 5 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 Z Flip

Samsung Galaxy Z Flip

2020 · Qualcomm SM8150 Snapdragon 855+
VS
Xiaomi Black Shark 2 Pro

Xiaomi Black Shark 2 Pro

2019 · Qualcomm SM8150 Snapdragon 855+
SpecificationSamsung Galaxy Z FlipXiaomi Black Shark 2 Pro
Release
Announced2020, February 112019, July. Released 2019, August
StatusAvailable. Released 2020, February 14Discontinued
Display
Size6.7 in6.39 in
PanelFoldable Dynamic AMOLEDAMOLED
ResolutionFoldable Dynamic AMOLED, HDR10+AMOLED
Platform
ChipsetQualcomm SM8150 Snapdragon 855+Qualcomm SM8150 Snapdragon 855+
CPUOcta-core (1x2.95 GHz Kryo 485 & 3x2.41 GHz Kryo 485 & 4x1.78 GHz Kryo 485)Octa-core (1x2.96 GHz Kryo 485 & 3x2.42 GHz Kryo 485 & 4x1.78 GHz Kryo 485)
Cores88
Max clock2.95 GHz2.96 GHz
GPUAdreno 640 (700 MHz)Adreno 640 (700 MHz)
OSAndroid 10, upgradable to Android 12, One UI 4.1.1Android 9.0 (Pie)
Memory
RAM options8 GB8 GB / 12 GB
Storage options256 GB128 GB / 256 GB
Storage techUFS 3.0UFS 3.0
microSD slotNoNo
Battery
Capacity3300 mAh4000 mAh
Wired charging15 W27 W
Wireless chargingYesNo
Cameras
Rear lenses22
Main resolution12 MP48 MP
Rear camera12 MP, f/1.8, 27mm (wide), 1/2.55", 1.4µm, dual pixel PDAF, OIS, 12 MP, f/2.2, 123˚ (ultrawide), 1.12µm48 MP, f/1.8, 28mm (wide), 1/2.0", 0.8µm, PDAF, 12 MP, f/2.2, 54mm (telephoto), 1.0µm, PDAF, 2x optical zoom
Rear video4K@30/60fps, 1080p@60/240fps, 720p@960fps, HDR10+4K@30/60fps, 1080p@30/60/120fps, 720p@1920fps
Front camera10 MP, f/2.4, 26mm (wide), 1.22µm20 MP, f/2.0, (wide), 1/3", 0.9µm
Body
Weight183 g205 g
Thickness7.2 mm8.8 mm
Height167.3 mm163.6 mm
Width73.6 mm75 mm
MaterialsPlastic front, glass back (Gorilla Glass 6), aluminum frameGlass front, aluminum back, aluminum frame
SIMNano-SIM, eSIMNano-SIM
Sound and connectivity
Stereo speakersNoYes
3.5 mm jackNoNo
NFCYesNo
Bluetooth55
Wi-FiWi-Fi 802.11 a/b/g/n/ac, dual-band, Wi-Fi DirectWi-Fi 802.11 a/b/g/n/ac, dual-band, Wi-Fi Direct
USBUSB Type-C 2.0USB Type-C 2.0
InfraredNoNo

Samsung Galaxy Z Flip JSON

GET/api/values/clean/getspecs/Samsung/Galaxy%20Z%20Flip
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Samsung/Galaxy%20Z%20Flip' \
-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 Z Flip")
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 Z Flip");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Samsung", "Galaxy Z Flip");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 450966,
  "manufacturer": "Samsung",
  "model": "Galaxy Z Flip",
  "network": "GSM / CDMA / HSPA / EVDO / LTE",
  "announceDate": "2020, February 11",
  "status": "Available. Released 2020, February 14",
  "chipset": "Qualcomm SM8150 Snapdragon 855+",
  "androidVersion": "Android 10, upgradable to Android 12, One UI 4.1.1",
  "battery_raw": "Li-Po 3300 mAh",
  "cpu_raw": "Octa-core (1x2.95 GHz Kryo 485 & 3x2.41 GHz Kryo 485 & 4x1.78 GHz Kryo 485)",
  "displayResolution_raw": "Foldable Dynamic AMOLED, HDR10+",
  "displaySize_raw": "6.7 inches, 101.6 cm<sup>2</sup> (~82.5% screen-to-body ratio)",
  "displayType_raw": "Foldable Dynamic AMOLED, HDR10+",
  "gpu": "Adreno 640 (700 MHz)",
  "internal_raw": "256GB 8GB RAM",
  "mainCameraFeatures": "LED flash, HDR, panorama",
  "mainCameraSpecs_raw": "12 MP, f/1.8, 27mm (wide), 1/2.55\", 1.4µm, dual pixel PDAF, OIS<br>\n12 MP, f/2.2, 123˚ (ultrawide), 1.12µm",
  "mainVideoSpecs": "4K@30/60fps, 1080p@60/240fps, 720p@960fps, HDR10+",
  "selfieCameraFeatures": "HDR",
  "selfieCameraSpecs_raw": "10 MP, f/2.4, 26mm (wide), 1.22µm",
  "selfieVideoSpecs": "4K@30fps",
  "sensors": "",
  "charging_raw": "15W wired\nWireless",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/samsung-galaxy-z-flip-01.jpg",
  "colors": [
    "Mirror Black",
    "Mirror Purple",
    "Mirror Gold",
    "Thom Browne Edition"
  ],
  "variants": [
    {
      "id": 504351,
      "model_number": "SM-F700"
    },
    {
      "id": 504352,
      "model_number": "SM-F700F"
    },
    {
      "id": 504353,
      "model_number": "SM-F700F/DS"
    },
    {
      "id": 504354,
      "model_number": "SM-F700U/DS"
    },
    {
      "id": 504355,
      "model_number": "SM-F700U1/DS"
    },
    {
      "id": 504356,
      "model_number": "SM-F700N"
    },
    {
      "id": 504357,
      "model_number": "M-F7000"
    },
    {
      "id": 504358,
      "model_number": "SM-F700W/DS"
    },
    {
      "id": 504359,
      "model_number": "SM-F700U1"
    }
  ],
  "normalized_specs": {
    "id": 450971,
    "display": {
      "id": 450971,
      "size_inches": 6.7,
      "panel_type": "Foldable Dynamic AMOLED",
      "refresh_rate_hz": 0,
      "peak_brightness_nits": 0,
      "protection_type": ""
    },
    "processor": {
      "id": 450971,
      "total_cores": 8,
      "max_clock_speed_ghz": 2.95
    },
    "memory_options": {
      "id": 450971,
      "available_ram_gb": [
        8
      ],
      "available_storage_gb": [
        256
      ],
      "has_card_slot": false,
      "storage_technology": "UFS 3.0"
    },
    "battery_and_charging": {
      "id": 450971,
      "capacities_mah": [
        3300
      ],
      "max_wired_charging_w": 15,
      "has_wireless_charging": true
    },
    "cameras": {
      "id": 450971,
      "main_lenses_count": 2,
      "max_main_resolution_mp": 12,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 450971,
      "height_mm": 167.3,
      "width_mm": 73.6,
      "thickness_mm": 7.2,
      "weight_g": 183,
      "build_materials": [
        "Plastic front",
        "glass back (Gorilla Glass 6)",
        "aluminum frame"
      ],
      "sim_options": [
        "Nano-SIM",
        "eSIM"
      ],
      "ip_rating": "",
      "is_water_resistant": false
    },
    "sound": {
      "id": 450971,
      "has_stereo_speakers": false,
      "has_jack_35mm": false,
      "audio_quality_features": [
        "High-bitrate audio support  Tuned by AKG"
      ]
    },
    "connectivity": {
      "id": 450971,
      "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": true,
      "has_infrared": false,
      "has_radio": false,
      "usb_type": "USB Type-C 2.0",
      "usb_has_otg": true
    },
    "benchmarks": {
      "id": 450971,
      "antutu_score": "",
      "geekbench_score": "",
      "measured_display_brightness_nits": 596,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 450971,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

Xiaomi Black Shark 2 Pro JSON

GET/api/values/clean/getspecs/Xiaomi/Black%20Shark%202%20Pro
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Xiaomi/Black%20Shark%202%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("Xiaomi", "Black Shark 2 Pro")
print(device["normalized_specs"]["display"])
TypeScript
import { DeviceSpecsClient } from "@granturismo/devicespecs";
const client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
const device = await client.getSpecs("Xiaomi", "Black Shark 2 Pro");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Xiaomi", "Black Shark 2 Pro");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 448178,
  "manufacturer": "Xiaomi",
  "model": "Black Shark 2 Pro",
  "network": "GSM / CDMA / HSPA / EVDO / LTE",
  "announceDate": "2019, July. Released 2019, August",
  "status": "Discontinued",
  "chipset": "Qualcomm SM8150 Snapdragon 855+",
  "androidVersion": "Android 9.0 (Pie)",
  "battery_raw": "Li-Ion 4000 mAh, non-removable",
  "cpu_raw": "Octa-core (1x2.96 GHz Kryo 485 &amp; 3x2.42 GHz Kryo 485 &amp; 4x1.78 GHz Kryo 485)",
  "displayResolution_raw": "AMOLED",
  "displaySize_raw": "6.39 inches, 100.2 cm<sup>2</sup> (~81.7% screen-to-body ratio)",
  "displayType_raw": "AMOLED",
  "gpu": "Adreno 640 (700 MHz)",
  "internal_raw": "128GB 8GB RAM, 128GB 12GB RAM, 256GB 12GB RAM",
  "mainCameraFeatures": "LED flash, HDR, panorama",
  "mainCameraSpecs_raw": "48 MP, f/1.8, 28mm (wide), 1/2.0\", 0.8µm, PDAF<br>\n12 MP, f/2.2, 54mm (telephoto), 1.0µm, PDAF, 2x optical zoom",
  "mainVideoSpecs": "4K@30/60fps, 1080p@30/60/120fps, 720p@1920fps",
  "selfieCameraFeatures": "HDR",
  "selfieCameraSpecs_raw": "20 MP, f/2.0, (wide), 1/3\", 0.9µm",
  "selfieVideoSpecs": "1080p@30fps",
  "sensors": "",
  "charging_raw": "27W wired",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/xiaomi-black-shark2-pro-.jpg",
  "colors": [
    "Shadow Black",
    "Iceberg Grey",
    "Gulf Blue",
    "Streamer Purple"
  ],
  "variants": [
    {
      "id": 500571,
      "model_number": "DLT-A0"
    },
    {
      "id": 500572,
      "model_number": "DLT-H0"
    }
  ],
  "normalized_specs": {
    "id": 448183,
    "display": {
      "id": 448183,
      "size_inches": 6.39,
      "panel_type": "AMOLED",
      "refresh_rate_hz": 0,
      "peak_brightness_nits": 0,
      "protection_type": ""
    },
    "processor": {
      "id": 448183,
      "total_cores": 8,
      "max_clock_speed_ghz": 2.96
    },
    "memory_options": {
      "id": 448183,
      "available_ram_gb": [
        8,
        12
      ],
      "available_storage_gb": [
        128,
        256
      ],
      "has_card_slot": false,
      "storage_technology": "UFS 3.0"
    },
    "battery_and_charging": {
      "id": 448183,
      "capacities_mah": [
        4000
      ],
      "max_wired_charging_w": 27,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 448183,
      "main_lenses_count": 2,
      "max_main_resolution_mp": 48,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 448183,
      "height_mm": 163.6,
      "width_mm": 75,
      "thickness_mm": 8.8,
      "weight_g": 205,
      "build_materials": [
        "Glass front",
        "aluminum back",
        "aluminum frame"
      ],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "",
      "is_water_resistant": false
    },
    "sound": {
      "id": 448183,
      "has_stereo_speakers": true,
      "has_jack_35mm": false,
      "audio_quality_features": []
    },
    "connectivity": {
      "id": 448183,
      "wlan_features": [
        "Wi-Fi 802.11 a/b/g/n/ac",
        "dual-band",
        "Wi-Fi Direct"
      ],
      "bluetooth_version": 5,
      "bluetooth_features": [
        "A2DP",
        "aptX HD",
        "LE"
      ],
      "positioning_tech": [
        "GPS",
        "GLONASS",
        "GALILEO",
        "QZSS",
        "BDS"
      ],
      "has_nfc": false,
      "has_infrared": false,
      "has_radio": false,
      "usb_type": "USB Type-C 2.0",
      "usb_has_otg": false
    },
    "benchmarks": {
      "id": 448183,
      "antutu_score": "",
      "geekbench_score": "",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 448183,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

More comparisons