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

On the 6 metrics where both phones differ and a direction is meaningful, the two devices split evenly. Every value comes from the Device Specs API; the requests that return both payloads are at the bottom of the page.

Samsung Galaxy A40

Samsung Galaxy A40

2019 · Exynos 7904
VS
Samsung Galaxy M30

Samsung Galaxy M30

2019 · Exynos 7904
SpecificationSamsung Galaxy A40Samsung Galaxy M30
Release
Announced2019, March 19. Released 2019, April2019, February 27. Released 2019, March
StatusDiscontinuedDiscontinued
Display
Size5.9 in6.4 in
PanelSuper AMOLEDSuper AMOLED
ResolutionSuper AMOLEDSuper AMOLED
ProtectionCorning Gorilla Glass 3—
Platform
ChipsetExynos 7904Exynos 7904
CPUOcta-core (2x1.77 GHz Cortex-A73 & 6x1.59 GHz Cortex-A53)Octa-core (2x1.8 GHz Cortex-A73 & 6x1.6 GHz Cortex-A53)
Cores88
Max clock1.77 GHz1.8 GHz
GPUMali-G71 MP2Mali-G71 MP2
OSAndroid 9.0 (Pie), upgradable to Android 11Android 8.1 (Oreo), upgradable to Android 10, One UI 2
AnTuTu106388 (v7) GeekBench: 4112 (v4.4) GFXBench: 4.6fps (ES 3.1 onscreen)101651 (v7) GeekBench: 4188 (v4.4) GFXBench: 4.6fps (ES 3.1 onscreen)
Geekbench4112 (v4.4) GFXBench: 4.6fps (ES 3.1 onscreen)4188 (v4.4) GFXBench: 4.6fps (ES 3.1 onscreen)
Memory
RAM options4 GB3 GB / 4 GB / 6 GB
Storage options64 GB / 128 GB32 GB / 64 GB / 128 GB
Storage techeMMC 5.1eMMC 5.1
microSD slotYesYes
Battery
Capacity3100 mAh5000 mAh
Wired charging15 W15 W
Wireless chargingNoNo
Cameras
Rear lenses22
Main resolution16 MP13 MP
Rear camera16 MP, f/1.7, 26mm (wide), PDAF, 5 MP, f/2.2, 13mm (ultrawide)13 MP, f/1.9, PDAF, 5 MP, f/2.2, 12mm (ultrawide), Auxiliary lens
Rear video1080p@30fps1080p@30fps
Front camera25 MP, f/2.0, 25mm (wide), 1/2.8", 0.9µm16 MP, f/2.0, 26mm (wide), 1/3.06", 1.0µm
Body
Weight140 g174 g
Thickness7.9 mm8.5 mm
Height144.4 mm159 mm
Width69.2 mm75.1 mm
MaterialsGlass front (Gorilla Glass 3), plastic back, plastic frameGlass front, plastic back, plastic frame
SIMNano-SIMNano-SIM
Sound and connectivity
Stereo speakersNoNo
3.5 mm jackYesYes
NFCYesNo
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 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 & 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": ""
    }
  }
}

Samsung Galaxy M30 JSON

GET/api/values/clean/getspecs/Samsung/Galaxy%20M30
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Samsung/Galaxy%20M30' \
-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 M30")
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 M30");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Samsung", "Galaxy M30");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 451004,
  "manufacturer": "Samsung",
  "model": "Galaxy M30",
  "network": "GSM / HSPA / LTE",
  "announceDate": "2019, February 27. Released 2019, March",
  "status": "Discontinued",
  "chipset": "Exynos 7904",
  "androidVersion": "Android 8.1 (Oreo), upgradable to Android 10, One UI 2",
  "battery_raw": "Li-Po 5000 mAh, non-removable",
  "cpu_raw": "Octa-core (2x1.8 GHz Cortex-A73 &amp; 6x1.6 GHz Cortex-A53)",
  "displayResolution_raw": "Super AMOLED",
  "displaySize_raw": "6.4 inches, 100.5 cm<sup>2</sup> (~84.2% screen-to-body ratio)",
  "displayType_raw": "Super AMOLED",
  "gpu": "Mali-G71 MP2",
  "internal_raw": "32GB 3GB RAM, 32GB 4GB RAM, 64GB 4GB RAM, 64GB 6GB RAM, 128GB 6GB RAM",
  "mainCameraFeatures": "LED flash, panorama, HDR",
  "mainCameraSpecs_raw": "13 MP, f/1.9, PDAF<br>\n5 MP, f/2.2, 12mm (ultrawide)<br>\nAuxiliary lens",
  "mainVideoSpecs": "1080p@30fps",
  "selfieCameraFeatures": "HDR",
  "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-m30-.jpg",
  "colors": [
    "Black",
    "Blue"
  ],
  "variants": [
    {
      "id": 504532,
      "model_number": "SM-M305F"
    },
    {
      "id": 504533,
      "model_number": "SM-M305FN"
    },
    {
      "id": 504534,
      "model_number": "SM-M305G"
    },
    {
      "id": 504535,
      "model_number": "SM-M305M"
    },
    {
      "id": 504536,
      "model_number": "SM-A3051"
    },
    {
      "id": 504537,
      "model_number": "SM-A3058"
    },
    {
      "id": 504538,
      "model_number": "SM-A3050"
    }
  ],
  "normalized_specs": {
    "id": 451009,
    "display": {
      "id": 451009,
      "size_inches": 6.4,
      "panel_type": "Super AMOLED",
      "refresh_rate_hz": 0,
      "peak_brightness_nits": 0,
      "protection_type": ""
    },
    "processor": {
      "id": 451009,
      "total_cores": 8,
      "max_clock_speed_ghz": 1.8
    },
    "memory_options": {
      "id": 451009,
      "available_ram_gb": [
        3,
        4,
        6
      ],
      "available_storage_gb": [
        32,
        64,
        128
      ],
      "has_card_slot": true,
      "storage_technology": "eMMC 5.1"
    },
    "battery_and_charging": {
      "id": 451009,
      "capacities_mah": [
        5000
      ],
      "max_wired_charging_w": 15,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 451009,
      "main_lenses_count": 2,
      "max_main_resolution_mp": 13,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 451009,
      "height_mm": 159,
      "width_mm": 75.1,
      "thickness_mm": 8.5,
      "weight_g": 174,
      "build_materials": [
        "Glass front",
        "plastic back",
        "plastic frame"
      ],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "",
      "is_water_resistant": false
    },
    "sound": {
      "id": 451009,
      "has_stereo_speakers": false,
      "has_jack_35mm": true,
      "audio_quality_features": []
    },
    "connectivity": {
      "id": 451009,
      "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",
        "BDS"
      ],
      "has_nfc": false,
      "has_infrared": false,
      "has_radio": false,
      "usb_type": "USB Type-C 2.0",
      "usb_has_otg": false
    },
    "benchmarks": {
      "id": 451009,
      "antutu_score": "101651 (v7)  GeekBench: 4188 (v4.4)  GFXBench: 4.6fps (ES 3.1 onscreen)",
      "geekbench_score": "4188 (v4.4)  GFXBench: 4.6fps (ES 3.1 onscreen)",
      "measured_display_brightness_nits": 640,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 451009,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

More comparisons