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 Ultra

On the 8 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.

Motorola Moto X4

Motorola Moto X4

2017 · Qualcomm SDM630 Snapdragon 630
VS
Sony Xperia XA2 Ultra

Sony Xperia XA2 Ultra

2018 · Qualcomm SDM630 Snapdragon 630
SpecificationMotorola Moto X4Sony Xperia XA2 Ultra
Release
Announced2017, August. Released 2017, October2018, January. Released 2018, February
StatusDiscontinuedDiscontinued
Display
Size5.2 in6 in
PanelIPS LCDIPS LCD
ResolutionIPS LCDIPS LCD
ProtectionCorning Gorilla Glass 3Corning Gorilla Glass 4
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), upgradable to Android 9.0 (Pie)
AnTuTu—89110 (v7) GeekBench: 4198 (v4.4) GFXBench: 6fps (ES 3.1 onscreen)
Geekbench4136 (v4.4) GFXBench: 5.8fps (ES 3.1 onscreen)4198 (v4.4) GFXBench: 6fps (ES 3.1 onscreen)
Memory
RAM options3 GB / 4 GB / 6 GB4 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µm16 MP, f/2.0, 23mm (wide), 1/2.6", OIS, AF, 8 MP, f/2.4, 1/4.0"
Body
Weight163 g221 g
Thickness8 mm9.5 mm
Height148.4 mm163 mm
Width73.4 mm80 mm
IP ratingIP68—
MaterialsGlass front (Gorilla Glass 3), glass back (Gorilla Glass 3), aluminum frameGlass front (Gorilla Glass 4), 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/ac, dual-band, 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 Ultra JSON

GET/api/values/clean/getspecs/Sony/Xperia%20XA2%20Ultra
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Sony/Xperia%20XA2%20Ultra' \
-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 Ultra")
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 Ultra");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Sony", "Xperia XA2 Ultra");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 457280,
  "manufacturer": "Sony",
  "model": "Xperia XA2 Ultra",
  "network": "GSM / HSPA / LTE",
  "announceDate": "2018, January. Released 2018, February",
  "status": "Discontinued",
  "chipset": "Qualcomm SDM630 Snapdragon 630",
  "androidVersion": "Android 8.0 (Oreo), upgradable to Android 9.0 (Pie)",
  "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, 99.2 cm<sup>2</sup> (~76.1% screen-to-body ratio)",
  "displayType_raw": "IPS LCD",
  "gpu": "Adreno 508",
  "internal_raw": "32GB 4GB RAM, 64GB 4GB 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": "16 MP, f/2.0, 23mm (wide), 1/2.6\", OIS, AF<br>\n8 MP, f/2.4, 1/4.0\"",
  "selfieVideoSpecs": "1080p@30ps",
  "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-ultra-.jpg",
  "colors": [
    "Silver",
    "Black",
    "Blue",
    "Gold"
  ],
  "variants": [
    {
      "id": 511329,
      "model_number": "H4213"
    },
    {
      "id": 511330,
      "model_number": "H4233"
    },
    {
      "id": 511331,
      "model_number": "H3213"
    },
    {
      "id": 511332,
      "model_number": "H3223"
    }
  ],
  "normalized_specs": {
    "id": 457285,
    "display": {
      "id": 457285,
      "size_inches": 6,
      "panel_type": "IPS LCD",
      "refresh_rate_hz": 0,
      "peak_brightness_nits": 0,
      "protection_type": "Corning Gorilla Glass 4"
    },
    "processor": {
      "id": 457285,
      "total_cores": 8,
      "max_clock_speed_ghz": 2.2
    },
    "memory_options": {
      "id": 457285,
      "available_ram_gb": [
        4
      ],
      "available_storage_gb": [
        32,
        64
      ],
      "has_card_slot": true,
      "storage_technology": ""
    },
    "battery_and_charging": {
      "id": 457285,
      "capacities_mah": [
        3580
      ],
      "max_wired_charging_w": 18,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 457285,
      "main_lenses_count": 1,
      "max_main_resolution_mp": 23,
      "selfie_lenses_count": 2
    },
    "physical": {
      "id": 457285,
      "height_mm": 163,
      "width_mm": 80,
      "thickness_mm": 9.5,
      "weight_g": 221,
      "build_materials": [
        "Glass front (Gorilla Glass 4)",
        "plastic back",
        "aluminum frame"
      ],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "",
      "is_water_resistant": false
    },
    "sound": {
      "id": 457285,
      "has_stereo_speakers": false,
      "has_jack_35mm": true,
      "audio_quality_features": [
        "Hi-Res audio"
      ]
    },
    "connectivity": {
      "id": 457285,
      "wlan_features": [
        "Wi-Fi 802.11 a/b/g/n/ac",
        "dual-band",
        "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": 457285,
      "antutu_score": "89110 (v7)  GeekBench: 4198 (v4.4)  GFXBench: 6fps (ES 3.1 onscreen)",
      "geekbench_score": "4198 (v4.4)  GFXBench: 6fps (ES 3.1 onscreen)",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 457285,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

More comparisons