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

Google Pixel 4a vs Xiaomi Poco X2

Xiaomi Poco X2 leads on 6 of the 8 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.

Google Pixel 4a

Google Pixel 4a

2020 · Qualcomm SDM730 Snapdragon 730G
VS
Xiaomi Poco X2

Xiaomi Poco X2

2020 · Qualcomm SDM730 Snapdragon 730G
SpecificationGoogle Pixel 4aXiaomi Poco X2
Release
Announced2020, August 032020, February 04. Released 2020, February 11
StatusAvailable. Released 2020, August 20Discontinued
Display
Size5.81 in6.67 in
PanelOLEDIPS LCD
Refresh rate—120 Hz
Peak brightness—500 nits
ResolutionOLED, HDRIPS LCD, 120Hz, HDR10, 500 nits (typ)
ProtectionCorning Gorilla Glass 3Corning Gorilla Glass 5
Platform
ChipsetQualcomm SDM730 Snapdragon 730GQualcomm SDM730 Snapdragon 730G
CPUOcta-core (2x2.2 GHz Kryo 470 Gold & 6x1.8 GHz Kryo 470 Silver)Octa-core (2x2.2 GHz Kryo 470 Gold & 6x1.8 GHz Kryo 470 Silver)
Cores88
Max clock2.2 GHz2.2 GHz
GPUAdreno 618Adreno 618
OSAndroid 10, upgradable to Android 13Android 10, upgradable to Android 11, MIUI 12.5
AnTuTu268714 (v8) GeekBench: 6426 (v4.4)—
Geekbench6426 (v4.4)—
Memory
RAM options6 GB6 GB / 8 GB
Storage options128 GB64 GB / 128 GB / 256 GB
Storage techUFS 2.1UFS 2.1
microSD slotNoYes
Battery
Capacity3140 mAh4500 mAh
Wired charging18 W27 W
Wireless chargingNoNo
Cameras
Rear lenses13
Main resolution12 MP64 MP
Rear camera12.2 MP, f/1.7, 27mm (wide), 1/2.55", 1.4µm, dual pixel PDAF, OIS64 MP, f/1.9, 26mm (wide), 1/1.72", 0.8µm, PDAF, 8 MP, f/2.2, 13mm (ultrawide), 1/4.0", 1.12µm, 2 MP (macro), Auxiliary lens
Rear video4K@30fps, 1080p@30/60/120fps; gyro-EIS4K@30fps, 1080p@30/120fps, 720p@960fps; gyro-EIS
Front camera8 MP, f/2.0, 24mm (wide), 1.12µm20 MP, f/2.2, 27mm (wide), 1/3.4", 0.8µm, 2 MP, f/2.4, (depth)
Body
Weight143 g208 g
Thickness8.2 mm8.8 mm
Height144 mm165.3 mm
Width69.4 mm76.6 mm
MaterialsGlass front (Gorilla Glass 3), plastic back, plastic frameGlass front (Gorilla Glass 5), glass back (Gorilla Glass 5), plastic frame
SIMNano-SIM, eSIMNano-SIM
Sound and connectivity
Stereo speakersYesNo
3.5 mm jackYesYes
NFCYesNo
Bluetooth55
Wi-FiWi-Fi 802.11 a/b/g/n/ac, dual-band, Wi-Fi Direct, DLNAWi-Fi 802.11 a/b/g/n/ac, dual-band, Wi-Fi Direct
USBUSB Type-C 3.1USB Type-C 2.0
InfraredNoYes

Google Pixel 4a JSON

GET/api/values/clean/getspecs/Google/Pixel%204a
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Google/Pixel%204a' \
-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("Google", "Pixel 4a")
print(device["normalized_specs"]["display"])
TypeScript
import { DeviceSpecsClient } from "@granturismo/devicespecs";
const client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
const device = await client.getSpecs("Google", "Pixel 4a");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Google", "Pixel 4a");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 452215,
  "manufacturer": "Google",
  "model": "Pixel 4a",
  "network": "GSM / HSPA / LTE",
  "announceDate": "2020, August 03",
  "status": "Available. Released 2020, August 20",
  "chipset": "Qualcomm SDM730 Snapdragon 730G",
  "androidVersion": "Android 10, upgradable to Android 13",
  "battery_raw": "Li-Po 3140 mAh",
  "cpu_raw": "Octa-core (2x2.2 GHz Kryo 470 Gold & 6x1.8 GHz Kryo 470 Silver)",
  "displayResolution_raw": "OLED, HDR",
  "displaySize_raw": "5.81 inches, 83.2 cm<sup>2</sup> (~83.3% screen-to-body ratio)",
  "displayType_raw": "OLED, HDR",
  "gpu": "Adreno 618",
  "internal_raw": "128GB 6GB RAM",
  "mainCameraFeatures": "LED flash, Pixel Shift, Auto-HDR, panorama",
  "mainCameraSpecs_raw": "12.2 MP, f/1.7, 27mm (wide), 1/2.55\", 1.4µm, dual pixel PDAF, OIS",
  "mainVideoSpecs": "4K@30fps, 1080p@30/60/120fps; gyro-EIS",
  "selfieCameraFeatures": "HDR",
  "selfieCameraSpecs_raw": "8 MP, f/2.0, 24mm (wide), 1.12µm",
  "selfieVideoSpecs": "1080p@30fps",
  "sensors": "",
  "charging_raw": "18W wired, PD2.0",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/google-pixel-4a.jpg",
  "colors": [
    "Just Black",
    "Barely Blue"
  ],
  "variants": [
    {
      "id": 506082,
      "model_number": "G025J"
    },
    {
      "id": 506083,
      "model_number": "GA02099"
    },
    {
      "id": 506084,
      "model_number": "G025N"
    }
  ],
  "normalized_specs": {
    "id": 452220,
    "display": {
      "id": 452220,
      "size_inches": 5.81,
      "panel_type": "OLED",
      "refresh_rate_hz": 0,
      "peak_brightness_nits": 0,
      "protection_type": "Corning Gorilla Glass 3"
    },
    "processor": {
      "id": 452220,
      "total_cores": 8,
      "max_clock_speed_ghz": 2.2
    },
    "memory_options": {
      "id": 452220,
      "available_ram_gb": [
        6
      ],
      "available_storage_gb": [
        128
      ],
      "has_card_slot": false,
      "storage_technology": "UFS 2.1"
    },
    "battery_and_charging": {
      "id": 452220,
      "capacities_mah": [
        3140
      ],
      "max_wired_charging_w": 18,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 452220,
      "main_lenses_count": 1,
      "max_main_resolution_mp": 12,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 452220,
      "height_mm": 144,
      "width_mm": 69.4,
      "thickness_mm": 8.2,
      "weight_g": 143,
      "build_materials": [
        "Glass front (Gorilla Glass 3)",
        "plastic back",
        "plastic frame"
      ],
      "sim_options": [
        "Nano-SIM",
        "eSIM"
      ],
      "ip_rating": "",
      "is_water_resistant": false
    },
    "sound": {
      "id": 452220,
      "has_stereo_speakers": true,
      "has_jack_35mm": true,
      "audio_quality_features": []
    },
    "connectivity": {
      "id": 452220,
      "wlan_features": [
        "Wi-Fi 802.11 a/b/g/n/ac",
        "dual-band",
        "Wi-Fi Direct",
        "DLNA"
      ],
      "bluetooth_version": 5,
      "bluetooth_features": [
        "A2DP",
        "LE",
        "aptX HD"
      ],
      "positioning_tech": [
        "GPS",
        "GLONASS",
        "GALILEO",
        "QZSS",
        "BDS"
      ],
      "has_nfc": true,
      "has_infrared": false,
      "has_radio": false,
      "usb_type": "USB Type-C 3.1",
      "usb_has_otg": false
    },
    "benchmarks": {
      "id": 452220,
      "antutu_score": "268714 (v8)  GeekBench: 6426 (v4.4)",
      "geekbench_score": "6426 (v4.4)",
      "measured_display_brightness_nits": 803,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 452220,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

Xiaomi Poco X2 JSON

GET/api/values/clean/getspecs/Xiaomi/Poco%20X2
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Xiaomi/Poco%20X2' \
-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", "Poco X2")
print(device["normalized_specs"]["display"])
TypeScript
import { DeviceSpecsClient } from "@granturismo/devicespecs";
const client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
const device = await client.getSpecs("Xiaomi", "Poco X2");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Xiaomi", "Poco X2");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 448161,
  "manufacturer": "Xiaomi",
  "model": "Poco X2",
  "network": "GSM / HSPA / LTE",
  "announceDate": "2020, February 04. Released 2020, February 11",
  "status": "Discontinued",
  "chipset": "Qualcomm SDM730 Snapdragon 730G",
  "androidVersion": "Android 10, upgradable to Android 11, MIUI 12.5",
  "battery_raw": "Li-Po 4500 mAh",
  "cpu_raw": "Octa-core (2x2.2 GHz Kryo 470 Gold &amp; 6x1.8 GHz Kryo 470 Silver)",
  "displayResolution_raw": "IPS LCD, 120Hz, HDR10, 500 nits (typ)",
  "displaySize_raw": "6.67 inches, 107.4 cm<sup>2</sup> (~84.8% screen-to-body ratio)",
  "displayType_raw": "IPS LCD, 120Hz, HDR10, 500 nits (typ)",
  "gpu": "Adreno 618",
  "internal_raw": "64GB 6GB RAM, 128GB 6GB RAM, 256GB 8GB RAM",
  "mainCameraFeatures": "Dual-LED flash, HDR, panorama",
  "mainCameraSpecs_raw": "64 MP, f/1.9, 26mm (wide), 1/1.72\", 0.8µm, PDAF<br>\n8 MP, f/2.2, 13mm (ultrawide), 1/4.0\", 1.12µm<br>\n2 MP (macro)<br>\nAuxiliary lens",
  "mainVideoSpecs": "4K@30fps, 1080p@30/120fps, 720p@960fps; gyro-EIS",
  "selfieCameraFeatures": "HDR",
  "selfieCameraSpecs_raw": "20 MP, f/2.2, 27mm (wide), 1/3.4\", 0.8µm<br>\n2 MP, f/2.4, (depth)",
  "selfieVideoSpecs": "1080p@30fps",
  "sensors": "",
  "charging_raw": "27W wired, 100% in 68 min",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/xiaomi-poco-x2.jpg",
  "colors": [
    "Atlantis Blue",
    "Matrix Purple",
    "Phoenix Red"
  ],
  "variants": [
    {
      "id": 500542,
      "model_number": "MZB9011IN"
    },
    {
      "id": 500543,
      "model_number": "MZB9012IN"
    },
    {
      "id": 500544,
      "model_number": "MZB9013IN"
    },
    {
      "id": 500545,
      "model_number": "MZB8741IN"
    },
    {
      "id": 500546,
      "model_number": "MZB8742IN"
    },
    {
      "id": 500547,
      "model_number": "MZB8743IN"
    },
    {
      "id": 500548,
      "model_number": "MZB8744IN"
    },
    {
      "id": 500549,
      "model_number": "MZB8745IN"
    },
    {
      "id": 500550,
      "model_number": "MZB8746IN"
    }
  ],
  "normalized_specs": {
    "id": 448166,
    "display": {
      "id": 448166,
      "size_inches": 6.67,
      "panel_type": "IPS LCD",
      "refresh_rate_hz": 120,
      "peak_brightness_nits": 500,
      "protection_type": "Corning Gorilla Glass 5"
    },
    "processor": {
      "id": 448166,
      "total_cores": 8,
      "max_clock_speed_ghz": 2.2
    },
    "memory_options": {
      "id": 448166,
      "available_ram_gb": [
        6,
        8
      ],
      "available_storage_gb": [
        64,
        128,
        256
      ],
      "has_card_slot": true,
      "storage_technology": "UFS 2.1"
    },
    "battery_and_charging": {
      "id": 448166,
      "capacities_mah": [
        4500
      ],
      "max_wired_charging_w": 27,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 448166,
      "main_lenses_count": 3,
      "max_main_resolution_mp": 64,
      "selfie_lenses_count": 2
    },
    "physical": {
      "id": 448166,
      "height_mm": 165.3,
      "width_mm": 76.6,
      "thickness_mm": 8.8,
      "weight_g": 208,
      "build_materials": [
        "Glass front (Gorilla Glass 5)",
        "glass back (Gorilla Glass 5)",
        "plastic frame"
      ],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "",
      "is_water_resistant": false
    },
    "sound": {
      "id": 448166,
      "has_stereo_speakers": false,
      "has_jack_35mm": true,
      "audio_quality_features": [
        "24-bit/192kHz Hi-Res audio"
      ]
    },
    "connectivity": {
      "id": 448166,
      "wlan_features": [
        "Wi-Fi 802.11 a/b/g/n/ac",
        "dual-band",
        "Wi-Fi Direct"
      ],
      "bluetooth_version": 5,
      "bluetooth_features": [
        "A2DP",
        "LE"
      ],
      "positioning_tech": [
        "GPS",
        "GLONASS",
        "BDS"
      ],
      "has_nfc": false,
      "has_infrared": true,
      "has_radio": false,
      "usb_type": "USB Type-C 2.0",
      "usb_has_otg": true
    },
    "benchmarks": {
      "id": 448166,
      "antutu_score": "",
      "geekbench_score": "",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 448166,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

More comparisons