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

Samsung Galaxy A34 vs Xiaomi Redmi Note 12 Pro

Xiaomi Redmi Note 12 Pro leads on 5 of the 7 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.

Samsung Galaxy A34

Samsung Galaxy A34

2023 · Mediatek Dimensity 1080
VS
Xiaomi Redmi Note 12 Pro

Xiaomi Redmi Note 12 Pro

2022 · Mediatek Dimensity 1080
SpecificationSamsung Galaxy A34Xiaomi Redmi Note 12 Pro
Release
Announced2023, March 142022, October 27
StatusAvailable. Released 2023, March 24Available. Released 2022, November 01
Display
Size6.6 in6.67 in
PanelSuper AMOLEDAMOLED
Refresh rate120 Hz120 Hz
Peak brightness1,000 nits900 nits
ResolutionSuper AMOLED, 120Hz, 1000 nits (HBM)AMOLED, 1B colors, 120Hz, Dolby Vision, HDR10+, 500 nits (typ), 900 nits (HBM)
ProtectionCorning Gorilla Glass 5Corning Gorilla Glass 5
Platform
ChipsetMediatek Dimensity 1080Mediatek Dimensity 1080
CPUOcta-core (2x2.6 GHz Cortex-A78 & 6x2.0 GHz Cortex-A55)Octa-core (2x2.6 GHz Cortex-A78 & 6x2.0 GHz Cortex-A55)
Cores88
Max clock2.6 GHz2.6 GHz
GPUMali-G68 MC4Mali-G68 MC4
OSAndroid 13, upgradable to Android 17, One UI 9.0, up to 4 major OS updatesAndroid 12, MIUI 13
AnTuTu472126 (v9) GeekBench: 2316 (v5.5)490526 (v9) GeekBench: 2209 (v5.1)
Geekbench2316 (v5.5)2209 (v5.1)
Memory
RAM options4 GB / 6 GB / 8 GB6 GB / 8 GB / 12 GB
Storage options128 GB / 256 GB128 GB / 256 GB
Storage tech—UFS 2.2
microSD slotYesNo
Battery
Capacity5000 mAh5000 mAh
Wired charging25 W67 W
Wireless chargingNoNo
Cameras
Rear lenses33
Main resolution48 MP50 MP
Rear camera48 MP, f/1.8, 26mm (wide), 1/2.0", 0.8µm, PDAF, OIS, 8 MP, f/2.2, 123˚, (ultrawide), 1/4.0", 1.12µm, 5 MP (macro)50 MP, f/1.9, 24mm (wide), 1/1.56", 1.0µm, PDAF, OIS, 8 MP, f/2.2, 120˚ (ultrawide), 1/4.0", 1.12µm, 2 MP (macro)
Rear video4K@30fps, 1080p@30/60fps, 720p@480fps4K@30fps, 1080p@30/60/120fps, 720p@960fps
Front camera13 MP, f/2.2, 26mm (wide), 1/3.1", 1.12µm16 MP, f/2.5, (wide), 1/3.06", 1.0µm
Body
Weight199 g187 g
Thickness8.2 mm8 mm
Height161.3 mm163 mm
Width78.1 mm76 mm
IP ratingIP67IP53
MaterialsGlass front (Gorilla Glass 5), plastic frame, plastic backGlass front (Gorilla Glass 5), glass back, plastic frame
SIMNano-SIMNano-SIM
Sound and connectivity
Stereo speakersYesYes
3.5 mm jackNoYes
NFCYesYes
Bluetooth5.35.2
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 2.0
InfraredNoYes

Samsung Galaxy A34 JSON

GET/api/values/clean/getspecs/Samsung/Galaxy%20A34
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Samsung/Galaxy%20A34' \
-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("Samsung", "Galaxy A34")
print(device["normalized_specs"]["display"])
TypeScript
import { DeviceSpecsClient } from "@granturismo/devicespecs";
const client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
const device = await client.getSpecs("Samsung", "Galaxy A34");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Samsung", "Galaxy A34");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 450831,
  "manufacturer": "Samsung",
  "model": "Galaxy A34",
  "network": "GSM / HSPA / LTE / 5G",
  "announceDate": "2023, March 14",
  "status": "Available. Released 2023, March 24",
  "chipset": "Mediatek Dimensity 1080",
  "androidVersion": "Android 13, upgradable to Android 17, One UI 9.0, up to 4 major OS updates",
  "battery_raw": "Li-Ion 5000 mAh",
  "cpu_raw": "Octa-core (2x2.6 GHz Cortex-A78 & 6x2.0 GHz Cortex-A55)",
  "displayResolution_raw": "Super AMOLED, 120Hz, 1000 nits (HBM)",
  "displaySize_raw": "6.6 inches, 106.9 cm<sup>2</sup> (~84.9% screen-to-body ratio)",
  "displayType_raw": "Super AMOLED, 120Hz, 1000 nits (HBM)",
  "gpu": "Mali-G68 MC4",
  "internal_raw": "128GB 4GB RAM, 128GB 6GB RAM, 128GB 8GB RAM, 256GB 6GB RAM, 256GB 8GB RAM",
  "mainCameraFeatures": "LED flash, panorama, HDR",
  "mainCameraSpecs_raw": "48 MP, f/1.8, 26mm (wide), 1/2.0\", 0.8µm, PDAF, OIS<br>\n8 MP, f/2.2, 123˚, (ultrawide), 1/4.0\", 1.12µm<br>\n5 MP (macro)",
  "mainVideoSpecs": "4K@30fps, 1080p@30/60fps, 720p@480fps",
  "selfieCameraFeatures": "",
  "selfieCameraSpecs_raw": "13 MP, f/2.2, 26mm (wide), 1/3.1\", 1.12µm",
  "selfieVideoSpecs": "4K@30fps, 1080p@30fps",
  "sensors": "",
  "charging_raw": "25W wired",
  "price_usd": 0,
  "price_eur": 202.89,
  "price_gbp": 168.99,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/samsung-galaxy-a34.jpg",
  "colors": [
    "Lime",
    "Graphite",
    "Violet",
    "Silver"
  ],
  "variants": [
    {
      "id": 503732,
      "model_number": "SM-A346E"
    },
    {
      "id": 503733,
      "model_number": "SM-A346B"
    },
    {
      "id": 503734,
      "model_number": "SM-A346B/DS"
    },
    {
      "id": 503735,
      "model_number": "SM-A346B/DSN"
    },
    {
      "id": 503736,
      "model_number": "SM-A346E/DS"
    },
    {
      "id": 503737,
      "model_number": "SM-A346E/DSN"
    },
    {
      "id": 503738,
      "model_number": "SM-A346M"
    },
    {
      "id": 503739,
      "model_number": "SM-A346M/N"
    },
    {
      "id": 503740,
      "model_number": "SM-A346M/DSN"
    },
    {
      "id": 503741,
      "model_number": "SM-A3460"
    },
    {
      "id": 503742,
      "model_number": "SM-A346N"
    }
  ],
  "normalized_specs": {
    "id": 450836,
    "display": {
      "id": 450836,
      "size_inches": 6.6,
      "panel_type": "Super AMOLED",
      "refresh_rate_hz": 120,
      "peak_brightness_nits": 1000,
      "protection_type": "Corning Gorilla Glass 5"
    },
    "processor": {
      "id": 450836,
      "total_cores": 8,
      "max_clock_speed_ghz": 2.6
    },
    "memory_options": {
      "id": 450836,
      "available_ram_gb": [
        4,
        6,
        8
      ],
      "available_storage_gb": [
        128,
        256
      ],
      "has_card_slot": true,
      "storage_technology": ""
    },
    "battery_and_charging": {
      "id": 450836,
      "capacities_mah": [
        5000
      ],
      "max_wired_charging_w": 25,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 450836,
      "main_lenses_count": 3,
      "max_main_resolution_mp": 48,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 450836,
      "height_mm": 161.3,
      "width_mm": 78.1,
      "thickness_mm": 8.2,
      "weight_g": 199,
      "build_materials": [
        "Glass front (Gorilla Glass 5)",
        "plastic frame",
        "plastic back"
      ],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "IP67",
      "is_water_resistant": true
    },
    "sound": {
      "id": 450836,
      "has_stereo_speakers": true,
      "has_jack_35mm": false,
      "audio_quality_features": []
    },
    "connectivity": {
      "id": 450836,
      "wlan_features": [
        "Wi-Fi 802.11 a/b/g/n/ac",
        "dual-band",
        "Wi-Fi Direct"
      ],
      "bluetooth_version": 5.3,
      "bluetooth_features": [
        "A2DP",
        "LE"
      ],
      "positioning_tech": [
        "GPS",
        "GLONASS",
        "GALILEO",
        "BDS"
      ],
      "has_nfc": true,
      "has_infrared": false,
      "has_radio": false,
      "usb_type": "USB Type-C 2.0",
      "usb_has_otg": true
    },
    "benchmarks": {
      "id": 450836,
      "antutu_score": "472126 (v9)  GeekBench: 2316 (v5.5)",
      "geekbench_score": "2316 (v5.5)",
      "measured_display_brightness_nits": 1009,
      "measured_loudspeaker_lufs": -26.1,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 450836,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

Xiaomi Redmi Note 12 Pro JSON

GET/api/values/clean/getspecs/Xiaomi/Redmi%20Note%2012%20Pro
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Xiaomi/Redmi%20Note%2012%20Pro' \
-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("Xiaomi", "Redmi Note 12 Pro")
print(device["normalized_specs"]["display"])
TypeScript
import { DeviceSpecsClient } from "@granturismo/devicespecs";
const client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
const device = await client.getSpecs("Xiaomi", "Redmi Note 12 Pro");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Xiaomi", "Redmi Note 12 Pro");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 447982,
  "manufacturer": "Xiaomi",
  "model": "Redmi Note 12 Pro",
  "network": "GSM / CDMA / HSPA / EVDO / LTE / 5G",
  "announceDate": "2022, October 27",
  "status": "Available. Released 2022, November 01",
  "chipset": "Mediatek Dimensity 1080",
  "androidVersion": "Android 12, MIUI 13",
  "battery_raw": "Li-Po 5000 mAh",
  "cpu_raw": "Octa-core (2x2.6 GHz Cortex-A78 &amp; 6x2.0 GHz Cortex-A55)",
  "displayResolution_raw": "AMOLED, 1B colors, 120Hz, Dolby Vision, HDR10+, 500 nits (typ), 900 nits (HBM)",
  "displaySize_raw": "6.67 inches, 107.4 cm<sup>2</sup> (~86.7% screen-to-body ratio)",
  "displayType_raw": "AMOLED, 1B colors, 120Hz, Dolby Vision, HDR10+, 500 nits (typ), 900 nits (HBM)",
  "gpu": "Mali-G68 MC4",
  "internal_raw": "128GB 6GB RAM, 128GB 8GB RAM, 256GB 8GB RAM, 256GB 12GB RAM",
  "mainCameraFeatures": "Dual-LED dual-tone flash, HDR, panorama",
  "mainCameraSpecs_raw": "50 MP, f/1.9, 24mm (wide), 1/1.56\", 1.0µm, PDAF, OIS<br>\n8 MP, f/2.2, 120˚ (ultrawide), 1/4.0\", 1.12µm<br>\n2 MP (macro)",
  "mainVideoSpecs": "4K@30fps, 1080p@30/60/120fps, 720p@960fps",
  "selfieCameraFeatures": "HDR",
  "selfieCameraSpecs_raw": "16 MP, f/2.5, (wide), 1/3.06\", 1.0µm",
  "selfieVideoSpecs": "1080p@30/60fps",
  "sensors": "",
  "charging_raw": "67W wired, PD3.0, 50% in 15 min, 100% in 46 min",
  "price_usd": 0,
  "price_eur": 239.99,
  "price_gbp": 219.95,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/xiaomi-redmi-note-12-pro.jpg",
  "colors": [
    "Frosted Blue (Sky Blue)",
    "Onyx Black (Midnight Black)",
    "Polar White",
    "Stardust Purple"
  ],
  "variants": [
    {
      "id": 500284,
      "model_number": "22101316C"
    },
    {
      "id": 500285,
      "model_number": "22101316I"
    },
    {
      "id": 500286,
      "model_number": "23013RK75C"
    },
    {
      "id": 500287,
      "model_number": "22101316G"
    }
  ],
  "normalized_specs": {
    "id": 447987,
    "display": {
      "id": 447987,
      "size_inches": 6.67,
      "panel_type": "AMOLED",
      "refresh_rate_hz": 120,
      "peak_brightness_nits": 900,
      "protection_type": "Corning Gorilla Glass 5"
    },
    "processor": {
      "id": 447987,
      "total_cores": 8,
      "max_clock_speed_ghz": 2.6
    },
    "memory_options": {
      "id": 447987,
      "available_ram_gb": [
        6,
        8,
        12
      ],
      "available_storage_gb": [
        128,
        256
      ],
      "has_card_slot": false,
      "storage_technology": "UFS 2.2"
    },
    "battery_and_charging": {
      "id": 447987,
      "capacities_mah": [
        5000
      ],
      "max_wired_charging_w": 67,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 447987,
      "main_lenses_count": 3,
      "max_main_resolution_mp": 50,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 447987,
      "height_mm": 163,
      "width_mm": 76,
      "thickness_mm": 8,
      "weight_g": 187,
      "build_materials": [
        "Glass front (Gorilla Glass 5)",
        "glass back",
        "plastic frame"
      ],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "IP53",
      "is_water_resistant": true
    },
    "sound": {
      "id": 447987,
      "has_stereo_speakers": true,
      "has_jack_35mm": true,
      "audio_quality_features": [
        "24-bit/192kHz Hi-Res audio"
      ]
    },
    "connectivity": {
      "id": 447987,
      "wlan_features": [
        "Wi-Fi 802.11 a/b/g/n/ac/6",
        "dual-band",
        "Wi-Fi Direct"
      ],
      "bluetooth_version": 5.2,
      "bluetooth_features": [
        "A2DP",
        "LE"
      ],
      "positioning_tech": [
        "GPS",
        "GLONASS",
        "BDS",
        "GALILEO",
        "QZSS"
      ],
      "has_nfc": true,
      "has_infrared": true,
      "has_radio": false,
      "usb_type": "USB Type-C 2.0",
      "usb_has_otg": true
    },
    "benchmarks": {
      "id": 447987,
      "antutu_score": "490526 (v9)  GeekBench: 2209 (v5.1)",
      "geekbench_score": "2209 (v5.1)",
      "measured_display_brightness_nits": 890,
      "measured_loudspeaker_lufs": -26.6,
      "measured_battery_active_use_hours": 12.13
    },
    "eu_label": {
      "id": 447987,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

More comparisons