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 S7 edge (USA) vs Sony Xperia XZs

On the 6 metrics where both phones differ and a direction is meaningful, the two devices split evenly. Every value comes from the Device Specs API; the requests that return both payloads are at the bottom of the page.

Samsung Galaxy S7 edge (USA)

Samsung Galaxy S7 edge (USA)

2016 · Qualcomm MSM8996 Snapdragon 820
VS
Sony Xperia XZs

Sony Xperia XZs

2017 · Qualcomm MSM8996 Snapdragon 820
SpecificationSamsung Galaxy S7 edge (USA)Sony Xperia XZs
Release
Announced2016, February. Released 2016, March2017, February 27. Released 2017, April 03
StatusDiscontinuedDiscontinued
Display
Size5.5 in5.2 in
PanelSuper AMOLEDIPS LCD
ResolutionSuper AMOLEDIPS LCD
ProtectionCorning Gorilla Glass 4Corning Gorilla Glass 5
Platform
ChipsetQualcomm MSM8996 Snapdragon 820Qualcomm MSM8996 Snapdragon 820
CPUQuad-core (2x2.15 GHz Kryo & 2x1.6 GHz Kryo)Quad-core (2x2.15 GHz Kryo & 2x1.6 GHz Kryo)
Cores44
Max clock2.15 GHz2.15 GHz
GPUAdreno 530Adreno 530
OSAndroid 6.0 (Marshmallow), upgradable to Android 8.0 (Oreo), TouchWiz UIAndroid 7.1 (Nougat), upgradable to Android 8.0 (Oreo)
AnTuTu—170766 (v8) GeekBench: 808 (v5.1) GFXBench: 21fps (ES 3.1 onscreen)
Geekbench—808 (v5.1) GFXBench: 21fps (ES 3.1 onscreen)
Memory
RAM options4 GB4 GB
Storage options32 GB32 GB / 64 GB
Storage tech—eMMC 5.1
microSD slotYesYes
Battery
Capacity3600 mAh2900 mAh
Wired charging15 W18 W
Wireless chargingYesNo
Cameras
Rear lenses11
Main resolution12 MP19 MP
Rear camera12 MP, f/1.7, 26mm (wide), 1/2.55", 1.4µm, dual pixel PDAF, OIS19 MP, f/2.0, 25mm (wide), 1/2.3", predictive PDAF
Rear video4K@30fps, 1080p@30fps (gyro-EIS), 1080p@60fps, 720p@240fps, HDR, stereo sound rec., OIS4K@30fps, 1080p@30fps (gyro-EIS), 720p@960fps, HDR
Front camera5 MP, f/1.7, 22mm (wide), 1/4.1", 1.34µm13 MP, f/2.0, 22mm (wide), 1/3.1", 1.12µm
Body
Weight157 g161 g
Thickness7.7 mm8.1 mm
Height150.9 mm146 mm
Width72.6 mm72 mm
IP ratingIP68IP68
MaterialsGlass front (Gorilla Glass 4), glass back (Gorilla Glass 4), aluminum frameGlass front (Gorilla Glass 5), aluminum back, plastic frame
SIMNano-SIMNano-SIM
Sound and connectivity
Stereo speakersNoYes
3.5 mm jackYesYes
NFCYesYes
Bluetooth4.24.2
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
USBmicroUSB 2.0USB Type-C 2.0
InfraredNoNo

Samsung Galaxy S7 edge (USA) JSON

GET/api/values/clean/getspecs/Samsung/Galaxy%20S7%20edge%20(USA)
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Samsung/Galaxy%20S7%20edge%20(USA)' \
-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 S7 edge (USA)")
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 S7 edge (USA)");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Samsung", "Galaxy S7 edge (USA)");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 451111,
  "manufacturer": "Samsung",
  "model": "Galaxy S7 edge (USA)",
  "network": "GSM / CDMA / HSPA / EVDO / LTE",
  "announceDate": "2016, February. Released 2016, March",
  "status": "Discontinued",
  "chipset": "Qualcomm MSM8996 Snapdragon 820",
  "androidVersion": "Android 6.0 (Marshmallow), upgradable to Android 8.0 (Oreo), TouchWiz UI",
  "battery_raw": "Li-Ion 3600 mAh, non-removable",
  "cpu_raw": "Quad-core (2x2.15 GHz Kryo & 2x1.6 GHz Kryo)",
  "displayResolution_raw": "Super AMOLED",
  "displaySize_raw": "5.5 inches, 83.4 cm<sup>2</sup> (~76.1% screen-to-body ratio)",
  "displayType_raw": "Super AMOLED",
  "gpu": "Adreno 530",
  "internal_raw": "32GB 4GB RAM",
  "mainCameraFeatures": "LED flash, auto-HDR, panorama",
  "mainCameraSpecs_raw": "12 MP, f/1.7, 26mm (wide), 1/2.55\", 1.4µm, dual pixel PDAF, OIS",
  "mainVideoSpecs": "4K@30fps, 1080p@30fps (gyro-EIS), 1080p@60fps, 720p@240fps, HDR, stereo sound rec., OIS",
  "selfieCameraFeatures": "HDR",
  "selfieCameraSpecs_raw": "5 MP, f/1.7, 22mm (wide), 1/4.1\", 1.34µm",
  "selfieVideoSpecs": "",
  "sensors": "",
  "charging_raw": "15W wired, QC2\nWireless",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/samsung-galaxy-s7-edge-usa.jpg",
  "colors": [
    "Black Onyx",
    "Silver Titanium",
    "Gold Platinum",
    "Coral Blue"
  ],
  "variants": [
    {
      "id": 505051,
      "model_number": "SM-G935A"
    },
    {
      "id": 505052,
      "model_number": "SM-G935P"
    },
    {
      "id": 505053,
      "model_number": "SM-G935V"
    },
    {
      "id": 505054,
      "model_number": "SM-G935T"
    },
    {
      "id": 505055,
      "model_number": "SM-G935R"
    },
    {
      "id": 505056,
      "model_number": "SM-G935U"
    },
    {
      "id": 505057,
      "model_number": "SM-G935L"
    },
    {
      "id": 505058,
      "model_number": "SAMSUNG-SM-G935A"
    }
  ],
  "normalized_specs": {
    "id": 451116,
    "display": {
      "id": 451116,
      "size_inches": 5.5,
      "panel_type": "Super AMOLED",
      "refresh_rate_hz": 0,
      "peak_brightness_nits": 0,
      "protection_type": "Corning Gorilla Glass 4"
    },
    "processor": {
      "id": 451116,
      "total_cores": 4,
      "max_clock_speed_ghz": 2.15
    },
    "memory_options": {
      "id": 451116,
      "available_ram_gb": [
        4
      ],
      "available_storage_gb": [
        32
      ],
      "has_card_slot": true,
      "storage_technology": ""
    },
    "battery_and_charging": {
      "id": 451116,
      "capacities_mah": [
        3600
      ],
      "max_wired_charging_w": 15,
      "has_wireless_charging": true
    },
    "cameras": {
      "id": 451116,
      "main_lenses_count": 1,
      "max_main_resolution_mp": 12,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 451116,
      "height_mm": 150.9,
      "width_mm": 72.6,
      "thickness_mm": 7.7,
      "weight_g": 157,
      "build_materials": [
        "Glass front (Gorilla Glass 4)",
        "glass back (Gorilla Glass 4)",
        "aluminum frame"
      ],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "IP68",
      "is_water_resistant": true
    },
    "sound": {
      "id": 451116,
      "has_stereo_speakers": false,
      "has_jack_35mm": true,
      "audio_quality_features": [
        "24-bit/192kHz audio"
      ]
    },
    "connectivity": {
      "id": 451116,
      "wlan_features": [
        "Wi-Fi 802.11 a/b/g/n/ac",
        "dual-band",
        "Wi-Fi Direct"
      ],
      "bluetooth_version": 4.2,
      "bluetooth_features": [
        "A2DP",
        "LE",
        "aptX"
      ],
      "positioning_tech": [
        "GPS",
        "GLONASS"
      ],
      "has_nfc": true,
      "has_infrared": false,
      "has_radio": false,
      "usb_type": "microUSB 2.0",
      "usb_has_otg": true
    },
    "benchmarks": {
      "id": 451116,
      "antutu_score": "",
      "geekbench_score": "",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 451116,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

Sony Xperia XZs JSON

GET/api/values/clean/getspecs/Sony/Xperia%20XZs
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Sony/Xperia%20XZs' \
-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 XZs")
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 XZs");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Sony", "Xperia XZs");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 457288,
  "manufacturer": "Sony",
  "model": "Xperia XZs",
  "network": "GSM / HSPA / LTE",
  "announceDate": "2017, February 27. Released 2017, April 03",
  "status": "Discontinued",
  "chipset": "Qualcomm MSM8996 Snapdragon 820",
  "androidVersion": "Android 7.1 (Nougat), upgradable to Android 8.0 (Oreo)",
  "battery_raw": "Li-Ion 2900 mAh, non-removable",
  "cpu_raw": "Quad-core (2x2.15 GHz Kryo &amp; 2x1.6 GHz Kryo)",
  "displayResolution_raw": "IPS LCD",
  "displaySize_raw": "5.2 inches, 74.5 cm<sup>2</sup> (~70.9% screen-to-body ratio)",
  "displayType_raw": "IPS LCD",
  "gpu": "Adreno 530",
  "internal_raw": "32GB 4GB RAM, 64GB 4GB RAM",
  "mainCameraFeatures": "Laser AF, color spectrum sensor, LED flash, HDR, panorama",
  "mainCameraSpecs_raw": "19 MP, f/2.0, 25mm (wide), 1/2.3\", predictive PDAF",
  "mainVideoSpecs": "4K@30fps, 1080p@30fps (gyro-EIS), 720p@960fps, HDR",
  "selfieCameraFeatures": "",
  "selfieCameraSpecs_raw": "13 MP, f/2.0, 22mm (wide), 1/3.1\", 1.12µm",
  "selfieVideoSpecs": "1080p@30fps",
  "sensors": "",
  "charging_raw": "18W wired, QC3",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/sony-xperia-xzs-2017.jpg",
  "colors": [
    "Black",
    "Warm Silver",
    "Ice Blue"
  ],
  "variants": [
    {
      "id": 511360,
      "model_number": "G8232"
    },
    {
      "id": 511361,
      "model_number": "G8231"
    },
    {
      "id": 511362,
      "model_number": "SOV35"
    },
    {
      "id": 511363,
      "model_number": "602SO"
    },
    {
      "id": 511364,
      "model_number": "SO-03J"
    }
  ],
  "normalized_specs": {
    "id": 457293,
    "display": {
      "id": 457293,
      "size_inches": 5.2,
      "panel_type": "IPS LCD",
      "refresh_rate_hz": 0,
      "peak_brightness_nits": 0,
      "protection_type": "Corning Gorilla Glass 5"
    },
    "processor": {
      "id": 457293,
      "total_cores": 4,
      "max_clock_speed_ghz": 2.15
    },
    "memory_options": {
      "id": 457293,
      "available_ram_gb": [
        4
      ],
      "available_storage_gb": [
        32,
        64
      ],
      "has_card_slot": true,
      "storage_technology": "eMMC 5.1"
    },
    "battery_and_charging": {
      "id": 457293,
      "capacities_mah": [
        2900
      ],
      "max_wired_charging_w": 18,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 457293,
      "main_lenses_count": 1,
      "max_main_resolution_mp": 19,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 457293,
      "height_mm": 146,
      "width_mm": 72,
      "thickness_mm": 8.1,
      "weight_g": 161,
      "build_materials": [
        "Glass front (Gorilla Glass 5)",
        "aluminum back",
        "plastic frame"
      ],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "IP68",
      "is_water_resistant": true
    },
    "sound": {
      "id": 457293,
      "has_stereo_speakers": true,
      "has_jack_35mm": true,
      "audio_quality_features": [
        "24-bit/192kHz audio"
      ]
    },
    "connectivity": {
      "id": 457293,
      "wlan_features": [
        "Wi-Fi 802.11 a/b/g/n/ac",
        "dual-band",
        "Wi-Fi Direct",
        "DLNA"
      ],
      "bluetooth_version": 4.2,
      "bluetooth_features": [
        "A2DP",
        "aptX",
        "LE"
      ],
      "positioning_tech": [
        "GPS",
        "GLONASS",
        "BDS"
      ],
      "has_nfc": true,
      "has_infrared": false,
      "has_radio": false,
      "usb_type": "USB Type-C 2.0",
      "usb_has_otg": true
    },
    "benchmarks": {
      "id": 457293,
      "antutu_score": "170766 (v8)  GeekBench: 808 (v5.1)  GFXBench: 21fps (ES 3.1 onscreen)",
      "geekbench_score": "808 (v5.1)  GFXBench: 21fps (ES 3.1 onscreen)",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 457293,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

More comparisons