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 Mi 9 Pro 5G

Xiaomi Mi 9 Pro 5G leads on 7 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.

Samsung Galaxy Z Flip

Samsung Galaxy Z Flip

2020 · Qualcomm SM8150 Snapdragon 855+
VS
Xiaomi Mi 9 Pro 5G

Xiaomi Mi 9 Pro 5G

2019 · Qualcomm SM8150 Snapdragon 855+
SpecificationSamsung Galaxy Z FlipXiaomi Mi 9 Pro 5G
Release
Announced2020, February 112019, September. Released 2019, September
StatusAvailable. Released 2020, February 14Discontinued
Display
Size6.7 in6.39 in
PanelFoldable Dynamic AMOLEDSuper AMOLED
ResolutionFoldable Dynamic AMOLED, HDR10+Super AMOLED, HDR10
Protection—Corning Gorilla Glass 6
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.8 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 10, MIUI 11
Memory
RAM options8 GB8 GB / 12 GB
Storage options256 GB128 GB / 256 GB / 512 GB
Storage techUFS 3.0UFS 3.0
microSD slotNoNo
Battery
Capacity3300 mAh4000 mAh
Wired charging15 W40 W
Wireless chargingYesYes
Cameras
Rear lenses23
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, 27mm (wide), 1/2.0", 0.8µm, PDAF, 12 MP, f/2.2, 54mm (telephoto), 1/3.6", 1.0µm, PDAF, 2x optical zoom, 16 MP, f/2.2, 13mm (ultrawide), 1/3.0", 1.0µm, AF
Rear video4K@30/60fps, 1080p@60/240fps, 720p@960fps, HDR10+4K@30/60fps, 1080p@30/120/240fps, 1080p@960fps
Front camera10 MP, f/2.4, 26mm (wide), 1.22µm20 MP, f/2.0, (wide), 1/3", 0.9µm
Body
Weight183 g196 g
Thickness7.2 mm8.5 mm
Height167.3 mm157.2 mm
Width73.6 mm74.6 mm
MaterialsPlastic front, glass back (Gorilla Glass 6), aluminum frameGlass front (Gorilla Glass 6), glass back (Gorilla Glass 5), aluminum frame (7000 series)
SIMNano-SIM, eSIMNano-SIM
Sound and connectivity
Stereo speakersNoNo
3.5 mm jackNoNo
NFCYesYes
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, DLNA
USBUSB Type-C 2.0USB Type-C 2.0
InfraredNoYes

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 Mi 9 Pro 5G JSON

GET/api/values/clean/getspecs/Xiaomi/Mi%209%20Pro%205G
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Xiaomi/Mi%209%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("Xiaomi", "Mi 9 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("Xiaomi", "Mi 9 Pro 5G");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Xiaomi", "Mi 9 Pro 5G");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 448173,
  "manufacturer": "Xiaomi",
  "model": "Mi 9 Pro 5G",
  "network": "GSM / CDMA / HSPA / LTE / 5G",
  "announceDate": "2019, September. Released 2019, September",
  "status": "Discontinued",
  "chipset": "Qualcomm SM8150 Snapdragon 855+",
  "androidVersion": "Android 10, MIUI 11",
  "battery_raw": "Li-Po 4000 mAh, non-removable",
  "cpu_raw": "Octa-core (1x2.96 GHz Kryo 485 &amp; 3x2.42 GHz Kryo 485 &amp; 4x1.8 GHz Kryo 485)",
  "displayResolution_raw": "Super AMOLED, HDR10",
  "displaySize_raw": "6.39 inches, 100.2 cm<sup>2</sup> (~85.5% screen-to-body ratio)",
  "displayType_raw": "Super AMOLED, HDR10",
  "gpu": "Adreno 640 (700 MHz)",
  "internal_raw": "128GB 8GB RAM, 256GB 8GB RAM, 256GB 12GB RAM, 512GB 12GB RAM",
  "mainCameraFeatures": "Laser AF, Dual-LED flash, HDR, panorama",
  "mainCameraSpecs_raw": "48 MP, f/1.8, 27mm (wide), 1/2.0\", 0.8µm, PDAF<br>\n12 MP, f/2.2, 54mm (telephoto), 1/3.6\", 1.0µm, PDAF, 2x optical zoom<br>\n16 MP, f/2.2, 13mm (ultrawide), 1/3.0\", 1.0µm, AF",
  "mainVideoSpecs": "4K@30/60fps, 1080p@30/120/240fps, 1080p@960fps",
  "selfieCameraFeatures": "HDR",
  "selfieCameraSpecs_raw": "20 MP, f/2.0, (wide), 1/3\", 0.9µm",
  "selfieVideoSpecs": "1080p@30fps",
  "sensors": "",
  "charging_raw": "40W wired, QC4\n30W wireless\n10W reverse wireless",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/xiaomi-mi-9-pro-5g.jpg",
  "colors": [
    "Dream White",
    "Titanium Black"
  ],
  "variants": [],
  "normalized_specs": {
    "id": 448178,
    "display": {
      "id": 448178,
      "size_inches": 6.39,
      "panel_type": "Super AMOLED",
      "refresh_rate_hz": 0,
      "peak_brightness_nits": 0,
      "protection_type": "Corning Gorilla Glass 6"
    },
    "processor": {
      "id": 448178,
      "total_cores": 8,
      "max_clock_speed_ghz": 2.96
    },
    "memory_options": {
      "id": 448178,
      "available_ram_gb": [
        8,
        12
      ],
      "available_storage_gb": [
        128,
        256,
        512
      ],
      "has_card_slot": false,
      "storage_technology": "UFS 3.0"
    },
    "battery_and_charging": {
      "id": 448178,
      "capacities_mah": [
        4000
      ],
      "max_wired_charging_w": 40,
      "has_wireless_charging": true
    },
    "cameras": {
      "id": 448178,
      "main_lenses_count": 3,
      "max_main_resolution_mp": 48,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 448178,
      "height_mm": 157.2,
      "width_mm": 74.6,
      "thickness_mm": 8.5,
      "weight_g": 196,
      "build_materials": [
        "Glass front (Gorilla Glass 6)",
        "glass back (Gorilla Glass 5)",
        "aluminum frame (7000 series)"
      ],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "",
      "is_water_resistant": false
    },
    "sound": {
      "id": 448178,
      "has_stereo_speakers": false,
      "has_jack_35mm": false,
      "audio_quality_features": []
    },
    "connectivity": {
      "id": 448178,
      "wlan_features": [
        "Wi-Fi 802.11 a/b/g/n/ac",
        "dual-band",
        "Wi-Fi Direct",
        "DLNA"
      ],
      "bluetooth_version": 5,
      "bluetooth_features": [
        "A2DP",
        "LE",
        "aptX HD"
      ],
      "positioning_tech": [
        "GPS",
        "GLONASS",
        "BDS",
        "GALILEO"
      ],
      "has_nfc": true,
      "has_infrared": true,
      "has_radio": false,
      "usb_type": "USB Type-C 2.0",
      "usb_has_otg": true
    },
    "benchmarks": {
      "id": 448178,
      "antutu_score": "",
      "geekbench_score": "",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 448178,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

More comparisons