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 W31 vs TCL 20 XE

LG W31 leads on 4 of the 6 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 W31

LG W31

2020 · Mediatek MT6762 Helio P22
VS
TCL 20 XE

TCL 20 XE

2021 · Mediatek MT6762 Helio P22
SpecificationLG W31TCL 20 XE
Release
Announced2020, November 06. Released 2020, December 232021, December
StatusDiscontinuedAvailable. Released 2021, December
Display
Size6.52 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 options4 GB3 GB
Storage options64 GB / 128 GB32 GB
Storage techeMMC 5.1—
microSD slotYesYes
Battery
Capacity4000 mAh5000 mAh
Wired charging—18 W
Wireless chargingNoNo
Cameras
Rear lenses22
Main resolution13 MP13 MP
Rear camera13 MP, (wide), 1/3.0", 1.12µm, PDAF, 5 MP, (ultrawide), Auxiliary lens13 MP, 27mm (wide), 1.12µm, AF, 2 MP (macro), Auxiliary lens
Rear video1080p@30fps1080p@30fps
Front camera8 MP, (wide)5 MP
Body
Weight6 g195 g
Thickness8.4 mm9 mm
Height166.2 mm164.6 mm
Width76.3 mm75 mm
SIMNano-SIMNano-SIM
Sound and connectivity
Stereo speakersNoNo
3.5 mm jackYesYes
NFCNoNo
Bluetooth4.25
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 W31 JSON

GET/api/values/clean/getspecs/LG/W31
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/LG/W31' \
-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", "W31")
print(device["normalized_specs"]["display"])
TypeScript
import { DeviceSpecsClient } from "@granturismo/devicespecs";
const client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
const device = await client.getSpecs("LG", "W31");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("LG", "W31");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 448356,
  "manufacturer": "LG",
  "model": "W31",
  "network": "GSM / HSPA / LTE",
  "announceDate": "2020, November 06. Released 2020, December 23",
  "status": "Discontinued",
  "chipset": "Mediatek MT6762 Helio P22",
  "androidVersion": "Android 10",
  "battery_raw": "Li-Po 4000 mAh",
  "cpu_raw": "Octa-core 2.0 GHz Cortex-A53",
  "displayResolution_raw": "IPS LCD",
  "displaySize_raw": "6.52 inches, 102.6 cm<sup>2</sup> (~80.9% screen-to-body ratio)",
  "displayType_raw": "IPS LCD",
  "gpu": "PowerVR GE8320",
  "internal_raw": "64GB 4GB RAM, 128GB 4GB RAM",
  "mainCameraFeatures": "LED flash, panorama, HDR",
  "mainCameraSpecs_raw": "13 MP, (wide), 1/3.0\", 1.12µm, PDAF<br>\n5 MP, (ultrawide)<br>\nAuxiliary lens",
  "mainVideoSpecs": "1080p@30fps",
  "selfieCameraFeatures": "",
  "selfieCameraSpecs_raw": "8 MP, (wide)",
  "selfieVideoSpecs": "1080p@30fps",
  "sensors": "",
  "charging_raw": "",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/lg-w31.jpg",
  "colors": [
    "Midnight Blue"
  ],
  "variants": [
    {
      "id": 500719,
      "model_number": "LMK315IM"
    },
    {
      "id": 500720,
      "model_number": "LM-K315"
    },
    {
      "id": 500721,
      "model_number": "LM-K315IM"
    }
  ],
  "normalized_specs": {
    "id": 448361,
    "display": {
      "id": 448361,
      "size_inches": 6.52,
      "panel_type": "IPS LCD",
      "refresh_rate_hz": 0,
      "peak_brightness_nits": 0,
      "protection_type": ""
    },
    "processor": {
      "id": 448361,
      "total_cores": 8,
      "max_clock_speed_ghz": 2
    },
    "memory_options": {
      "id": 448361,
      "available_ram_gb": [
        4
      ],
      "available_storage_gb": [
        64,
        128
      ],
      "has_card_slot": true,
      "storage_technology": "eMMC 5.1"
    },
    "battery_and_charging": {
      "id": 448361,
      "capacities_mah": [
        4000
      ],
      "max_wired_charging_w": 0,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 448361,
      "main_lenses_count": 2,
      "max_main_resolution_mp": 13,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 448361,
      "height_mm": 166.2,
      "width_mm": 76.3,
      "thickness_mm": 8.4,
      "weight_g": 6,
      "build_materials": [],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "",
      "is_water_resistant": false
    },
    "sound": {
      "id": 448361,
      "has_stereo_speakers": false,
      "has_jack_35mm": true,
      "audio_quality_features": []
    },
    "connectivity": {
      "id": 448361,
      "wlan_features": [
        "Wi-Fi 802.11 b/g/n",
        "Wi-Fi Direct"
      ],
      "bluetooth_version": 4.2,
      "bluetooth_features": [
        "A2DP",
        "LE"
      ],
      "positioning_tech": [
        "GPS",
        "GLONASS"
      ],
      "has_nfc": false,
      "has_infrared": false,
      "has_radio": false,
      "usb_type": "microUSB 2.0",
      "usb_has_otg": true
    },
    "benchmarks": {
      "id": 448361,
      "antutu_score": "",
      "geekbench_score": "",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 448361,
      "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