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

Honor View30 vs Huawei P40 4G

Huawei P40 4G 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.

Honor View30

Honor View30

2020 · Kirin 990
VS
Huawei P40 4G

Huawei P40 4G

2021 · Kirin 990
SpecificationHonor View30Huawei P40 4G
Release
Announced2020, February 24. Released 2020, April 272021, February 26
StatusDiscontinuedAvailable. Released 2021, February 26
Display
Size6.57 in6.1 in
PanelIPS LCDOLED
ResolutionIPS LCDOLED
ProtectionYes—
Platform
ChipsetKirin 990Kirin 990
CPUOcta-core (2x2.86 GHz Cortex-A76 & 2x2.09 GHz Cortex-A76 & 4x1.86 GHz Cortex-A55)Octa-core (2x2.86 GHz Cortex-A76 & 2x2.09 GHz Cortex-A76 & 4x1.86 GHz Cortex-A55)
Cores88
Max clock2.86 GHz2.86 GHz
GPUMali-G76 MP16Mali-G76 MP16
OSAndroid 10, Magic UI 3, no Google Play ServicesAndroid 10, EMUI, no Google Play Services
Memory
RAM options6 GB / 8 GB4 GB / 8 GB
Storage options128 GB128 GB
Storage techUFS 3.0UFS 3.0
microSD slotNoNo
Battery
Capacity4200 mAh3800 mAh
Wired charging40 W5 W
Wireless chargingNoNo
Cameras
Rear lenses33
Main resolution40 MP50 MP
Rear camera40 MP, f/1.8, 27mm (wide), 1/1.7", PDAF, 8 MP, f/2.4, 80mm (telephoto), 1/4.0", PDAF, OIS, 3x optical zoom, 8 MP, f/2.4, 16mm (ultrawide)50 MP, f/1.9, 23mm (wide), 1/1.28", 1.22µm, multi-directional PDAF, OIS, 8 MP, f/2.4, 80mm (telephoto), PDAF, OIS, 3x optical zoom, 16 MP, f/2.2, 17mm (ultrawide), AF
Rear video4K@30fps, 1080p@30fps, 720p@960fps, (gyro-EIS)4K@30/60fps, 1080p@30/60fps, 720p@960fps; gyro-EIS
Front camera32 MP, f/2.0, 26mm (wide), 1/2.8", 0.8µm, 8 MP, f/2.2, 17mm (ultrawide)32 MP, f/2.0, 26mm (wide), 1/2.8", 0.8µm, IR TOF 3D, (biometrics sensor only)
Body
Weight213 g175 g
Thickness8.9 mm8.5 mm
Height162.7 mm148.9 mm
Width75.8 mm71.1 mm
IP rating—IP53
MaterialsGlass front, glass back, aluminum frameGlass front, glass back, aluminum frame
SIMNano-SIMNano-SIM, eSIM
Sound and connectivity
Stereo speakersNoNo
3.5 mm jackNoNo
NFCYesYes
Bluetooth5.15.1
Wi-FiWi-Fi 802.11 a/b/g/n/ac, dual-band, Wi-Fi DirectWi-Fi 802.11 a/b/g/n/ac/6, dual-band, Wi-Fi Direct
USBUSB Type-C 2.0USB Type-C 3.1
InfraredNoNo

Honor View30 JSON

GET/api/values/clean/getspecs/Honor/View30
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Honor/View30' \
-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("Honor", "View30")
print(device["normalized_specs"]["display"])
TypeScript
import { DeviceSpecsClient } from "@granturismo/devicespecs";
const client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
const device = await client.getSpecs("Honor", "View30");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Honor", "View30");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 455320,
  "manufacturer": "Honor",
  "model": "View30",
  "network": "GSM / HSPA / LTE / 5G",
  "announceDate": "2020, February 24. Released 2020, April 27",
  "status": "Discontinued",
  "chipset": "Kirin 990",
  "androidVersion": "Android 10, Magic UI 3, no Google Play Services",
  "battery_raw": "Li-Po 4200 mAh",
  "cpu_raw": "Octa-core (2x2.86 GHz Cortex-A76 & 2x2.09 GHz Cortex-A76 & 4x1.86 GHz Cortex-A55)",
  "displayResolution_raw": "IPS LCD",
  "displaySize_raw": "6.57 inches, 104.2 cm<sup>2</sup> (~84.5% screen-to-body ratio)",
  "displayType_raw": "IPS LCD",
  "gpu": "Mali-G76 MP16",
  "internal_raw": "128GB 6GB RAM, 128GB 8GB RAM",
  "mainCameraFeatures": "Laser AF, LED flash, HDR, panorama",
  "mainCameraSpecs_raw": "40 MP, f/1.8, 27mm (wide), 1/1.7\", PDAF<br>\n8 MP, f/2.4, 80mm (telephoto), 1/4.0\", PDAF, OIS, 3x optical zoom<br>\n8 MP, f/2.4, 16mm (ultrawide)",
  "mainVideoSpecs": "4K@30fps, 1080p@30fps, 720p@960fps, (gyro-EIS)",
  "selfieCameraFeatures": "HDR",
  "selfieCameraSpecs_raw": "32 MP, f/2.0, 26mm (wide), 1/2.8\", 0.8µm<br>\n8 MP, f/2.2, 17mm (ultrawide)",
  "selfieVideoSpecs": "1080p@30fps",
  "sensors": "",
  "charging_raw": "40W wired, 70% in 30 min",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/honor-view30.jpg",
  "colors": [
    "Ocean Blue",
    "Midnight Black",
    "Icelandic Frost",
    "Sunrise Orange"
  ],
  "variants": [],
  "normalized_specs": {
    "id": 455325,
    "display": {
      "id": 455325,
      "size_inches": 6.57,
      "panel_type": "IPS LCD",
      "refresh_rate_hz": 0,
      "peak_brightness_nits": 0,
      "protection_type": "Yes"
    },
    "processor": {
      "id": 455325,
      "total_cores": 8,
      "max_clock_speed_ghz": 2.86
    },
    "memory_options": {
      "id": 455325,
      "available_ram_gb": [
        6,
        8
      ],
      "available_storage_gb": [
        128
      ],
      "has_card_slot": false,
      "storage_technology": "UFS 3.0"
    },
    "battery_and_charging": {
      "id": 455325,
      "capacities_mah": [
        4200
      ],
      "max_wired_charging_w": 40,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 455325,
      "main_lenses_count": 3,
      "max_main_resolution_mp": 40,
      "selfie_lenses_count": 2
    },
    "physical": {
      "id": 455325,
      "height_mm": 162.7,
      "width_mm": 75.8,
      "thickness_mm": 8.9,
      "weight_g": 213,
      "build_materials": [
        "Glass front",
        "glass back",
        "aluminum frame"
      ],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "",
      "is_water_resistant": false
    },
    "sound": {
      "id": 455325,
      "has_stereo_speakers": false,
      "has_jack_35mm": false,
      "audio_quality_features": []
    },
    "connectivity": {
      "id": 455325,
      "wlan_features": [
        "Wi-Fi 802.11 a/b/g/n/ac",
        "dual-band",
        "Wi-Fi Direct"
      ],
      "bluetooth_version": 5.1,
      "bluetooth_features": [
        "A2DP",
        "LE"
      ],
      "positioning_tech": [
        "GPS",
        "GLONASS",
        "BDS",
        "GALILEO",
        "QZSS"
      ],
      "has_nfc": true,
      "has_infrared": false,
      "has_radio": false,
      "usb_type": "USB Type-C 2.0",
      "usb_has_otg": true
    },
    "benchmarks": {
      "id": 455325,
      "antutu_score": "",
      "geekbench_score": "",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 455325,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

Huawei P40 4G JSON

GET/api/values/clean/getspecs/Huawei/P40%204G
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Huawei/P40%204G' \
-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("Huawei", "P40 4G")
print(device["normalized_specs"]["display"])
TypeScript
import { DeviceSpecsClient } from "@granturismo/devicespecs";
const client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
const device = await client.getSpecs("Huawei", "P40 4G");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Huawei", "P40 4G");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 452584,
  "manufacturer": "Huawei",
  "model": "P40 4G",
  "network": "GSM / HSPA / LTE",
  "announceDate": "2021, February 26",
  "status": "Available. Released 2021, February 26",
  "chipset": "Kirin 990",
  "androidVersion": "Android 10, EMUI, no Google Play Services",
  "battery_raw": "Li-Po 3800 mAh",
  "cpu_raw": "Octa-core (2x2.86 GHz Cortex-A76 &amp; 2x2.09 GHz Cortex-A76 &amp; 4x1.86 GHz Cortex-A55)",
  "displayResolution_raw": "OLED",
  "displaySize_raw": "6.1 inches, 91.3 cm<sup>2</sup> (~86.3% screen-to-body ratio)",
  "displayType_raw": "OLED",
  "gpu": "Mali-G76 MP16",
  "internal_raw": "128GB 4GB RAM, 128GB 8GB RAM",
  "mainCameraFeatures": "Leica optics, color spectrum sensor, LED flash, panorama, HDR",
  "mainCameraSpecs_raw": "50 MP, f/1.9, 23mm (wide), 1/1.28\", 1.22µm, multi-directional PDAF, OIS<br>\n8 MP, f/2.4, 80mm (telephoto), PDAF, OIS, 3x optical zoom<br>\n16 MP, f/2.2, 17mm (ultrawide), AF",
  "mainVideoSpecs": "4K@30/60fps, 1080p@30/60fps, 720p@960fps; gyro-EIS",
  "selfieCameraFeatures": "HDR",
  "selfieCameraSpecs_raw": "32 MP, f/2.0, 26mm (wide), 1/2.8\", 0.8µm<br>\nIR TOF 3D, (biometrics sensor only)",
  "selfieVideoSpecs": "4K@30/60fps, 1080p@30/60fps",
  "sensors": "",
  "charging_raw": "22.5W wired",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/huawei-p40-4g.jpg",
  "colors": [
    "Frost Silver",
    "Dark Blue"
  ],
  "variants": [
    {
      "id": 507320,
      "model_number": "ANA-AL00"
    }
  ],
  "normalized_specs": {
    "id": 452589,
    "display": {
      "id": 452589,
      "size_inches": 6.1,
      "panel_type": "OLED",
      "refresh_rate_hz": 0,
      "peak_brightness_nits": 0,
      "protection_type": ""
    },
    "processor": {
      "id": 452589,
      "total_cores": 8,
      "max_clock_speed_ghz": 2.86
    },
    "memory_options": {
      "id": 452589,
      "available_ram_gb": [
        4,
        8
      ],
      "available_storage_gb": [
        128
      ],
      "has_card_slot": false,
      "storage_technology": "UFS 3.0"
    },
    "battery_and_charging": {
      "id": 452589,
      "capacities_mah": [
        3800
      ],
      "max_wired_charging_w": 5,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 452589,
      "main_lenses_count": 3,
      "max_main_resolution_mp": 50,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 452589,
      "height_mm": 148.9,
      "width_mm": 71.1,
      "thickness_mm": 8.5,
      "weight_g": 175,
      "build_materials": [
        "Glass front",
        "glass back",
        "aluminum frame"
      ],
      "sim_options": [
        "Nano-SIM",
        "eSIM"
      ],
      "ip_rating": "IP53",
      "is_water_resistant": true
    },
    "sound": {
      "id": 452589,
      "has_stereo_speakers": false,
      "has_jack_35mm": false,
      "audio_quality_features": []
    },
    "connectivity": {
      "id": 452589,
      "wlan_features": [
        "Wi-Fi 802.11 a/b/g/n/ac/6",
        "dual-band",
        "Wi-Fi Direct"
      ],
      "bluetooth_version": 5.1,
      "bluetooth_features": [
        "A2DP",
        "LE"
      ],
      "positioning_tech": [
        "GPS",
        "GLONASS",
        "BDS",
        "GALILEO",
        "QZSS",
        "NavIC"
      ],
      "has_nfc": true,
      "has_infrared": false,
      "has_radio": false,
      "usb_type": "USB Type-C 3.1",
      "usb_has_otg": true
    },
    "benchmarks": {
      "id": 452589,
      "antutu_score": "",
      "geekbench_score": "",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 452589,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

More comparisons