
Announced 2018, February. Released 2018, April
Sony Xperia XZ2 Compact specifications
The Sony Xperia XZ2 Compact was announced in 2018, February. Released 2018, April. It has a 5-inch IPS LCD display, Qualcomm SDM845 Snapdragon 845 chipset, 4 GB RAM, 2,870 mAh battery, 19 MP main camera. Every value below comes from one call to the Device Specs API and is returned as typed JSON, ready for comparison engines, catalogs and AI agents.
Normalized specification sheet
Display
Size5 inches
PanelIPS LCD
ProtectionCorning Gorilla Glass 5
Resolution (raw)IPS LCD, HDR BT.2020
Platform
ChipsetQualcomm SDM845 Snapdragon 845
CPUOcta-core (4x2.7 GHz Kryo 385 Gold & 4x1.7 GHz Kryo 385 Silver)
Cores8
Max clock2.7 GHz
GPUAdreno 630
OSAndroid 8.0 (Oreo), upgradable to Android 10
Memory and storage
RAM options4 GB
Storage options64 GB
Storage techUFS 2.1
microSD slotYes
Configurations (raw)64GB 4GB RAM
Battery and charging
Capacity2870 mAh
Wired charging18 W
Wireless chargingNo
Charging (raw)18W wired, QC3
Cameras
Rear lenses1
Max rear resolution19 MP
Rear camera (raw)19 MP, f/2.0, 25mm (wide), 1/2.3", 1.22µm, predictive PDAF
Rear video4K@30fps, 1080p@60fps, 1080p@30fps (gyro-EIS), 1080p@960fps
Front lenses1
Front camera (raw)5 MP, f/2.2, 23mm (wide), 1/5.0"
Front video1080p@30fps (gyro-EIS)
Body
Dimensions135 × 65 × 12.1 mm
Weight168 g
MaterialsGlass front (Gorilla Glass 5), plastic back, aluminum frame
SIMNano-SIM
IP ratingIP68
ColoursBlack, White Silver, Moss Green, Coral Pink
Sound
Stereo speakersYes
3.5 mm jackNo
Audio featuresHi-Res audio
Connectivity
NetworkGSM / HSPA / LTE
Wi-FiWi-Fi 802.11 a/b/g/n/ac, dual-band, Wi-Fi Direct, DLNA
Bluetooth5, A2DP, aptX HD, LE
PositioningGPS, GLONASS, BDS, GALILEO
NFCYes
InfraredNo
FM radioNo
USBUSB Type-C 3.1
USB OTGYes
Benchmarks and EU label
AnTuTu265326 (v7)
Geekbench8487 (v4.4)
Identity and pricing
Announced2018, February. Released 2018, April
StatusDiscontinued
Model numbersH8324, H8314, SO-05K
GET /api/values/clean/getspecs/Sony/Xperia%20XZ2%20Compact200 OK
{
"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 & 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": ""
}
}
}Reproduce this response
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 DeviceSpecsClientclient = 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);The JSON above is the live API response for this device, unmodified.
Get a free API key










