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 K31 vs TCL 20E

TCL 20E leads on 3 of the 5 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 K31

LG K31

2020 · Mediatek MT6762 Helio P22
VS
TCL 20E

TCL 20E

2021 · Mediatek MT6762 Helio P22
SpecificationLG K31TCL 20E
Release
Announced2020, August 21. Released 2020, August 212021, October 12
StatusDiscontinuedAvailable. Released 2021, October 12
Display
Size5.7 in6.52 in
PanelIPS LCDIPS LCD
ResolutionIPS LCDIPS LCD,
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 10, LG UX 9.1Android 11, TCL UI
Memory
RAM options2 GB3 GB / 4 GB
Storage options32 GB64 GB / 128 GB
Storage techeMMC 5.1—
microSD slotYesYes
Battery
Capacity3000 mAh4000 mAh
Wired charging—10 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, f/2.2, 27mm (wide) 1/3.0", 1.12µm, PDAF, 2 MP (macro), Auxiliary lens
Rear video1080p@30fps1080p@30fps
Front camera5 MP, f/2.2, 24mm (wide), 1/5.0", 1.12µm5 MP or 8 MP
Body
Weight146 g190 g
Thickness8.6 mm8.8 mm
Height147.8 mm165.6 mm
Width71.1 mm75.6 mm
Materials—Glass front, plastic frame, plastic back
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
USBmicroUSB 2.0microUSB 2.0
InfraredNoNo

LG K31 JSON

GET/api/values/clean/getspecs/LG/K31
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/LG/K31' \
-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", "K31")
print(device["normalized_specs"]["display"])
TypeScript
import { DeviceSpecsClient } from "@granturismo/devicespecs";
const client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
const device = await client.getSpecs("LG", "K31");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("LG", "K31");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 448368,
  "manufacturer": "LG",
  "model": "K31",
  "network": "GSM / CDMA / HSPA / LTE",
  "announceDate": "2020, August 21. Released 2020, August 21",
  "status": "Discontinued",
  "chipset": "Mediatek MT6762 Helio P22",
  "androidVersion": "Android 10, LG UX 9.1",
  "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 2GB 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-k31.jpg",
  "colors": [
    "Gray"
  ],
  "variants": [
    {
      "id": 500758,
      "model_number": "LM-K300Q"
    },
    {
      "id": 500759,
      "model_number": "LMK300"
    },
    {
      "id": 500760,
      "model_number": "LGL355DL"
    }
  ],
  "normalized_specs": {
    "id": 448373,
    "display": {
      "id": 448373,
      "size_inches": 5.7,
      "panel_type": "IPS LCD",
      "refresh_rate_hz": 0,
      "peak_brightness_nits": 0,
      "protection_type": ""
    },
    "processor": {
      "id": 448373,
      "total_cores": 8,
      "max_clock_speed_ghz": 2
    },
    "memory_options": {
      "id": 448373,
      "available_ram_gb": [
        2
      ],
      "available_storage_gb": [
        32
      ],
      "has_card_slot": true,
      "storage_technology": "eMMC 5.1"
    },
    "battery_and_charging": {
      "id": 448373,
      "capacities_mah": [
        3000
      ],
      "max_wired_charging_w": 0,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 448373,
      "main_lenses_count": 2,
      "max_main_resolution_mp": 13,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 448373,
      "height_mm": 147.8,
      "width_mm": 71.1,
      "thickness_mm": 8.6,
      "weight_g": 146,
      "build_materials": [],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "",
      "is_water_resistant": false
    },
    "sound": {
      "id": 448373,
      "has_stereo_speakers": false,
      "has_jack_35mm": true,
      "audio_quality_features": []
    },
    "connectivity": {
      "id": 448373,
      "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": 448373,
      "antutu_score": "",
      "geekbench_score": "",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 448373,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

TCL 20E JSON

GET/api/values/clean/getspecs/TCL/20E
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/TCL/20E' \
-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", "20E")
print(device["normalized_specs"]["display"])
TypeScript
import { DeviceSpecsClient } from "@granturismo/devicespecs";
const client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
const device = await client.getSpecs("TCL", "20E");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("TCL", "20E");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 453392,
  "manufacturer": "TCL",
  "model": "20E",
  "network": "GSM / HSPA / LTE",
  "announceDate": "2021, October 12",
  "status": "Available. Released 2021, October 12",
  "chipset": "Mediatek MT6762 Helio P22",
  "androidVersion": "Android 11, TCL UI",
  "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> (~82.0% screen-to-body ratio)",
  "displayType_raw": "IPS LCD,",
  "gpu": "PowerVR GE8320",
  "internal_raw": "64GB 3GB RAM, 64GB 4GB RAM, 128GB 4GB RAM",
  "mainCameraFeatures": "LED flash, HDR, panorama",
  "mainCameraSpecs_raw": "13 MP, f/2.2, 27mm (wide) 1/3.0\", 1.12µm, PDAF<br>\n2 MP (macro)<br>\nAuxiliary lens",
  "mainVideoSpecs": "1080p@30fps",
  "selfieCameraFeatures": "",
  "selfieCameraSpecs_raw": "5 MP or 8 MP",
  "selfieVideoSpecs": "720p@30fps",
  "sensors": "",
  "charging_raw": "10W wired",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/tcl-20e.jpg",
  "colors": [
    "Black",
    "Blue",
    "Green"
  ],
  "variants": [
    {
      "id": 508643,
      "model_number": "6125F"
    },
    {
      "id": 508644,
      "model_number": "6125D"
    },
    {
      "id": 508645,
      "model_number": "6125H"
    }
  ],
  "normalized_specs": {
    "id": 453397,
    "display": {
      "id": 453397,
      "size_inches": 6.52,
      "panel_type": "IPS LCD",
      "refresh_rate_hz": 0,
      "peak_brightness_nits": 0,
      "protection_type": ""
    },
    "processor": {
      "id": 453397,
      "total_cores": 8,
      "max_clock_speed_ghz": 2
    },
    "memory_options": {
      "id": 453397,
      "available_ram_gb": [
        3,
        4
      ],
      "available_storage_gb": [
        64,
        128
      ],
      "has_card_slot": true,
      "storage_technology": ""
    },
    "battery_and_charging": {
      "id": 453397,
      "capacities_mah": [
        4000
      ],
      "max_wired_charging_w": 10,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 453397,
      "main_lenses_count": 2,
      "max_main_resolution_mp": 13,
      "selfie_lenses_count": 2
    },
    "physical": {
      "id": 453397,
      "height_mm": 165.6,
      "width_mm": 75.6,
      "thickness_mm": 8.8,
      "weight_g": 190,
      "build_materials": [
        "Glass front",
        "plastic frame",
        "plastic back"
      ],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "",
      "is_water_resistant": false
    },
    "sound": {
      "id": 453397,
      "has_stereo_speakers": false,
      "has_jack_35mm": true,
      "audio_quality_features": []
    },
    "connectivity": {
      "id": 453397,
      "wlan_features": [
        "Wi-Fi 802.11 b/g/n"
      ],
      "bluetooth_version": 5,
      "bluetooth_features": [
        "A2DP",
        "LE"
      ],
      "positioning_tech": [
        "GPS",
        "GLONASS",
        "GALILEO",
        "BDS"
      ],
      "has_nfc": false,
      "has_infrared": false,
      "has_radio": false,
      "usb_type": "microUSB 2.0",
      "usb_has_otg": false
    },
    "benchmarks": {
      "id": 453397,
      "antutu_score": "",
      "geekbench_score": "",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 453397,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

More comparisons