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

Nokia 9 PureView vs Sony Xperia XZ2 Compact

Nokia 9 PureView 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.

Nokia 9 PureView

Nokia 9 PureView

2019 · Qualcomm SDM845 Snapdragon 845
VS
Sony Xperia XZ2 Compact

Sony Xperia XZ2 Compact

2018 · Qualcomm SDM845 Snapdragon 845
SpecificationNokia 9 PureViewSony Xperia XZ2 Compact
Release
Announced2019, February 24. Released 2019, March 152018, February. Released 2018, April
StatusDiscontinuedDiscontinued
Display
Size5.99 in5 in
PanelP-OLEDIPS LCD
ResolutionP-OLED, HDR10IPS LCD, HDR BT.2020
ProtectionCorning Gorilla Glass 5Corning Gorilla Glass 5
Platform
ChipsetQualcomm SDM845 Snapdragon 845Qualcomm SDM845 Snapdragon 845
CPUOcta-core (4x2.8 GHz Kryo 385 Gold & 4x1.7 GHz Kryo 385 Silver)Octa-core (4x2.7 GHz Kryo 385 Gold & 4x1.7 GHz Kryo 385 Silver)
Cores88
Max clock2.8 GHz2.7 GHz
GPUAdreno 630Adreno 630
OSAndroid 9.0 (Pie), upgradable to Android 10, Android OneAndroid 8.0 (Oreo), upgradable to Android 10
AnTuTu288473 (v7) GeekBench: 8986 (v4.4) GFXBench: 19fps (ES 3.1 onscreen)265326 (v7)
Geekbench8986 (v4.4) GFXBench: 19fps (ES 3.1 onscreen)8487 (v4.4)
Memory
RAM options6 GB4 GB
Storage options128 GB64 GB
Storage techUFS 2.1UFS 2.1
microSD slotNoYes
Battery
Capacity3320 mAh2870 mAh
Wired charging18 W18 W
Wireless chargingYesNo
Cameras
Rear lenses11
Main resolution12 MP19 MP
Rear camera5x 12 MP, f/1.8, 28mm (wide), 1/2.9", 1.25µm, (2x RGB & 3x B/W cameras, working simultaneously), TOF 3D, (depth)19 MP, f/2.0, 25mm (wide), 1/2.3", 1.22µm, predictive PDAF
Rear video4K@30fps, 1080p@30fps, HDR4K@30fps, 1080p@60fps, 1080p@30fps (gyro-EIS), 1080p@960fps
Front camera20 MP, f/2.0, (wide), 1/2.8", 1.0µm5 MP, f/2.2, 23mm (wide), 1/5.0"
Body
Weight172 g168 g
Thickness8 mm12.1 mm
Height155 mm135 mm
Width75 mm65 mm
IP ratingIP67IP68
MaterialsGlass front (Gorilla Glass 5), glass back, aluminum frameGlass front (Gorilla Glass 5), plastic back, aluminum frame
SIMNano-SIMNano-SIM
Sound and connectivity
Stereo speakersNoYes
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 3.1USB Type-C 3.1
InfraredNoNo

Nokia 9 PureView JSON

GET/api/values/clean/getspecs/Nokia/9%20PureView
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Nokia/9%20PureView' \
-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("Nokia", "9 PureView")
print(device["normalized_specs"]["display"])
TypeScript
import { DeviceSpecsClient } from "@granturismo/devicespecs";
const client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
const device = await client.getSpecs("Nokia", "9 PureView");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Nokia", "9 PureView");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 454264,
  "manufacturer": "Nokia",
  "model": "9 PureView",
  "network": "GSM / HSPA / LTE",
  "announceDate": "2019, February 24. Released 2019, March 15",
  "status": "Discontinued",
  "chipset": "Qualcomm SDM845 Snapdragon 845",
  "androidVersion": "Android 9.0 (Pie), upgradable to Android 10, Android One",
  "battery_raw": "Li-Po 3320 mAh, non-removable",
  "cpu_raw": "Octa-core (4x2.8 GHz Kryo 385 Gold & 4x1.7 GHz Kryo 385 Silver)",
  "displayResolution_raw": "P-OLED, HDR10",
  "displaySize_raw": "5.99 inches, 92.6 cm<sup>2</sup> (~79.7% screen-to-body ratio)",
  "displayType_raw": "P-OLED, HDR10",
  "gpu": "Adreno 630",
  "internal_raw": "128GB 6GB RAM",
  "mainCameraFeatures": "Zeiss optics, dual-LED dual-tone flash, HDR, panorama",
  "mainCameraSpecs_raw": "5x 12 MP, f/1.8, 28mm (wide), 1/2.9\", 1.25µm<br>\n(2x RGB &amp; 3x B/W cameras, working simultaneously)<br>\nTOF 3D, (depth)",
  "mainVideoSpecs": "4K@30fps, 1080p@30fps, HDR",
  "selfieCameraFeatures": "HDR",
  "selfieCameraSpecs_raw": "20 MP, f/2.0, (wide), 1/2.8\", 1.0µm",
  "selfieVideoSpecs": "4K@30fps, 1080p@30fps, HDR",
  "sensors": "",
  "charging_raw": "18W wired, PD, QC3\n10W wireless (Qi)\n5W wireless",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/nokia-9-pureview-.jpg",
  "colors": [
    "Midnight Blue"
  ],
  "variants": [
    {
      "id": 509342,
      "model_number": "TA-1094"
    },
    {
      "id": 509343,
      "model_number": "A-1087"
    },
    {
      "id": 509344,
      "model_number": "TA-1082"
    }
  ],
  "normalized_specs": {
    "id": 454269,
    "display": {
      "id": 454269,
      "size_inches": 5.99,
      "panel_type": "P-OLED",
      "refresh_rate_hz": 0,
      "peak_brightness_nits": 0,
      "protection_type": "Corning Gorilla Glass 5"
    },
    "processor": {
      "id": 454269,
      "total_cores": 8,
      "max_clock_speed_ghz": 2.8
    },
    "memory_options": {
      "id": 454269,
      "available_ram_gb": [
        6
      ],
      "available_storage_gb": [
        128
      ],
      "has_card_slot": false,
      "storage_technology": "UFS 2.1"
    },
    "battery_and_charging": {
      "id": 454269,
      "capacities_mah": [
        3320
      ],
      "max_wired_charging_w": 18,
      "has_wireless_charging": true
    },
    "cameras": {
      "id": 454269,
      "main_lenses_count": 1,
      "max_main_resolution_mp": 12,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 454269,
      "height_mm": 155,
      "width_mm": 75,
      "thickness_mm": 8,
      "weight_g": 172,
      "build_materials": [
        "Glass front (Gorilla Glass 5)",
        "glass back",
        "aluminum frame"
      ],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "IP67",
      "is_water_resistant": true
    },
    "sound": {
      "id": 454269,
      "has_stereo_speakers": false,
      "has_jack_35mm": false,
      "audio_quality_features": [
        "24-bit/192kHz Hi-Res audio"
      ]
    },
    "connectivity": {
      "id": 454269,
      "wlan_features": [
        "Wi-Fi 802.11 a/b/g/n/ac",
        "dual-band",
        "Wi-Fi Direct"
      ],
      "bluetooth_version": 5,
      "bluetooth_features": [
        "A2DP",
        "LE",
        "aptX"
      ],
      "positioning_tech": [
        "GPS",
        "GLONASS",
        "BDS"
      ],
      "has_nfc": true,
      "has_infrared": false,
      "has_radio": false,
      "usb_type": "USB Type-C 3.1",
      "usb_has_otg": false
    },
    "benchmarks": {
      "id": 454269,
      "antutu_score": "288473 (v7)  GeekBench: 8986 (v4.4)  GFXBench: 19fps (ES 3.1 onscreen)",
      "geekbench_score": "8986 (v4.4)  GFXBench: 19fps (ES 3.1 onscreen)",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 454269,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

Sony Xperia XZ2 Compact JSON

GET/api/values/clean/getspecs/Sony/Xperia%20XZ2%20Compact
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Sony/Xperia%20XZ2%20Compact' \
-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("Sony", "Xperia XZ2 Compact")
print(device["normalized_specs"]["display"])
TypeScript
import { DeviceSpecsClient } from "@granturismo/devicespecs";
const client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
const device = await client.getSpecs("Sony", "Xperia XZ2 Compact");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Sony", "Xperia XZ2 Compact");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 457279,
  "manufacturer": "Sony",
  "model": "Xperia XZ2 Compact",
  "network": "GSM / HSPA / LTE",
  "announceDate": "2018, February. Released 2018, April",
  "status": "Discontinued",
  "chipset": "Qualcomm SDM845 Snapdragon 845",
  "androidVersion": "Android 8.0 (Oreo), upgradable to Android 10",
  "battery_raw": "Li-Ion 2870 mAh, non-removable",
  "cpu_raw": "Octa-core (4x2.7 GHz Kryo 385 Gold &amp; 4x1.7 GHz Kryo 385 Silver)",
  "displayResolution_raw": "IPS LCD, HDR BT.2020",
  "displaySize_raw": "5.0 inches, 64.5 cm<sup>2</sup> (~73.5% screen-to-body ratio)",
  "displayType_raw": "IPS LCD, HDR BT.2020",
  "gpu": "Adreno 630",
  "internal_raw": "64GB 4GB RAM",
  "mainCameraFeatures": "Laser AF, color spectrum sensor, LED flash, panorama, HDR",
  "mainCameraSpecs_raw": "19 MP, f/2.0, 25mm (wide), 1/2.3\", 1.22µm, predictive PDAF",
  "mainVideoSpecs": "4K@30fps, 1080p@60fps, 1080p@30fps (gyro-EIS), 1080p@960fps",
  "selfieCameraFeatures": "",
  "selfieCameraSpecs_raw": "5 MP, f/2.2, 23mm (wide), 1/5.0\"",
  "selfieVideoSpecs": "1080p@30fps (gyro-EIS)",
  "sensors": "",
  "charging_raw": "18W wired, QC3",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/sony-xperia-xz2-compact-.jpg",
  "colors": [
    "Black",
    "White Silver",
    "Moss Green",
    "Coral Pink"
  ],
  "variants": [
    {
      "id": 511326,
      "model_number": "H8324"
    },
    {
      "id": 511327,
      "model_number": "H8314"
    },
    {
      "id": 511328,
      "model_number": "SO-05K"
    }
  ],
  "normalized_specs": {
    "id": 457284,
    "display": {
      "id": 457284,
      "size_inches": 5,
      "panel_type": "IPS LCD",
      "refresh_rate_hz": 0,
      "peak_brightness_nits": 0,
      "protection_type": "Corning Gorilla Glass 5"
    },
    "processor": {
      "id": 457284,
      "total_cores": 8,
      "max_clock_speed_ghz": 2.7
    },
    "memory_options": {
      "id": 457284,
      "available_ram_gb": [
        4
      ],
      "available_storage_gb": [
        64
      ],
      "has_card_slot": true,
      "storage_technology": "UFS 2.1"
    },
    "battery_and_charging": {
      "id": 457284,
      "capacities_mah": [
        2870
      ],
      "max_wired_charging_w": 18,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 457284,
      "main_lenses_count": 1,
      "max_main_resolution_mp": 19,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 457284,
      "height_mm": 135,
      "width_mm": 65,
      "thickness_mm": 12.1,
      "weight_g": 168,
      "build_materials": [
        "Glass front (Gorilla Glass 5)",
        "plastic back",
        "aluminum frame"
      ],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "IP68",
      "is_water_resistant": true
    },
    "sound": {
      "id": 457284,
      "has_stereo_speakers": true,
      "has_jack_35mm": false,
      "audio_quality_features": [
        "Hi-Res audio"
      ]
    },
    "connectivity": {
      "id": 457284,
      "wlan_features": [
        "Wi-Fi 802.11 a/b/g/n/ac",
        "dual-band",
        "Wi-Fi Direct",
        "DLNA"
      ],
      "bluetooth_version": 5,
      "bluetooth_features": [
        "A2DP",
        "aptX HD",
        "LE"
      ],
      "positioning_tech": [
        "GPS",
        "GLONASS",
        "BDS",
        "GALILEO"
      ],
      "has_nfc": true,
      "has_infrared": false,
      "has_radio": false,
      "usb_type": "USB Type-C 3.1",
      "usb_has_otg": true
    },
    "benchmarks": {
      "id": 457284,
      "antutu_score": "265326 (v7)",
      "geekbench_score": "8487 (v4.4)",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 457284,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

More comparisons