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

LG Q31 vs TCL 20 XE

LG Q31 leads on 2 of the 3 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.

LG Q31

LG Q31

2020 · Mediatek MT6762 Helio P22
VS
TCL 20 XE

TCL 20 XE

2021 · Mediatek MT6762 Helio P22
SpecificationLG Q31TCL 20 XE
Release
Announced2020, September 17. Released 2020, September 252021, December
StatusDiscontinuedAvailable. Released 2021, December
Display
Size5.7 in6.52 in
PanelIPS LCDIPS LCD
Peak brightness—450 nits
ResolutionIPS LCDIPS LCD, 450 nits
Platform
ChipsetMediatek MT6762 Helio P22Mediatek MT6762 Helio P22
CPUOcta-core 2.0 GHz Cortex-A53Octa-core 2.0 GHz Cortex-A53
Cores88
Max clock2 GHz2 GHz
GPUPowerVR GE8320PowerVR GE8320
OSAndroid 10Android 11, TCL UI 3.0
Memory
RAM options3 GB3 GB
Storage options32 GB32 GB
Storage techeMMC 5.1—
microSD slotYesYes
Battery
Capacity3000 mAh5000 mAh
Wired charging—18 W
Wireless chargingNoNo
Cameras
Rear lenses22
Main resolution13 MP13 MP
Rear camera13 MP, f/1.8, 27mm (wide), 1/3.1", 1.12µm, PDAF, 5 MP, f/2.2, 120˚ (ultrawide), 1/5.0", 1.12µm13 MP, 27mm (wide), 1.12µm, AF, 2 MP (macro), Auxiliary lens
Rear video1080p@30fps1080p@30fps
Front camera5 MP, f/2.2, 24mm (wide), 1/5.0", 1.12µm5 MP
Body
Weight145 g195 g
Thickness8.7 mm9 mm
Height147.9 mm164.6 mm
Width71 mm75 mm
SIMNano-SIMNano-SIM
Sound and connectivity
Stereo speakersNoNo
3.5 mm jackYesYes
NFCNoNo
Bluetooth55
Wi-FiWi-Fi 802.11 b/g/n, Wi-Fi DirectWi-Fi 802.11 b/g/n, Wi-Fi Direct
USBmicroUSB 2.0USB Type-C 2.0
InfraredNoNo

LG Q31 JSON

GET/api/values/clean/getspecs/LG/Q31
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/LG/Q31' \
-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("LG", "Q31")
print(device["normalized_specs"]["display"])
TypeScript
import { DeviceSpecsClient } from "@granturismo/devicespecs";
const client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
const device = await client.getSpecs("LG", "Q31");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("LG", "Q31");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 448367,
  "manufacturer": "LG",
  "model": "Q31",
  "network": "GSM / HSPA / LTE",
  "announceDate": "2020, September 17. Released 2020, September 25",
  "status": "Discontinued",
  "chipset": "Mediatek MT6762 Helio P22",
  "androidVersion": "Android 10",
  "battery_raw": "Li-Ion 3000 mAh",
  "cpu_raw": "Octa-core 2.0 GHz Cortex-A53",
  "displayResolution_raw": "IPS LCD",
  "displaySize_raw": "5.7 inches, 81.1 cm<sup>2</sup> (~77.2% screen-to-body ratio)",
  "displayType_raw": "IPS LCD",
  "gpu": "PowerVR GE8320",
  "internal_raw": "32GB 3GB RAM",
  "mainCameraFeatures": "LED flash, panorama, HDR",
  "mainCameraSpecs_raw": "13 MP, f/1.8, 27mm (wide), 1/3.1\", 1.12µm, PDAF<br>\n5 MP, f/2.2, 120˚ (ultrawide), 1/5.0\", 1.12µm",
  "mainVideoSpecs": "1080p@30fps",
  "selfieCameraFeatures": "",
  "selfieCameraSpecs_raw": "5 MP, f/2.2, 24mm (wide), 1/5.0\", 1.12µm",
  "selfieVideoSpecs": "1080p@30fps",
  "sensors": "",
  "charging_raw": "",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/lg-q31.jpg",
  "colors": [
    "Silver"
  ],
  "variants": [
    {
      "id": 500757,
      "model_number": "LM-Q310N"
    }
  ],
  "normalized_specs": {
    "id": 448372,
    "display": {
      "id": 448372,
      "size_inches": 5.7,
      "panel_type": "IPS LCD",
      "refresh_rate_hz": 0,
      "peak_brightness_nits": 0,
      "protection_type": ""
    },
    "processor": {
      "id": 448372,
      "total_cores": 8,
      "max_clock_speed_ghz": 2
    },
    "memory_options": {
      "id": 448372,
      "available_ram_gb": [
        3
      ],
      "available_storage_gb": [
        32
      ],
      "has_card_slot": true,
      "storage_technology": "eMMC 5.1"
    },
    "battery_and_charging": {
      "id": 448372,
      "capacities_mah": [
        3000
      ],
      "max_wired_charging_w": 0,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 448372,
      "main_lenses_count": 2,
      "max_main_resolution_mp": 13,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 448372,
      "height_mm": 147.9,
      "width_mm": 71,
      "thickness_mm": 8.7,
      "weight_g": 145,
      "build_materials": [],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "",
      "is_water_resistant": false
    },
    "sound": {
      "id": 448372,
      "has_stereo_speakers": false,
      "has_jack_35mm": true,
      "audio_quality_features": []
    },
    "connectivity": {
      "id": 448372,
      "wlan_features": [
        "Wi-Fi 802.11 b/g/n",
        "Wi-Fi Direct"
      ],
      "bluetooth_version": 5,
      "bluetooth_features": [
        "A2DP",
        "LE"
      ],
      "positioning_tech": [
        "GPS"
      ],
      "has_nfc": false,
      "has_infrared": false,
      "has_radio": false,
      "usb_type": "microUSB 2.0",
      "usb_has_otg": false
    },
    "benchmarks": {
      "id": 448372,
      "antutu_score": "",
      "geekbench_score": "",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 448372,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

TCL 20 XE JSON

GET/api/values/clean/getspecs/TCL/20%20XE
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/TCL/20%20XE' \
-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("TCL", "20 XE")
print(device["normalized_specs"]["display"])
TypeScript
import { DeviceSpecsClient } from "@granturismo/devicespecs";
const client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
const device = await client.getSpecs("TCL", "20 XE");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("TCL", "20 XE");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 453391,
  "manufacturer": "TCL",
  "model": "20 XE",
  "network": "GSM / HSPA / LTE",
  "announceDate": "2021, December",
  "status": "Available. Released 2021, December",
  "chipset": "Mediatek MT6762 Helio P22",
  "androidVersion": "Android 11, TCL UI 3.0",
  "battery_raw": "Li-Po 5000 mAh",
  "cpu_raw": "Octa-core 2.0 GHz Cortex-A53",
  "displayResolution_raw": "IPS LCD, 450 nits",
  "displaySize_raw": "6.52 inches, 102.6 cm<sup>2</sup> (~83.1% screen-to-body ratio)",
  "displayType_raw": "IPS LCD, 450 nits",
  "gpu": "PowerVR GE8320",
  "internal_raw": "32GB 3GB RAM",
  "mainCameraFeatures": "LED flash, HDR",
  "mainCameraSpecs_raw": "13 MP, 27mm (wide), 1.12µm, AF<br>\n2 MP (macro)<br>\nAuxiliary lens",
  "mainVideoSpecs": "1080p@30fps",
  "selfieCameraFeatures": "",
  "selfieCameraSpecs_raw": "5 MP",
  "selfieVideoSpecs": "1080p@30fps",
  "sensors": "",
  "charging_raw": "18W wired",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/tcl-20xe.jpg",
  "colors": [
    "Moonlight Grey"
  ],
  "variants": [
    {
      "id": 508642,
      "model_number": "5087Z"
    }
  ],
  "normalized_specs": {
    "id": 453396,
    "display": {
      "id": 453396,
      "size_inches": 6.52,
      "panel_type": "IPS LCD",
      "refresh_rate_hz": 0,
      "peak_brightness_nits": 450,
      "protection_type": ""
    },
    "processor": {
      "id": 453396,
      "total_cores": 8,
      "max_clock_speed_ghz": 2
    },
    "memory_options": {
      "id": 453396,
      "available_ram_gb": [
        3
      ],
      "available_storage_gb": [
        32
      ],
      "has_card_slot": true,
      "storage_technology": ""
    },
    "battery_and_charging": {
      "id": 453396,
      "capacities_mah": [
        5000
      ],
      "max_wired_charging_w": 18,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 453396,
      "main_lenses_count": 2,
      "max_main_resolution_mp": 13,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 453396,
      "height_mm": 164.6,
      "width_mm": 75,
      "thickness_mm": 9,
      "weight_g": 195,
      "build_materials": [],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "",
      "is_water_resistant": false
    },
    "sound": {
      "id": 453396,
      "has_stereo_speakers": false,
      "has_jack_35mm": true,
      "audio_quality_features": []
    },
    "connectivity": {
      "id": 453396,
      "wlan_features": [
        "Wi-Fi 802.11 b/g/n",
        "Wi-Fi Direct"
      ],
      "bluetooth_version": 5,
      "bluetooth_features": [
        "A2DP",
        "LE"
      ],
      "positioning_tech": [
        "GPS"
      ],
      "has_nfc": false,
      "has_infrared": false,
      "has_radio": false,
      "usb_type": "USB Type-C 2.0",
      "usb_has_otg": true
    },
    "benchmarks": {
      "id": 453396,
      "antutu_score": "",
      "geekbench_score": "",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 453396,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

More comparisons