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

Motorola Moto X4 vs Sony Xperia XA2 Plus

Sony Xperia XA2 Plus 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.

Motorola Moto X4

Motorola Moto X4

2017 · Qualcomm SDM630 Snapdragon 630
VS
Sony Xperia XA2 Plus

Sony Xperia XA2 Plus

2018 · Qualcomm SDM630 Snapdragon 630
SpecificationMotorola Moto X4Sony Xperia XA2 Plus
Release
Announced2017, August. Released 2017, October2018, July. Released 2018, September
StatusDiscontinuedDiscontinued
Display
Size5.2 in6 in
PanelIPS LCDIPS LCD
ResolutionIPS LCDIPS LCD
ProtectionCorning Gorilla Glass 3Corning Gorilla Glass 5
Platform
ChipsetQualcomm SDM630 Snapdragon 630Qualcomm SDM630 Snapdragon 630
CPUOcta-core (4x2.2 GHz Cortex-A53 & 4x1.8 GHz Cortex-A53)Octa-core 2.2 GHz Cortex-A53
Cores88
Max clock2.2 GHz2.2 GHz
GPUAdreno 508Adreno 508
OSAndroid 7.1 (Nougat), upgradable to Android 9.0 (Pie), Android OneAndroid 8.0 (Oreo)
AnTuTu—86374 (v7)
Geekbench4136 (v4.4) GFXBench: 5.8fps (ES 3.1 onscreen)4144 (v4.4)
Memory
RAM options3 GB / 4 GB / 6 GB4 GB / 6 GB
Storage options32 GB / 64 GB32 GB / 64 GB
microSD slotYesYes
Battery
Capacity3000 mAh3580 mAh
Wired charging15 W18 W
Wireless chargingNoNo
Cameras
Rear lenses21
Main resolution12 MP23 MP
Rear camera12 MP, f/2.0, 1/2.55", 1.4µm, dual pixel PDAF, 8 MP, f/2.2, 13mm (ultrawide), 1/4.0", 1.12µm, no AF23 MP, f/2.0, 24mm (wide), 1/2.3", PDAF
Rear video4K@30fps, 1080p@30/60fps,4K@30fps, 1080p@30fps, stereo sound rec., HDR
Front camera16 MP, f/2.0, 1/3.06", 1.0µm8 MP, f/2.4, 1/4.0"
Body
Weight163 g205 g
Thickness8 mm9.6 mm
Height148.4 mm157 mm
Width73.4 mm75 mm
IP ratingIP68—
MaterialsGlass front (Gorilla Glass 3), glass back (Gorilla Glass 3), aluminum frameGlass front (Gorilla Glass 5), plastic back, aluminum frame
SIMNano-SIMNano-SIM
Sound and connectivity
Stereo speakersNoNo
3.5 mm jackYesYes
NFCYesYes
Bluetooth4.25
Wi-FiWi-Fi 802.11 a/b/g/n/ac, dual-band, Wi-Fi DirectWi-Fi 802.11 a/b/g/n, Wi-Fi Direct
USBUSB Type-CUSB Type-C 2.0
InfraredNoNo

Motorola Moto X4 JSON

GET/api/values/clean/getspecs/Motorola/Moto%20X4
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Motorola/Moto%20X4' \
-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("Motorola", "Moto X4")
print(device["normalized_specs"]["display"])
TypeScript
import { DeviceSpecsClient } from "@granturismo/devicespecs";
const client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
const device = await client.getSpecs("Motorola", "Moto X4");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Motorola", "Moto X4");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 453690,
  "manufacturer": "Motorola",
  "model": "Moto X4",
  "network": "GSM / HSPA / LTE",
  "announceDate": "2017, August. Released 2017, October",
  "status": "Discontinued",
  "chipset": "Qualcomm SDM630 Snapdragon 630",
  "androidVersion": "Android 7.1 (Nougat), upgradable to Android 9.0 (Pie), Android One",
  "battery_raw": "Li-Ion 3000 mAh, non-removable",
  "cpu_raw": "Octa-core (4x2.2 GHz Cortex-A53 & 4x1.8 GHz Cortex-A53)",
  "displayResolution_raw": "IPS LCD",
  "displaySize_raw": "5.2 inches, 74.5 cm<sup>2</sup> (~68.4% screen-to-body ratio)",
  "displayType_raw": "IPS LCD",
  "gpu": "Adreno 508",
  "internal_raw": "32GB 3GB RAM, 64GB 4GB RAM, 64GB 6GB RAM",
  "mainCameraFeatures": "Dual-LED dual-tone flash, panorama",
  "mainCameraSpecs_raw": "12 MP, f/2.0, 1/2.55\", 1.4µm, dual pixel PDAF<br>\n8 MP, f/2.2, 13mm (ultrawide), 1/4.0\", 1.12µm, no AF",
  "mainVideoSpecs": "4K@30fps, 1080p@30/60fps,",
  "selfieCameraFeatures": "LED flash",
  "selfieCameraSpecs_raw": "16 MP, f/2.0, 1/3.06\", 1.0µm",
  "selfieVideoSpecs": "1080p@30fps",
  "sensors": "",
  "charging_raw": "15W wired",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/motorola-moto-x4.jpg",
  "colors": [
    "Super Black",
    "Sterling Blue"
  ],
  "variants": [
    {
      "id": 508991,
      "model_number": "XT1900-1"
    },
    {
      "id": 508992,
      "model_number": "XT1900-2"
    },
    {
      "id": 508993,
      "model_number": "XT1900-3"
    },
    {
      "id": 508994,
      "model_number": "XT1900-4"
    },
    {
      "id": 508995,
      "model_number": "XT1900-5"
    },
    {
      "id": 508996,
      "model_number": "XT1900-6"
    },
    {
      "id": 508997,
      "model_number": "XT1900-7"
    }
  ],
  "normalized_specs": {
    "id": 453695,
    "display": {
      "id": 453695,
      "size_inches": 5.2,
      "panel_type": "IPS LCD",
      "refresh_rate_hz": 0,
      "peak_brightness_nits": 0,
      "protection_type": "Corning Gorilla Glass 3"
    },
    "processor": {
      "id": 453695,
      "total_cores": 8,
      "max_clock_speed_ghz": 2.2
    },
    "memory_options": {
      "id": 453695,
      "available_ram_gb": [
        3,
        4,
        6
      ],
      "available_storage_gb": [
        32,
        64
      ],
      "has_card_slot": true,
      "storage_technology": ""
    },
    "battery_and_charging": {
      "id": 453695,
      "capacities_mah": [
        3000
      ],
      "max_wired_charging_w": 15,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 453695,
      "main_lenses_count": 2,
      "max_main_resolution_mp": 12,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 453695,
      "height_mm": 148.4,
      "width_mm": 73.4,
      "thickness_mm": 8,
      "weight_g": 163,
      "build_materials": [
        "Glass front (Gorilla Glass 3)",
        "glass back (Gorilla Glass 3)",
        "aluminum frame"
      ],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "IP68",
      "is_water_resistant": true
    },
    "sound": {
      "id": 453695,
      "has_stereo_speakers": false,
      "has_jack_35mm": true,
      "audio_quality_features": []
    },
    "connectivity": {
      "id": 453695,
      "wlan_features": [
        "Wi-Fi 802.11 a/b/g/n/ac",
        "dual-band",
        "Wi-Fi Direct"
      ],
      "bluetooth_version": 4.2,
      "bluetooth_features": [
        "A2DP",
        "LE",
        "EDR",
        "aptX (5.0 after SW update)"
      ],
      "positioning_tech": [
        "GPS",
        "GLONASS",
        "GALILEO"
      ],
      "has_nfc": true,
      "has_infrared": false,
      "has_radio": false,
      "usb_type": "USB Type-C",
      "usb_has_otg": true
    },
    "benchmarks": {
      "id": 453695,
      "antutu_score": "",
      "geekbench_score": "4136 (v4.4)  GFXBench: 5.8fps (ES 3.1 onscreen)",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 453695,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

Sony Xperia XA2 Plus JSON

GET/api/values/clean/getspecs/Sony/Xperia%20XA2%20Plus
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Sony/Xperia%20XA2%20Plus' \
-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 XA2 Plus")
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 XA2 Plus");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Sony", "Xperia XA2 Plus");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 457275,
  "manufacturer": "Sony",
  "model": "Xperia XA2 Plus",
  "network": "GSM / HSPA / LTE",
  "announceDate": "2018, July. Released 2018, September",
  "status": "Discontinued",
  "chipset": "Qualcomm SDM630 Snapdragon 630",
  "androidVersion": "Android 8.0 (Oreo)",
  "battery_raw": "Li-Ion 3580 mAh, non-removable",
  "cpu_raw": "Octa-core 2.2 GHz Cortex-A53",
  "displayResolution_raw": "IPS LCD",
  "displaySize_raw": "6.0 inches, 92.9 cm<sup>2</sup> (~78.9% screen-to-body ratio)",
  "displayType_raw": "IPS LCD",
  "gpu": "Adreno 508",
  "internal_raw": "32GB 4GB RAM, 64GB 6GB RAM",
  "mainCameraFeatures": "LED flash, HDR, panorama",
  "mainCameraSpecs_raw": "23 MP, f/2.0, 24mm (wide), 1/2.3\", PDAF",
  "mainVideoSpecs": "4K@30fps, 1080p@30fps, stereo sound rec., HDR",
  "selfieCameraFeatures": "",
  "selfieCameraSpecs_raw": "8 MP, f/2.4, 1/4.0\"",
  "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-xa2-plus-.jpg",
  "colors": [
    "Silver",
    "Black",
    "Gold",
    "Green"
  ],
  "variants": [
    {
      "id": 511311,
      "model_number": "H4413"
    },
    {
      "id": 511312,
      "model_number": "H4493"
    },
    {
      "id": 511313,
      "model_number": "H3413"
    }
  ],
  "normalized_specs": {
    "id": 457280,
    "display": {
      "id": 457280,
      "size_inches": 6,
      "panel_type": "IPS LCD",
      "refresh_rate_hz": 0,
      "peak_brightness_nits": 0,
      "protection_type": "Corning Gorilla Glass 5"
    },
    "processor": {
      "id": 457280,
      "total_cores": 8,
      "max_clock_speed_ghz": 2.2
    },
    "memory_options": {
      "id": 457280,
      "available_ram_gb": [
        4,
        6
      ],
      "available_storage_gb": [
        32,
        64
      ],
      "has_card_slot": true,
      "storage_technology": ""
    },
    "battery_and_charging": {
      "id": 457280,
      "capacities_mah": [
        3580
      ],
      "max_wired_charging_w": 18,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 457280,
      "main_lenses_count": 1,
      "max_main_resolution_mp": 23,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 457280,
      "height_mm": 157,
      "width_mm": 75,
      "thickness_mm": 9.6,
      "weight_g": 205,
      "build_materials": [
        "Glass front (Gorilla Glass 5)",
        "plastic back",
        "aluminum frame"
      ],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "",
      "is_water_resistant": false
    },
    "sound": {
      "id": 457280,
      "has_stereo_speakers": false,
      "has_jack_35mm": true,
      "audio_quality_features": [
        "Hi-Res audio"
      ]
    },
    "connectivity": {
      "id": 457280,
      "wlan_features": [
        "Wi-Fi 802.11 a/b/g/n",
        "Wi-Fi Direct"
      ],
      "bluetooth_version": 5,
      "bluetooth_features": [
        "A2DP",
        "aptX HD",
        "LE"
      ],
      "positioning_tech": [
        "GPS",
        "GLONASS"
      ],
      "has_nfc": true,
      "has_infrared": false,
      "has_radio": false,
      "usb_type": "USB Type-C 2.0",
      "usb_has_otg": true
    },
    "benchmarks": {
      "id": 457280,
      "antutu_score": "86374 (v7)",
      "geekbench_score": "4144 (v4.4)",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 457280,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

More comparisons