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

Sony Xperia 5 IV vs Xiaomi Black Shark 5 Pro

Xiaomi Black Shark 5 Pro leads on 4 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.

Sony Xperia 5 IV

Sony Xperia 5 IV

2022 · Qualcomm SM8450 Snapdragon 8 Gen 1
VS
Xiaomi Black Shark 5 Pro

Xiaomi Black Shark 5 Pro

2022 · Qualcomm SM8450 Snapdragon 8 Gen 1
SpecificationSony Xperia 5 IVXiaomi Black Shark 5 Pro
Release
Announced2022, September 012022, March 30
StatusAvailable. Released 2022, September 22Available. Released 2022, April 04
Display
Size6.1 in6.67 in
PanelOLEDOLED
Refresh rate120 Hz144 Hz
ResolutionOLED, 1B colors, 120Hz, HDR BT.2020OLED, 1B colors, 144Hz, HDR10+
ProtectionCorning Gorilla Glass Victus—
Platform
ChipsetQualcomm SM8450 Snapdragon 8 Gen 1Qualcomm SM8450 Snapdragon 8 Gen 1
CPUOcta-core (1x3.00 GHz Cortex-X2 & 3x2.50 GHz Cortex-A710 & 4x1.80 GHz Cortex-A510)Octa-core (1x3.00 GHz Cortex-X2 & 3x2.50 GHz Cortex-A710 & 4x1.80 GHz Cortex-A510)
Cores88
Max clock3 GHz3 GHz
GPUAdreno 730Adreno 730
OSAndroid 12, upgradable to Android 13Android 12, Joy UI 13
AnTuTu835038 (v9) GeekBench: 3448 (v5.1) GFXBench: 63fps (ES 3.1 onscreen)876704 (v8)
Geekbench3448 (v5.1) GFXBench: 63fps (ES 3.1 onscreen)3665 (v5.1) GFXBench: 82fps (ES 3.1 onscreen)
Memory
RAM options8 GB8 GB / 12 GB / 16 GB
Storage options128 GB / 256 GB128 GB / 256 GB / 512 GB
Storage techUFS 3.XUFS 3.1/NVMe SSD
microSD slotYesNo
Battery
Capacity5000 mAh4650 mAh
Wired charging—120 W
Wireless chargingYesNo
Cameras
Rear lenses33
Main resolution12 MP108 MP
Rear camera12 MP, f/1.7, 24mm (wide), 1/1.7", 1.8µm, dual pixel PDAF, OIS, 12 MP, f/2.4, 60mm (telephoto), 1/3.5", dual pixel PDAF, OIS, 12 MP, f/2.2, 124˚, 16mm (ultrawide), 1/2.5", dual pixel PDAF108 MP, f/1.8, (wide), 1/1.52", 0.7µm, PDAF, 13 MP, f/2.4, 120˚ (ultrawide), 1/3.06", 1.12µm, 5 MP, f/2.4, (telephoto macro), AF
Rear video4K@24/25/30/60/120fps HDR, 1080p@30/60/120fps; 5-axis gyro-EIS, OIS4K@30/60fps, 1080p@30/60/240fps, 1080p@960fps; HDR10+
Front camera12 MP, f/2.0, 24mm (wide), 1/2.9", 1.25µm16 MP, (wide), 1/3.06", 1.0µm
Body
Weight172 g220 g
Thickness8.2 mm9.5 mm
Height156 mm163.9 mm
Width67 mm76.5 mm
IP ratingIP65—
MaterialsGlass front (Gorilla Glass Victus), glass back (Gorilla Glass Victus), aluminum frame—
SIMNano-SIM, eSIMNano-SIM
Sound and connectivity
Stereo speakersYesYes
3.5 mm jackYesNo
NFCYesYes
Bluetooth5.25.2
Wi-FiWi-Fi 802.11 a/b/g/n/ac/6e, tri-band, Wi-Fi Direct, DLNAWi-Fi 802.11 a/b/g/n/ac/6, dual-band, Wi-Fi Direct
USBUSB Type-C 3.2USB Type-C 2.0
InfraredNoNo

Sony Xperia 5 IV JSON

GET/api/values/clean/getspecs/Sony/Xperia%205%20IV
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Sony/Xperia%205%20IV' \
-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 5 IV")
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 5 IV");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Sony", "Xperia 5 IV");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 457257,
  "manufacturer": "Sony",
  "model": "Xperia 5 IV",
  "network": "GSM / HSPA / LTE / 5G",
  "announceDate": "2022, September 01",
  "status": "Available. Released 2022, September 22",
  "chipset": "Qualcomm SM8450 Snapdragon 8 Gen 1",
  "androidVersion": "Android 12, upgradable to Android 13",
  "battery_raw": "Li-Po 5000 mAh",
  "cpu_raw": "Octa-core (1x3.00 GHz Cortex-X2 & 3x2.50 GHz Cortex-A710 & 4x1.80 GHz Cortex-A510)",
  "displayResolution_raw": "OLED, 1B colors, 120Hz, HDR BT.2020",
  "displaySize_raw": "6.1 inches, 86.9 cm<sup>2</sup> (~83.2% screen-to-body ratio)",
  "displayType_raw": "OLED, 1B colors, 120Hz, HDR BT.2020",
  "gpu": "Adreno 730",
  "internal_raw": "128GB 8GB RAM, 256GB 8GB RAM",
  "mainCameraFeatures": "Zeiss optics, Zeiss T* lens coating, color spectrum sensor, LED flash, panorama, HDR, eye tracking",
  "mainCameraSpecs_raw": "12 MP, f/1.7, 24mm (wide), 1/1.7\", 1.8µm, dual pixel PDAF, OIS<br>\n12 MP, f/2.4, 60mm (telephoto), 1/3.5\", dual pixel PDAF, OIS<br>\n12 MP, f/2.2, 124˚, 16mm (ultrawide), 1/2.5\", dual pixel PDAF",
  "mainVideoSpecs": "4K@24/25/30/60/120fps HDR, 1080p@30/60/120fps; 5-axis gyro-EIS, OIS",
  "selfieCameraFeatures": "HDR",
  "selfieCameraSpecs_raw": "12 MP, f/2.0, 24mm (wide), 1/2.9\", 1.25µm",
  "selfieVideoSpecs": "4K@30fps, 1080p@30/60fps, 5-axis gyro-EIS",
  "sensors": "",
  "charging_raw": "Wired, PD3.0, 50% in 30 min\nWireless\nReverse wireless",
  "price_usd": 0,
  "price_eur": 297.89,
  "price_gbp": 194.99,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/sony-xperia-5-iv-ofic.jpg",
  "colors": [
    "Green",
    "Black",
    "Ecru White"
  ],
  "variants": [
    {
      "id": 511211,
      "model_number": "XQCQ62B-GC"
    },
    {
      "id": 511212,
      "model_number": "XQCQ62G.GC"
    },
    {
      "id": 511213,
      "model_number": "XQ-CQ72/B2TWCX0"
    },
    {
      "id": 511214,
      "model_number": "XQ-CQ72/C2TWCX0"
    },
    {
      "id": 511215,
      "model_number": "XQ-CQ72/G2TWCX0"
    },
    {
      "id": 511216,
      "model_number": "XQCQ54C0B.YD"
    },
    {
      "id": 511217,
      "model_number": "XQCQ54C0G.YD"
    },
    {
      "id": 511218,
      "model_number": "XQCQ54C0C.YD"
    },
    {
      "id": 511219,
      "model_number": "XQ-CQ54"
    },
    {
      "id": 511220,
      "model_number": "XQ-CQ72"
    },
    {
      "id": 511221,
      "model_number": "A204SO"
    },
    {
      "id": 511222,
      "model_number": "SOG09"
    },
    {
      "id": 511223,
      "model_number": "SO-54C"
    }
  ],
  "normalized_specs": {
    "id": 457262,
    "display": {
      "id": 457262,
      "size_inches": 6.1,
      "panel_type": "OLED",
      "refresh_rate_hz": 120,
      "peak_brightness_nits": 0,
      "protection_type": "Corning Gorilla Glass Victus"
    },
    "processor": {
      "id": 457262,
      "total_cores": 8,
      "max_clock_speed_ghz": 3
    },
    "memory_options": {
      "id": 457262,
      "available_ram_gb": [
        8
      ],
      "available_storage_gb": [
        128,
        256
      ],
      "has_card_slot": true,
      "storage_technology": "UFS 3.X"
    },
    "battery_and_charging": {
      "id": 457262,
      "capacities_mah": [
        5000
      ],
      "max_wired_charging_w": 0,
      "has_wireless_charging": true
    },
    "cameras": {
      "id": 457262,
      "main_lenses_count": 3,
      "max_main_resolution_mp": 12,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 457262,
      "height_mm": 156,
      "width_mm": 67,
      "thickness_mm": 8.2,
      "weight_g": 172,
      "build_materials": [
        "Glass front (Gorilla Glass Victus)",
        "glass back (Gorilla Glass Victus)",
        "aluminum frame"
      ],
      "sim_options": [
        "Nano-SIM",
        "eSIM"
      ],
      "ip_rating": "IP65",
      "is_water_resistant": true
    },
    "sound": {
      "id": 457262,
      "has_stereo_speakers": true,
      "has_jack_35mm": true,
      "audio_quality_features": [
        "Hi-Res audio  Dynamic vibration system  Snapdragon Sound"
      ]
    },
    "connectivity": {
      "id": 457262,
      "wlan_features": [
        "Wi-Fi 802.11 a/b/g/n/ac/6e",
        "tri-band",
        "Wi-Fi Direct",
        "DLNA"
      ],
      "bluetooth_version": 5.2,
      "bluetooth_features": [
        "A2DP",
        "LE",
        "aptX HD",
        "aptX Adaptive"
      ],
      "positioning_tech": [
        "GPS",
        "GLONASS",
        "BDS",
        "GALILEO",
        "QZSS"
      ],
      "has_nfc": true,
      "has_infrared": false,
      "has_radio": false,
      "usb_type": "USB Type-C 3.2",
      "usb_has_otg": true
    },
    "benchmarks": {
      "id": 457262,
      "antutu_score": "835038 (v9)  GeekBench: 3448 (v5.1)  GFXBench: 63fps (ES 3.1 onscreen)",
      "geekbench_score": "3448 (v5.1)  GFXBench: 63fps (ES 3.1 onscreen)",
      "measured_display_brightness_nits": 979,
      "measured_loudspeaker_lufs": -26.9,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 457262,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

Xiaomi Black Shark 5 Pro JSON

GET/api/values/clean/getspecs/Xiaomi/Black%20Shark%205%20Pro
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Xiaomi/Black%20Shark%205%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 5 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 5 Pro");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Xiaomi", "Black Shark 5 Pro");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 448020,
  "manufacturer": "Xiaomi",
  "model": "Black Shark 5 Pro",
  "network": "GSM / CDMA / HSPA / EVDO / LTE / 5G",
  "announceDate": "2022, March 30",
  "status": "Available. Released 2022, April 04",
  "chipset": "Qualcomm SM8450 Snapdragon 8 Gen 1",
  "androidVersion": "Android 12, Joy UI 13",
  "battery_raw": "Li-Po 4650 mAh",
  "cpu_raw": "Octa-core (1x3.00 GHz Cortex-X2 &amp; 3x2.50 GHz Cortex-A710 &amp; 4x1.80 GHz Cortex-A510)",
  "displayResolution_raw": "OLED, 1B colors, 144Hz, HDR10+",
  "displaySize_raw": "6.67 inches, 107.4 cm<sup>2</sup> (~85.7% screen-to-body ratio)",
  "displayType_raw": "OLED, 1B colors, 144Hz, HDR10+",
  "gpu": "Adreno 730",
  "internal_raw": "128GB 8GB RAM, 256GB 8GB RAM, 256GB 12GB RAM, 512GB 16GB RAM",
  "mainCameraFeatures": "LED flash, HDR, panorama",
  "mainCameraSpecs_raw": "108 MP, f/1.8, (wide), 1/1.52\", 0.7µm, PDAF<br>\n13 MP, f/2.4, 120˚ (ultrawide), 1/3.06\", 1.12µm<br>\n5 MP, f/2.4, (telephoto macro), AF",
  "mainVideoSpecs": "4K@30/60fps, 1080p@30/60/240fps, 1080p@960fps; HDR10+",
  "selfieCameraFeatures": "HDR",
  "selfieCameraSpecs_raw": "16 MP, (wide), 1/3.06\", 1.0µm",
  "selfieVideoSpecs": "1080p@30fps",
  "sensors": "",
  "charging_raw": "120W wired, 100% in 15 min",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/xiaomi-black-shark-5-pro.jpg",
  "colors": [
    "Black",
    "White"
  ],
  "variants": [
    {
      "id": 500330,
      "model_number": "SHARK KTUS-H0"
    }
  ],
  "normalized_specs": {
    "id": 448025,
    "display": {
      "id": 448025,
      "size_inches": 6.67,
      "panel_type": "OLED",
      "refresh_rate_hz": 144,
      "peak_brightness_nits": 0,
      "protection_type": ""
    },
    "processor": {
      "id": 448025,
      "total_cores": 8,
      "max_clock_speed_ghz": 3
    },
    "memory_options": {
      "id": 448025,
      "available_ram_gb": [
        8,
        12,
        16
      ],
      "available_storage_gb": [
        128,
        256,
        512
      ],
      "has_card_slot": false,
      "storage_technology": "UFS 3.1/NVMe SSD"
    },
    "battery_and_charging": {
      "id": 448025,
      "capacities_mah": [
        4650
      ],
      "max_wired_charging_w": 120,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 448025,
      "main_lenses_count": 3,
      "max_main_resolution_mp": 108,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 448025,
      "height_mm": 163.9,
      "width_mm": 76.5,
      "thickness_mm": 9.5,
      "weight_g": 220,
      "build_materials": [],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "",
      "is_water_resistant": false
    },
    "sound": {
      "id": 448025,
      "has_stereo_speakers": true,
      "has_jack_35mm": false,
      "audio_quality_features": [
        "24-bit/192kHz Hi-Res audio  Snapdragon Sound"
      ]
    },
    "connectivity": {
      "id": 448025,
      "wlan_features": [
        "Wi-Fi 802.11 a/b/g/n/ac/6",
        "dual-band",
        "Wi-Fi Direct"
      ],
      "bluetooth_version": 5.2,
      "bluetooth_features": [
        "A2DP",
        "LE",
        "aptX HD",
        "aptX Adaptive"
      ],
      "positioning_tech": [
        "GPS",
        "GLONASS",
        "GALILEO",
        "QZSS",
        "BDS"
      ],
      "has_nfc": true,
      "has_infrared": false,
      "has_radio": false,
      "usb_type": "USB Type-C 2.0",
      "usb_has_otg": false
    },
    "benchmarks": {
      "id": 448025,
      "antutu_score": "876704 (v8)",
      "geekbench_score": "3665 (v5.1)  GFXBench: 82fps (ES 3.1 onscreen)",
      "measured_display_brightness_nits": 682,
      "measured_loudspeaker_lufs": -24,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 448025,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

More comparisons