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 A31 vs vivo Y5s

Samsung Galaxy A31 leads on 4 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 A31

Samsung Galaxy A31

2020 · Mediatek MT6768 Helio P65
VS
vivo Y5s

vivo Y5s

2019 · Mediatek MT6768 Helio P65
SpecificationSamsung Galaxy A31vivo Y5s
Release
Announced2020, March 24. Released 2020, April 272019, November. Released 2019, December
StatusDiscontinuedDiscontinued
Display
Size6.4 in6.53 in
PanelSuper AMOLEDIPS LCD
ResolutionSuper AMOLEDIPS LCD
Platform
ChipsetMediatek MT6768 Helio P65Mediatek MT6768 Helio P65
CPUOcta-core (2x2.0 GHz Cortex-A75 & 6x1.7 GHz Cortex-A55)Octa-core (2x2.0 GHz Cortex-A75 & 6x1.7 GHz Cortex-A55)
Cores88
Max clock2 GHz2 GHz
GPUMali-G52 MC2Mali-G52 MC2
OSAndroid 10, upgradable to Android 12, One UI 4.1Android 9.0 (Pie), Funtouch 9.2
AnTuTu151815 (v8) GeekBench: 5096 (v4.4)—
Geekbench5096 (v4.4)—
Memory
RAM options4 GB / 6 GB / 8 GB6 GB
Storage options64 GB / 128 GB128 GB
Storage techeMMC 5.1eMMC 5.1
microSD slotYesYes
Battery
Capacity5000 mAh5000 mAh
Wired charging15 W18 W
Wireless chargingNoNo
Cameras
Rear lenses33
Main resolution48 MP16 MP
Rear camera48 MP, f/2.0, 26mm (wide), 1/2.0", 0.8µm, PDAF, 8 MP, f/2.2, 123˚, (ultrawide), 1/4.0", 1.12µm, 5 MP (macro), Auxiliary lens16 MP, f/1.8, (wide), PDAF, 8 MP, f/2.2, 13mm (ultrawide), 2 MP (macro)
Rear video1080p@30fps1080p@30fps
Front camera20 MP, f/2.2, (wide)16 MP, f/2.0, 26mm (wide), 1/3.06", 1.0µm
Body
Weight185 g193 g
Thickness8.6 mm8.9 mm
Height159.3 mm162.2 mm
Width73.1 mm76.5 mm
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.0microUSB 2.0
InfraredNoNo

Samsung Galaxy A31 JSON

GET/api/values/clean/getspecs/Samsung/Galaxy%20A31
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Samsung/Galaxy%20A31' \
-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 A31")
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 A31");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("Samsung", "Galaxy A31");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 450954,
  "manufacturer": "Samsung",
  "model": "Galaxy A31",
  "network": "GSM / HSPA / LTE",
  "announceDate": "2020, March 24. Released 2020, April 27",
  "status": "Discontinued",
  "chipset": "Mediatek MT6768 Helio P65",
  "androidVersion": "Android 10, upgradable to Android 12, One UI 4.1",
  "battery_raw": "Li-Po 5000 mAh",
  "cpu_raw": "Octa-core (2x2.0 GHz Cortex-A75 & 6x1.7 GHz Cortex-A55)",
  "displayResolution_raw": "Super AMOLED",
  "displaySize_raw": "6.4 inches, 98.9 cm<sup>2</sup> (~84.9% screen-to-body ratio)",
  "displayType_raw": "Super AMOLED",
  "gpu": "Mali-G52 MC2",
  "internal_raw": "64GB 4GB RAM, 128GB 4GB RAM, 128GB 6GB RAM, 128GB 8GB RAM",
  "mainCameraFeatures": "LED flash, panorama, HDR",
  "mainCameraSpecs_raw": "48 MP, f/2.0, 26mm (wide), 1/2.0\", 0.8µm, PDAF<br>\n8 MP, f/2.2, 123˚, (ultrawide), 1/4.0\", 1.12µm<br>\n5 MP (macro)<br>\nAuxiliary lens",
  "mainVideoSpecs": "1080p@30fps",
  "selfieCameraFeatures": "",
  "selfieCameraSpecs_raw": "20 MP, f/2.2, (wide)",
  "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-a31.jpg",
  "colors": [
    "Prism Crush Black",
    "Prism Crush Blue",
    "Prism Crush Red",
    "Prism Crush White"
  ],
  "variants": [
    {
      "id": 504283,
      "model_number": "SM-A315F"
    },
    {
      "id": 504284,
      "model_number": "SM-A315F/DS"
    },
    {
      "id": 504285,
      "model_number": "SM-A315G/DS"
    },
    {
      "id": 504286,
      "model_number": "SM-A315G"
    },
    {
      "id": 504287,
      "model_number": "SM-A315N"
    }
  ],
  "normalized_specs": {
    "id": 450959,
    "display": {
      "id": 450959,
      "size_inches": 6.4,
      "panel_type": "Super AMOLED",
      "refresh_rate_hz": 0,
      "peak_brightness_nits": 0,
      "protection_type": ""
    },
    "processor": {
      "id": 450959,
      "total_cores": 8,
      "max_clock_speed_ghz": 2
    },
    "memory_options": {
      "id": 450959,
      "available_ram_gb": [
        4,
        6,
        8
      ],
      "available_storage_gb": [
        64,
        128
      ],
      "has_card_slot": true,
      "storage_technology": "eMMC 5.1"
    },
    "battery_and_charging": {
      "id": 450959,
      "capacities_mah": [
        5000
      ],
      "max_wired_charging_w": 15,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 450959,
      "main_lenses_count": 3,
      "max_main_resolution_mp": 48,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 450959,
      "height_mm": 159.3,
      "width_mm": 73.1,
      "thickness_mm": 8.6,
      "weight_g": 185,
      "build_materials": [],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "",
      "is_water_resistant": false
    },
    "sound": {
      "id": 450959,
      "has_stereo_speakers": false,
      "has_jack_35mm": true,
      "audio_quality_features": []
    },
    "connectivity": {
      "id": 450959,
      "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": true
    },
    "benchmarks": {
      "id": 450959,
      "antutu_score": "151815 (v8)  GeekBench: 5096 (v4.4)",
      "geekbench_score": "5096 (v4.4)",
      "measured_display_brightness_nits": 635,
      "measured_loudspeaker_lufs": -30.9,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 450959,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

vivo Y5s JSON

GET/api/values/clean/getspecs/vivo/Y5s
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/vivo/Y5s' \
-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("vivo", "Y5s")
print(device["normalized_specs"]["display"])
TypeScript
import { DeviceSpecsClient } from "@granturismo/devicespecs";
const client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
const device = await client.getSpecs("vivo", "Y5s");
console.log(device?.normalized_specs?.display);
C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
var device = await client.GetSpecsAsync("vivo", "Y5s");
Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);
Get a free API key
Show raw response
{
  "id": 450172,
  "manufacturer": "vivo",
  "model": "Y5s",
  "network": "GSM / HSPA / LTE",
  "announceDate": "2019, November. Released 2019, December",
  "status": "Discontinued",
  "chipset": "Mediatek MT6768 Helio P65",
  "androidVersion": "Android 9.0 (Pie), Funtouch 9.2",
  "battery_raw": "5000 mAh, non-removable",
  "cpu_raw": "Octa-core (2x2.0 GHz Cortex-A75 &amp; 6x1.7 GHz Cortex-A55)",
  "displayResolution_raw": "IPS LCD",
  "displaySize_raw": "6.53 inches, 104.7 cm<sup>2</sup> (~84.4% screen-to-body ratio)",
  "displayType_raw": "IPS LCD",
  "gpu": "Mali-G52 MC2",
  "internal_raw": "128GB 6GB RAM",
  "mainCameraFeatures": "LED flash, HDR, panorama",
  "mainCameraSpecs_raw": "16 MP, f/1.8, (wide), PDAF<br>\n8 MP, f/2.2, 13mm (ultrawide)<br>\n2 MP (macro)",
  "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": "18W wired\n5W reverse wired",
  "price_usd": 0,
  "price_eur": 0,
  "price_gbp": 0,
  "imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/vivo-y5s.jpg",
  "colors": [
    "Magnetic Black",
    "Spring White",
    "Blue"
  ],
  "variants": [
    {
      "id": 502608,
      "model_number": "V1934A"
    }
  ],
  "normalized_specs": {
    "id": 450177,
    "display": {
      "id": 450177,
      "size_inches": 6.53,
      "panel_type": "IPS LCD",
      "refresh_rate_hz": 0,
      "peak_brightness_nits": 0,
      "protection_type": ""
    },
    "processor": {
      "id": 450177,
      "total_cores": 8,
      "max_clock_speed_ghz": 2
    },
    "memory_options": {
      "id": 450177,
      "available_ram_gb": [
        6
      ],
      "available_storage_gb": [
        128
      ],
      "has_card_slot": true,
      "storage_technology": "eMMC 5.1"
    },
    "battery_and_charging": {
      "id": 450177,
      "capacities_mah": [
        5000
      ],
      "max_wired_charging_w": 18,
      "has_wireless_charging": false
    },
    "cameras": {
      "id": 450177,
      "main_lenses_count": 3,
      "max_main_resolution_mp": 16,
      "selfie_lenses_count": 1
    },
    "physical": {
      "id": 450177,
      "height_mm": 162.2,
      "width_mm": 76.5,
      "thickness_mm": 8.9,
      "weight_g": 193,
      "build_materials": [],
      "sim_options": [
        "Nano-SIM"
      ],
      "ip_rating": "",
      "is_water_resistant": false
    },
    "sound": {
      "id": 450177,
      "has_stereo_speakers": false,
      "has_jack_35mm": true,
      "audio_quality_features": []
    },
    "connectivity": {
      "id": 450177,
      "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": "microUSB 2.0",
      "usb_has_otg": true
    },
    "benchmarks": {
      "id": 450177,
      "antutu_score": "",
      "geekbench_score": "",
      "measured_display_brightness_nits": 0,
      "measured_loudspeaker_lufs": 0,
      "measured_battery_active_use_hours": 0
    },
    "eu_label": {
      "id": 450177,
      "energy_class": "",
      "battery_endurance": "",
      "battery_endurance_hours": 0,
      "free_fall_class": "",
      "repairability_class": ""
    }
  }
}

More comparisons