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 A30 vs Samsung Galaxy A40

Samsung Galaxy A30 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.

Samsung Galaxy A30

Samsung Galaxy A30

2019 · Exynos 7904
VS
Samsung Galaxy A40

Samsung Galaxy A40

2019 · Exynos 7904
SpecificationSamsung Galaxy A30Samsung Galaxy A40
Release
Announced2019, February 25. Released 2019, March2019, March 19. Released 2019, April
StatusDiscontinuedDiscontinued
Display
Size6.4 in5.9 in
PanelSuper AMOLEDSuper AMOLED
ResolutionSuper AMOLEDSuper AMOLED
ProtectionCorning Gorilla Glass 3Corning Gorilla Glass 3
Platform
ChipsetExynos 7904Exynos 7904
CPUOcta-core (2x1.8 GHz Cortex-A73 & 6x1.6 GHz Cortex-A53)Octa-core (2x1.77 GHz Cortex-A73 & 6x1.59 GHz Cortex-A53)
Cores88
Max clock1.8 GHz1.77 GHz
GPUMali-G71 MP2Mali-G71 MP2
OSAndroid 9.0 (Pie), upgradable to Android 11Android 9.0 (Pie), upgradable to Android 11
AnTuTu96550 (v7) GeekBench: 4146 (v4.4) GFXBench: 4.6fps (ES 3.1 onscreen)106388 (v7) GeekBench: 4112 (v4.4) GFXBench: 4.6fps (ES 3.1 onscreen)
Geekbench4146 (v4.4) GFXBench: 4.6fps (ES 3.1 onscreen)4112 (v4.4) GFXBench: 4.6fps (ES 3.1 onscreen)
Memory
RAM options3 GB / 4 GB4 GB
Storage options32 GB / 64 GB64 GB / 128 GB
Storage techeMMC 5.1eMMC 5.1
microSD slotYesYes
Battery
Capacity4000 mAh3100 mAh
Wired charging15 W15 W
Wireless chargingNoNo
Cameras
Rear lenses22
Main resolution16 MP16 MP
Rear camera16 MP, f/1.7, 27mm (wide), PDAF, 5 MP, f/2.2, 12mm, (ultrawide)16 MP, f/1.7, 26mm (wide), PDAF, 5 MP, f/2.2, 13mm (ultrawide)
Rear video1080p@30fps1080p@30fps
Front camera16 MP, f/2.0, 26mm (wide), 1/3.06", 1.0µm25 MP, f/2.0, 25mm (wide), 1/2.8", 0.9µm
Body
Weight165 g140 g
Thickness7.7 mm7.9 mm
Height158.5 mm144.4 mm
Width74.7 mm69.2 mm
MaterialsGlass front (Gorilla Glass 3), plastic back, plastic frameGlass front (Gorilla Glass 3), plastic back, plastic frame
SIMNano-SIMNano-SIM
Sound and connectivity
Stereo speakersNoNo
3.5 mm jackYesYes
NFCNoYes
Bluetooth55
Wi-FiWi-Fi 802.11 a/b/g/n/ac, dual-band, Wi-Fi DirectWi-Fi 802.11 a/b/g/n/ac, dual-band, Wi-Fi Direct
USBUSB Type-C 2.0USB Type-C 2.0
InfraredNoNo

Samsung Galaxy A30 JSON

GET/api/values/clean/getspecs/Samsung/Galaxy%20A30
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Samsung/Galaxy%20A30' \
-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 A30")
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 A30");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Samsung", "Galaxy A30");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 451012,
  "manufacturer": "Samsung",
  "model": "Galaxy A30",
  "network": "GSM / HSPA / LTE",
  "announceDate": "2019, February 25. Released 2019, March",
  "status": "Discontinued",
  "chipset": "Exynos 7904",
  "androidVersion": "Android 9.0 (Pie), upgradable to Android 11",
  "battery_raw": "Li-Po 4000 mAh, non-removable",
  "cpu_raw": "Octa-core (2x1.8 GHz Cortex-A73 & 6x1.6 GHz Cortex-A53)",
  "displayResolution_raw": "Super AMOLED",
  "displaySize_raw": "6.4 inches, 100.5 cm<sup>2</sup> (~84.9% screen-to-body ratio)",
  "displayType_raw": "Super AMOLED",
  "gpu": "Mali-G71 MP2",
  "internal_raw": "32GB 3GB RAM, 64GB 3GB RAM, 64GB 4GB RAM",
  "mainCameraFeatures": "LED flash, panorama, HDR",
  "mainCameraSpecs_raw": "16 MP, f/1.7, 27mm (wide), PDAF<br>\n5 MP, f/2.2, 12mm, (ultrawide)",
  "mainVideoSpecs": "1080p@30fps",
  "selfieCameraFeatures": "",
  "selfieCameraSpecs_raw": "16 MP, f/2.0, 26mm (wide), 1/3.06\", 1.0µm",
  "selfieVideoSpecs": "1080p@30fps",
  "sensors": "",
  "charging_raw": "15W wired",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/samsung-galaxy-a30.jpg",
  "colors": [
    "Black",
    "Blue",
    "Red",
    "White"
  ],
  "variants": [
    {
      "id": 504582,
      "model_number": "SM-A305F"
    },
    {
      "id": 504583,
      "model_number": "SM-A305FN"
    },
    {
      "id": 504584,
      "model_number": "SM-A305G"
    },
    {
      "id": 504585,
      "model_number": "SM-A305GN"
    },
    {
      "id": 504586,
      "model_number": "SM-A305YN"
    },
    {
      "id": 504587,
      "model_number": "SM-A3050"
    },
    {
      "id": 504588,
      "model_number": "SM-A305N"
    },
    {
      "id": 504589,
      "model_number": "SM-A305GT"
    }
  ],
  "normalized_specs": {
    "id": 451017,
    "display": {
      "id": 451017,
      "size_inches": 6.4,
      "panel_type": "Super AMOLED",
      "refresh_rate_hz": 0,
      "peak_brightness_nits": 0,
      "protection_type": "Corning Gorilla Glass 3"
    },
    "processor": {
      "id": 451017,
      "total_cores": 8,
      "max_clock_speed_ghz": 1.8
    },
    "memory_options": {
      "id": 451017,
      "available_ram_gb": [
        3,
        4
      ],
      "available_storage_gb": [
        32,
        64
      ],
      "has_card_slot": true,
      "storage_technology": "eMMC 5.1"
    },
    "battery_and_charging": {
      "id": 451017,
      "capacities_mah": [
        4000
      ],
      "max_wired_charging_w": 15,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 451017,
      "main_lenses_count": 2,
      "max_main_resolution_mp": 16,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 451017,
      "height_mm": 158.5,
      "width_mm": 74.7,
      "thickness_mm": 7.7,
      "weight_g": 165,
      "build_materials": [
        "Glass front (Gorilla Glass 3)",
        "plastic back",
        "plastic frame"
      ],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "",
      "is_water_resistant": false
    },
    "sound": {
      "id": 451017,
      "has_stereo_speakers": false,
      "has_jack_35mm": true,
      "audio_quality_features": []
    },
    "connectivity": {
      "id": 451017,
      "wlan_features": [
        "Wi-Fi 802.11 a/b/g/n/ac",
        "dual-band",
        "Wi-Fi Direct"
      ],
      "bluetooth_version": 5,
      "bluetooth_features": [
        "A2DP",
        "LE"
      ],
      "positioning_tech": [
        "GPS",
        "GLONASS",
        "GALILEO",
        "BDS"
      ],
      "has_nfc": false,
      "has_infrared": false,
      "has_radio": false,
      "usb_type": "USB Type-C 2.0",
      "usb_has_otg": true
    },
    "benchmarks": {
      "id": 451017,
      "antutu_score": "96550 (v7)  GeekBench: 4146 (v4.4)  GFXBench: 4.6fps (ES 3.1 onscreen)",
      "geekbench_score": "4146 (v4.4)  GFXBench: 4.6fps (ES 3.1 onscreen)",
      "measured_display_brightness_nits": 548,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 451017,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

Samsung Galaxy A40 JSON

GET/api/values/clean/getspecs/Samsung/Galaxy%20A40
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Samsung/Galaxy%20A40' \
-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 A40")
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 A40");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Samsung", "Galaxy A40");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 451011,
  "manufacturer": "Samsung",
  "model": "Galaxy A40",
  "network": "GSM / HSPA / LTE",
  "announceDate": "2019, March 19. Released 2019, April",
  "status": "Discontinued",
  "chipset": "Exynos 7904",
  "androidVersion": "Android 9.0 (Pie), upgradable to Android 11",
  "battery_raw": "Li-Po 3100 mAh, non-removable",
  "cpu_raw": "Octa-core (2x1.77 GHz Cortex-A73 &amp; 6x1.59 GHz Cortex-A53)",
  "displayResolution_raw": "Super AMOLED",
  "displaySize_raw": "5.9 inches, 85.5 cm<sup>2</sup> (~85.5% screen-to-body ratio)",
  "displayType_raw": "Super AMOLED",
  "gpu": "Mali-G71 MP2",
  "internal_raw": "64GB 4GB RAM, 128GB 4GB RAM",
  "mainCameraFeatures": "LED flash, panorama, HDR",
  "mainCameraSpecs_raw": "16 MP, f/1.7, 26mm (wide), PDAF<br>\n5 MP, f/2.2, 13mm (ultrawide)",
  "mainVideoSpecs": "1080p@30fps",
  "selfieCameraFeatures": "",
  "selfieCameraSpecs_raw": "25 MP, f/2.0, 25mm (wide), 1/2.8\", 0.9µm",
  "selfieVideoSpecs": "1080p@30fps",
  "sensors": "",
  "charging_raw": "15W wired",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/samsung-galaxy-a40.jpg",
  "colors": [
    "Black",
    "White",
    "Blue",
    "Coral"
  ],
  "variants": [
    {
      "id": 504578,
      "model_number": "SM-A405F"
    },
    {
      "id": 504579,
      "model_number": "SM-A405FN"
    },
    {
      "id": 504580,
      "model_number": "SM-A405FM"
    },
    {
      "id": 504581,
      "model_number": "SM-A405S"
    }
  ],
  "normalized_specs": {
    "id": 451016,
    "display": {
      "id": 451016,
      "size_inches": 5.9,
      "panel_type": "Super AMOLED",
      "refresh_rate_hz": 0,
      "peak_brightness_nits": 0,
      "protection_type": "Corning Gorilla Glass 3"
    },
    "processor": {
      "id": 451016,
      "total_cores": 8,
      "max_clock_speed_ghz": 1.77
    },
    "memory_options": {
      "id": 451016,
      "available_ram_gb": [
        4
      ],
      "available_storage_gb": [
        64,
        128
      ],
      "has_card_slot": true,
      "storage_technology": "eMMC 5.1"
    },
    "battery_and_charging": {
      "id": 451016,
      "capacities_mah": [
        3100
      ],
      "max_wired_charging_w": 15,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 451016,
      "main_lenses_count": 2,
      "max_main_resolution_mp": 16,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 451016,
      "height_mm": 144.4,
      "width_mm": 69.2,
      "thickness_mm": 7.9,
      "weight_g": 140,
      "build_materials": [
        "Glass front (Gorilla Glass 3)",
        "plastic back",
        "plastic frame"
      ],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "",
      "is_water_resistant": false
    },
    "sound": {
      "id": 451016,
      "has_stereo_speakers": false,
      "has_jack_35mm": true,
      "audio_quality_features": []
    },
    "connectivity": {
      "id": 451016,
      "wlan_features": [
        "Wi-Fi 802.11 a/b/g/n/ac",
        "dual-band",
        "Wi-Fi Direct"
      ],
      "bluetooth_version": 5,
      "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": false
    },
    "benchmarks": {
      "id": 451016,
      "antutu_score": "106388 (v7)  GeekBench: 4112 (v4.4)  GFXBench: 4.6fps (ES 3.1 onscreen)",
      "geekbench_score": "4112 (v4.4)  GFXBench: 4.6fps (ES 3.1 onscreen)",
      "measured_display_brightness_nits": 548,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 451016,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

More comparisons