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 4 XL vs OnePlus 7 Pro 5G

OnePlus 7 Pro 5G 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 4 XL

Google Pixel 4 XL

2019 · Qualcomm SM8150 Snapdragon 855
VS
OnePlus 7 Pro 5G

OnePlus 7 Pro 5G

2019 · Qualcomm SM8150 Snapdragon 855
SpecificationGoogle Pixel 4 XLOnePlus 7 Pro 5G
Release
Announced2019, October 152019, May 14. Released 2019, September 06
StatusAvailable. Released 2019, October 22Discontinued
Display
Size6.3 in6.67 in
PanelP-OLEDFluid AMOLED
Refresh rate90 Hz90 Hz
ResolutionP-OLED, 90Hz, HDRFluid AMOLED, 90Hz, HDR10+
ProtectionCorning Gorilla Glass 5Corning Gorilla Glass 5
Platform
ChipsetQualcomm SM8150 Snapdragon 855Qualcomm SM8150 Snapdragon 855
CPUOcta-core (1x2.84 GHz Kryo 485 & 3x2.42 GHz Kryo 485 & 4x1.78 GHz Kryo 485)Octa-core (1x2.84 GHz Kryo 485 & 3x2.42 GHz Kryo 485 & 4x1.78 GHz Kryo 485)
Cores88
Max clock2.84 GHz2.84 GHz
GPUAdreno 640Adreno 640
OSAndroid 10, upgradable to Android 13Android 9.0 (Pie), upgradable to Android 10, OxygenOS 10.0.4
AnTuTu323305 (v7)—
Geekbench10171 (v4.4)—
Memory
RAM options6 GB6 GB / 8 GB / 12 GB
Storage options64 GB / 128 GB128 GB / 256 GB
Storage techUFS 2.1UFS 3.0
microSD slotNoNo
Battery
Capacity3700 mAh4000 mAh
Wired charging18 W30 W
Wireless chargingYesNo
Cameras
Rear lenses23
Main resolution16 MP48 MP
Rear camera12.2 MP, f/1.7, 27mm (wide), 1/2.55", 1.4µm, dual pixel PDAF, OIS, 16 MP, f/2.4, 50mm (telephoto), 1/3.6", 1.0µm, PDAF, OIS, 2x optical zoom48 MP, f/1.6, (wide), 1/2.0", 0.8µm, PDAF, OIS, 8 MP, f/2.4, 78mm (telephoto), 3x zoom, PDAF, OIS, 16 MP, f/2.2, 13mm (ultrawide)
Rear video4K@30fps, 1080p@30/60/120fps, 1080p@30fps (gyro-EIS)4K@30/60fps, 1080p@30/60/240fps, 720p@480fps, Auto HDR, gyro-EIS, no video rec. with ultrawide camera
Front camera8 MP, f/2.0, 22mm (wide), 1.22µm, no AF, TOF 3D, (depth/biometrics sensor)Motorized pop-up 16 MP, f/2.0, 25mm (wide), 1/3.06", 1.0µm
Body
Weight193 g206 g
Thickness8.2 mm8.8 mm
Height160.4 mm162.6 mm
Width75.1 mm75.9 mm
IP ratingIP68—
MaterialsGlass front (Gorilla Glass 5), glass back (Gorilla Glass 5), aluminum frameGlass front (Gorilla Glass 5), glass back (Gorilla Glass 5), aluminum frame
SIMNano-SIM, eSIMNano-SIM
Sound and connectivity
Stereo speakersYesYes
3.5 mm jackNoNo
NFCYesYes
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, DLNA
USBUSB Type-C 3.1USB Type-C 3.1
InfraredNoNo

Google Pixel 4 XL JSON

GET/api/values/clean/getspecs/Google/Pixel%204%20XL
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Google/Pixel%204%20XL' \
-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 4 XL")
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 4 XL");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Google", "Pixel 4 XL");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 452216,
  "manufacturer": "Google",
  "model": "Pixel 4 XL",
  "network": "GSM / CDMA / HSPA / EVDO / LTE",
  "announceDate": "2019, October 15",
  "status": "Available. Released 2019, October 22",
  "chipset": "Qualcomm SM8150 Snapdragon 855",
  "androidVersion": "Android 10, upgradable to Android 13",
  "battery_raw": "Li-Po 3700 mAh, non-removable",
  "cpu_raw": "Octa-core (1x2.84 GHz Kryo 485 & 3x2.42 GHz Kryo 485 & 4x1.78 GHz Kryo 485)",
  "displayResolution_raw": "P-OLED, 90Hz, HDR",
  "displaySize_raw": "6.3 inches, 98.0 cm<sup>2</sup> (~81.3% screen-to-body ratio)",
  "displayType_raw": "P-OLED, 90Hz, HDR",
  "gpu": "Adreno 640",
  "internal_raw": "64GB 6GB RAM, 128GB 6GB RAM",
  "mainCameraFeatures": "Dual-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<br>\n16 MP, f/2.4, 50mm (telephoto), 1/3.6\", 1.0µm, PDAF, OIS, 2x optical zoom",
  "mainVideoSpecs": "4K@30fps, 1080p@30/60/120fps, 1080p@30fps (gyro-EIS)",
  "selfieCameraFeatures": "HDR",
  "selfieCameraSpecs_raw": "8 MP, f/2.0, 22mm (wide), 1.22µm, no AF<br>\nTOF 3D, (depth/biometrics sensor)",
  "selfieVideoSpecs": "1080p@30fps",
  "sensors": "",
  "charging_raw": "18W wired, PD2.0\nWireless",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/google-pixel-4-r1.jpg",
  "colors": [
    "Clearly White",
    "Just Black",
    "Oh So Orange"
  ],
  "variants": [
    {
      "id": 506085,
      "model_number": "G020P"
    },
    {
      "id": 506086,
      "model_number": "G020"
    },
    {
      "id": 506087,
      "model_number": "GA01181-US"
    },
    {
      "id": 506088,
      "model_number": "GA01182-US"
    },
    {
      "id": 506089,
      "model_number": "GA01180-US"
    }
  ],
  "normalized_specs": {
    "id": 452221,
    "display": {
      "id": 452221,
      "size_inches": 6.3,
      "panel_type": "P-OLED",
      "refresh_rate_hz": 90,
      "peak_brightness_nits": 0,
      "protection_type": "Corning Gorilla Glass 5"
    },
    "processor": {
      "id": 452221,
      "total_cores": 8,
      "max_clock_speed_ghz": 2.84
    },
    "memory_options": {
      "id": 452221,
      "available_ram_gb": [
        6
      ],
      "available_storage_gb": [
        64,
        128
      ],
      "has_card_slot": false,
      "storage_technology": "UFS 2.1"
    },
    "battery_and_charging": {
      "id": 452221,
      "capacities_mah": [
        3700
      ],
      "max_wired_charging_w": 18,
      "has_wireless_charging": true
    },
    "cameras": {
      "id": 452221,
      "main_lenses_count": 2,
      "max_main_resolution_mp": 16,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 452221,
      "height_mm": 160.4,
      "width_mm": 75.1,
      "thickness_mm": 8.2,
      "weight_g": 193,
      "build_materials": [
        "Glass front (Gorilla Glass 5)",
        "glass back (Gorilla Glass 5)",
        "aluminum frame"
      ],
      "sim_options": [
        "Nano-SIM",
        "eSIM"
      ],
      "ip_rating": "IP68",
      "is_water_resistant": true
    },
    "sound": {
      "id": 452221,
      "has_stereo_speakers": true,
      "has_jack_35mm": false,
      "audio_quality_features": []
    },
    "connectivity": {
      "id": 452221,
      "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",
        "BDS",
        "GALILEO"
      ],
      "has_nfc": true,
      "has_infrared": false,
      "has_radio": false,
      "usb_type": "USB Type-C 3.1",
      "usb_has_otg": false
    },
    "benchmarks": {
      "id": 452221,
      "antutu_score": "323305 (v7)",
      "geekbench_score": "10171 (v4.4)",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 452221,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

OnePlus 7 Pro 5G JSON

GET/api/values/clean/getspecs/OnePlus/7%20Pro%205G
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/OnePlus/7%20Pro%205G' \
-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("OnePlus", "7 Pro 5G")
print(device["normalized_specs"]["display"])
TypeScript
import { DeviceSpecsClient } from "@granturismo/devicespecs";
const client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
const device = await client.getSpecs("OnePlus", "7 Pro 5G");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("OnePlus", "7 Pro 5G");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 450695,
  "manufacturer": "OnePlus",
  "model": "7 Pro 5G",
  "network": "GSM / HSPA / LTE / 5G",
  "announceDate": "2019, May 14. Released 2019, September 06",
  "status": "Discontinued",
  "chipset": "Qualcomm SM8150 Snapdragon 855",
  "androidVersion": "Android 9.0 (Pie), upgradable to Android 10, OxygenOS 10.0.4",
  "battery_raw": "Li-Po 4000 mAh, non-removable",
  "cpu_raw": "Octa-core (1x2.84 GHz Kryo 485 &amp; 3x2.42 GHz Kryo 485 &amp; 4x1.78 GHz Kryo 485)",
  "displayResolution_raw": "Fluid AMOLED, 90Hz, HDR10+",
  "displaySize_raw": "6.67 inches, 109.2 cm<sup>2</sup> (~88.5% screen-to-body ratio)",
  "displayType_raw": "Fluid AMOLED, 90Hz, HDR10+",
  "gpu": "Adreno 640",
  "internal_raw": "128GB 6GB RAM, 256GB 8GB RAM, 256GB 12GB RAM",
  "mainCameraFeatures": "Laser AF, Dual-LED dual-tone flash, panorama, HDR",
  "mainCameraSpecs_raw": "48 MP, f/1.6, (wide), 1/2.0\", 0.8µm, PDAF, OIS<br>\n8 MP, f/2.4, 78mm (telephoto), 3x zoom, PDAF, OIS<br>\n16 MP, f/2.2, 13mm (ultrawide)",
  "mainVideoSpecs": "4K@30/60fps, 1080p@30/60/240fps, 720p@480fps, Auto HDR, gyro-EIS, no video rec. with ultrawide camera",
  "selfieCameraFeatures": "HDR",
  "selfieCameraSpecs_raw": "Motorized pop-up 16 MP, f/2.0, 25mm (wide), 1/3.06\", 1.0µm",
  "selfieVideoSpecs": "1080p@30fps, gyro-EIS",
  "sensors": "",
  "charging_raw": "30W wired",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/oneplus-7-pro-r1.jpg",
  "colors": [
    "Mirror Grey",
    "Almond",
    "Nebula Blue"
  ],
  "variants": [
    {
      "id": 503220,
      "model_number": "GM1925"
    }
  ],
  "normalized_specs": {
    "id": 450700,
    "display": {
      "id": 450700,
      "size_inches": 6.67,
      "panel_type": "Fluid AMOLED",
      "refresh_rate_hz": 90,
      "peak_brightness_nits": 0,
      "protection_type": "Corning Gorilla Glass 5"
    },
    "processor": {
      "id": 450700,
      "total_cores": 8,
      "max_clock_speed_ghz": 2.84
    },
    "memory_options": {
      "id": 450700,
      "available_ram_gb": [
        6,
        8,
        12
      ],
      "available_storage_gb": [
        128,
        256
      ],
      "has_card_slot": false,
      "storage_technology": "UFS 3.0"
    },
    "battery_and_charging": {
      "id": 450700,
      "capacities_mah": [
        4000
      ],
      "max_wired_charging_w": 30,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 450700,
      "main_lenses_count": 3,
      "max_main_resolution_mp": 48,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 450700,
      "height_mm": 162.6,
      "width_mm": 75.9,
      "thickness_mm": 8.8,
      "weight_g": 206,
      "build_materials": [
        "Glass front (Gorilla Glass 5)",
        "glass back (Gorilla Glass 5)",
        "aluminum frame"
      ],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "",
      "is_water_resistant": false
    },
    "sound": {
      "id": 450700,
      "has_stereo_speakers": true,
      "has_jack_35mm": false,
      "audio_quality_features": []
    },
    "connectivity": {
      "id": 450700,
      "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",
        "BDS",
        "GALILEO"
      ],
      "has_nfc": true,
      "has_infrared": false,
      "has_radio": false,
      "usb_type": "USB Type-C 3.1",
      "usb_has_otg": true
    },
    "benchmarks": {
      "id": 450700,
      "antutu_score": "",
      "geekbench_score": "",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 450700,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

More comparisons