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

Realme X2 Pro vs Samsung Galaxy Z Flip

Realme X2 Pro leads on 6 of the 8 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.

Realme X2 Pro

Realme X2 Pro

2019 · Qualcomm SM8150 Snapdragon 855+
VS
Samsung Galaxy Z Flip

Samsung Galaxy Z Flip

2020 · Qualcomm SM8150 Snapdragon 855+
SpecificationRealme X2 ProSamsung Galaxy Z Flip
Release
Announced2019, October 15. Released 2019, October2020, February 11
StatusDiscontinuedAvailable. Released 2020, February 14
Display
Size6.5 in6.7 in
PanelSuper AMOLEDFoldable Dynamic AMOLED
Refresh rate90 Hz—
Peak brightness1,000 nits—
ResolutionSuper AMOLED, 90Hz, HDR10+, 1000 nits (peak)Foldable Dynamic AMOLED, HDR10+
ProtectionCorning Gorilla Glass 5—
Platform
ChipsetQualcomm SM8150 Snapdragon 855+Qualcomm SM8150 Snapdragon 855+
CPUOcta-core (1x2.96 GHz Kryo 485 & 3x2.42 GHz Kryo 485 & 4x1.8 GHz Kryo 485)Octa-core (1x2.95 GHz Kryo 485 & 3x2.41 GHz Kryo 485 & 4x1.78 GHz Kryo 485)
Cores88
Max clock2.96 GHz2.95 GHz
GPUAdreno 640 (700 MHz)Adreno 640 (700 MHz)
OSAndroid 9.0 (Pie), upgradable to Android 11, Realme UI 2.0Android 10, upgradable to Android 12, One UI 4.1.1
AnTuTu396827 (v7)—
Geekbench10373 (v4.4) GFXBench: 37fps (ES 3.1 onscreen)—
Memory
RAM options6 GB / 8 GB / 12 GB8 GB
Storage options64 GB / 128 GB / 256 GB256 GB
Storage tech64GB UFS 2.1, 128/256GB UFS 3.0UFS 3.0
microSD slotNoNo
Battery
Capacity4000 mAh3300 mAh
Wired charging50 W15 W
Wireless chargingNoYes
Cameras
Rear lenses32
Main resolution64 MP12 MP
Rear camera64 MP, f/1.8, 26mm (wide), 1/1.72", 0.8µm, PDAF, 13 MP, f/2.5, 52mm (telephoto), 1/3.4", 1.0µm, PDAF, 2x optical zoom, 8 MP, f/2.2, 16mm (ultrawide), Auxiliary lens12 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µm
Rear video4K@30/60fps, 1080p@30/60/120fps, 720p@960fps, gyro-EIS4K@30/60fps, 1080p@60/240fps, 720p@960fps, HDR10+
Front camera16 MP, f/2.0, 25mm (wide), 1/3.06", 1.0µm10 MP, f/2.4, 26mm (wide), 1.22µm
Body
Weight199 g183 g
Thickness8.7 mm7.2 mm
Height161 mm167.3 mm
Width75.7 mm73.6 mm
MaterialsGlass front (Gorilla Glass 5), glass back (Gorilla Glass 5), aluminum framePlastic front, glass back (Gorilla Glass 6), aluminum frame
SIMNano-SIMNano-SIM, eSIM
Sound and connectivity
Stereo speakersYesNo
3.5 mm jackYesNo
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
USBUSB Type-C 2.0USB Type-C 2.0
InfraredNoNo

Realme X2 Pro JSON

GET/api/values/clean/getspecs/Realme/X2%20Pro
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Realme/X2%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("Realme", "X2 Pro")
print(device["normalized_specs"]["display"])
TypeScript
import { DeviceSpecsClient } from "@granturismo/devicespecs";
const client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
const device = await client.getSpecs("Realme", "X2 Pro");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Realme", "X2 Pro");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 450573,
  "manufacturer": "Realme",
  "model": "X2 Pro",
  "network": "GSM / CDMA / HSPA / EVDO / LTE",
  "announceDate": "2019, October 15. Released 2019, October",
  "status": "Discontinued",
  "chipset": "Qualcomm SM8150 Snapdragon 855+",
  "androidVersion": "Android 9.0 (Pie), upgradable to Android 11, Realme UI 2.0",
  "battery_raw": "4000 mAh, non-removable",
  "cpu_raw": "Octa-core (1x2.96 GHz Kryo 485 & 3x2.42 GHz Kryo 485 & 4x1.8 GHz Kryo 485)",
  "displayResolution_raw": "Super AMOLED, 90Hz, HDR10+, 1000 nits (peak)",
  "displaySize_raw": "6.5 inches, 103.5 cm<sup>2</sup> (~84.9% screen-to-body ratio)",
  "displayType_raw": "Super AMOLED, 90Hz, HDR10+, 1000 nits (peak)",
  "gpu": "Adreno 640 (700 MHz)",
  "internal_raw": "64GB 6GB RAM, 128GB 8GB RAM, 256GB 8GB RAM, 256GB 12GB RAM",
  "mainCameraFeatures": "Dual-LED flash, HDR, panorama",
  "mainCameraSpecs_raw": "64 MP, f/1.8, 26mm (wide), 1/1.72\", 0.8µm, PDAF<br>\n13 MP, f/2.5, 52mm (telephoto), 1/3.4\", 1.0µm, PDAF, 2x optical zoom<br>\n8 MP, f/2.2, 16mm (ultrawide)<br>\nAuxiliary lens",
  "mainVideoSpecs": "4K@30/60fps, 1080p@30/60/120fps, 720p@960fps, gyro-EIS",
  "selfieCameraFeatures": "HDR",
  "selfieCameraSpecs_raw": "16 MP, f/2.0, 25mm (wide), 1/3.06\", 1.0µm",
  "selfieVideoSpecs": "1080p@30fps, gyro-EIS",
  "sensors": "",
  "charging_raw": "50W wired, 100% in 35 min",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/realme-x2-pro.jpg",
  "colors": [
    "Lunar White",
    "Neptune Blue",
    "Red Master Edition",
    "Gray Master Edition"
  ],
  "variants": [
    {
      "id": 503038,
      "model_number": "RMX1931"
    }
  ],
  "normalized_specs": {
    "id": 450578,
    "display": {
      "id": 450578,
      "size_inches": 6.5,
      "panel_type": "Super AMOLED",
      "refresh_rate_hz": 90,
      "peak_brightness_nits": 1000,
      "protection_type": "Corning Gorilla Glass 5"
    },
    "processor": {
      "id": 450578,
      "total_cores": 8,
      "max_clock_speed_ghz": 2.96
    },
    "memory_options": {
      "id": 450578,
      "available_ram_gb": [
        6,
        8,
        12
      ],
      "available_storage_gb": [
        64,
        128,
        256
      ],
      "has_card_slot": false,
      "storage_technology": "64GB UFS 2.1, 128/256GB UFS 3.0"
    },
    "battery_and_charging": {
      "id": 450578,
      "capacities_mah": [
        4000
      ],
      "max_wired_charging_w": 50,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 450578,
      "main_lenses_count": 3,
      "max_main_resolution_mp": 64,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 450578,
      "height_mm": 161,
      "width_mm": 75.7,
      "thickness_mm": 8.7,
      "weight_g": 199,
      "build_materials": [
        "Glass front (Gorilla Glass 5)",
        "glass back (Gorilla Glass 5)",
        "aluminum frame"
      ],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "",
      "is_water_resistant": false
    },
    "sound": {
      "id": 450578,
      "has_stereo_speakers": true,
      "has_jack_35mm": true,
      "audio_quality_features": [
        "24-bit/192kHz Hi-Res audio (incl. speakers)"
      ]
    },
    "connectivity": {
      "id": 450578,
      "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",
        "BDS",
        "GALILEO"
      ],
      "has_nfc": true,
      "has_infrared": false,
      "has_radio": false,
      "usb_type": "USB Type-C 2.0",
      "usb_has_otg": false
    },
    "benchmarks": {
      "id": 450578,
      "antutu_score": "396827 (v7)",
      "geekbench_score": "10373 (v4.4)  GFXBench: 37fps (ES 3.1 onscreen)",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 450578,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

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 &amp; 3x2.41 GHz Kryo 485 &amp; 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": ""
    }
  }
}

More comparisons