Specs comparison
Apple iPhone 4 vs Apple iPhone 4s
Apple iPhone 4s leads on 5 of the 6 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.
| Specification | Apple iPhone 4 | Apple iPhone 4s |
|---|---|---|
| Release | ||
| Announced | 2010, June. Released 2010, June | 2011, October 04. Released 2011, October 14 |
| Status | Discontinued | Discontinued |
| Display | ||
| Size | 3.5 in | 3.5 in |
| Panel | IPS LCD | IPS LCD |
| Resolution | IPS LCD | IPS LCD |
| Protection | Corning Gorilla Glass, oleophobic coating | Corning Gorilla Glass, oleophobic coating |
| Platform | ||
| Chipset | Apple A4 | Apple A5 |
| CPU | 1.0 GHz Cortex-A8 | Dual-core 1.0 GHz Cortex-A9 |
| Cores | 1 | 2 |
| Max clock | 1 GHz | 1 GHz |
| GPU | PowerVR SGX535 | PowerVR SGX543MP2 |
| OS | iOS 4, upgradable to iOS 7.1.2 | iOS 5, upgradable to iOS 9.3.6 |
| Memory | ||
| Storage options | 8 GB / 16 GB / 32 GB | 8 GB / 16 GB / 32 GB / 64 GB |
| microSD slot | No | No |
| Battery | ||
| Capacity | 1420 mAh | 1432 mAh |
| Wireless charging | No | No |
| Cameras | ||
| Rear lenses | 1 | 1 |
| Main resolution | 5 MP | 8 MP |
| Rear camera | 5 MP, f/2.8, 1/3.2", 1.75µm, AF | 8 MP, f/2.4, 35mm (standard), 1/3.2", 1.4µm, AF |
| Rear video | 720p@30fps | 1080p@30fps |
| Front camera | VGA, videocalling over Wi-Fi only | VGA, videocalling over Wi-Fi and 3G |
| Body | ||
| Weight | 137 g | 140 g |
| Thickness | 9.3 mm | 9.3 mm |
| Height | 115.2 mm | 115.2 mm |
| Width | 58.6 mm | 58.6 mm |
| Materials | Glass front (Corning-made glass), glass back, stainless steel frame | Glass front (Corning-made glass), glass back, stainless steel frame |
| SIM | Micro-SIM | Micro-SIM |
| Sound and connectivity | ||
| Stereo speakers | No | No |
| 3.5 mm jack | Yes | Yes |
| NFC | No | No |
| Bluetooth | 2.1 | 4 |
| Wi-Fi | Wi-Fi 802.11 b/g/n, hotspot | Wi-Fi 802.11 b/g/n, hotspot |
| USB | 2.0 | 2.0 |
| Infrared | No | No |
Apple iPhone 4 JSON
GET/api/values/clean/getspecs/Apple/iPhone%204
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Apple/iPhone%204' \ -H 'x-rapidapi-key: YOUR_RAPIDAPI_KEY' \ -H 'x-rapidapi-host: gsmarenaparser.p.rapidapi.com'SDK equivalents (Python, TypeScript, C#)
Python
from devicespecs import DeviceSpecsClientclient = DeviceSpecsClient("YOUR_RAPIDAPI_KEY")device = client.get_specs("Apple", "iPhone 4")print(device["normalized_specs"]["display"])TypeScript
import { DeviceSpecsClient } from "@granturismo/devicespecs";const client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");const device = await client.getSpecs("Apple", "iPhone 4");console.log(device?.normalized_specs?.display);C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");var device = await client.GetSpecsAsync("Apple", "iPhone 4");Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);Show raw response
{
"id": 452373,
"manufacturer": "Apple",
"model": "iPhone 4",
"network": "GSM / HSPA",
"announceDate": "2010, June. Released 2010, June",
"status": "Discontinued",
"chipset": "Apple A4",
"androidVersion": "iOS 4, upgradable to iOS 7.1.2",
"battery_raw": "Li-Po 1420 mAh, non-removable",
"cpu_raw": "1.0 GHz Cortex-A8",
"displayResolution_raw": "IPS LCD",
"displaySize_raw": "3.5 inches, 36.5 cm<sup>2</sup> (~54.0% screen-to-body ratio)",
"displayType_raw": "IPS LCD",
"gpu": "PowerVR SGX535",
"internal_raw": "8GB 512MB RAM, 16GB 512MB RAM, 32GB 512MB RAM",
"mainCameraFeatures": "LED flash, HDR",
"mainCameraSpecs_raw": "5 MP, f/2.8, 1/3.2\", 1.75µm, AF",
"mainVideoSpecs": "720p@30fps",
"selfieCameraFeatures": "",
"selfieCameraSpecs_raw": "VGA, videocalling over Wi-Fi only",
"selfieVideoSpecs": "480p@30fps",
"sensors": "",
"charging_raw": "Up to 300 h (3G)",
"price_usd": 0,
"price_eur": 0,
"price_gbp": 0,
"imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/apple-iphone-4-ofic-final.jpg",
"colors": [
"Black",
"White"
],
"variants": [
{
"id": 507007,
"model_number": "A1349"
},
{
"id": 507008,
"model_number": "A1332"
},
{
"id": 507009,
"model_number": "iPhone 3"
},
{
"id": 507010,
"model_number": "1"
}
],
"normalized_specs": {
"id": 452378,
"display": {
"id": 452378,
"size_inches": 3.5,
"panel_type": "IPS LCD",
"refresh_rate_hz": 0,
"peak_brightness_nits": 0,
"protection_type": "Corning Gorilla Glass, oleophobic coating"
},
"processor": {
"id": 452378,
"total_cores": 1,
"max_clock_speed_ghz": 1
},
"memory_options": {
"id": 452378,
"available_ram_gb": [],
"available_storage_gb": [
8,
16,
32
],
"has_card_slot": false,
"storage_technology": ""
},
"battery_and_charging": {
"id": 452378,
"capacities_mah": [
1420
],
"max_wired_charging_w": 0,
"has_wireless_charging": false
},
"cameras": {
"id": 452378,
"main_lenses_count": 1,
"max_main_resolution_mp": 5,
"selfie_lenses_count": 0
},
"physical": {
"id": 452378,
"height_mm": 115.2,
"width_mm": 58.6,
"thickness_mm": 9.3,
"weight_g": 137,
"build_materials": [
"Glass front (Corning-made glass)",
"glass back",
"stainless steel frame"
],
"sim_options": [
"Micro-SIM"
],
"ip_rating": "",
"is_water_resistant": false
},
"sound": {
"id": 452378,
"has_stereo_speakers": false,
"has_jack_35mm": true,
"audio_quality_features": []
},
"connectivity": {
"id": 452378,
"wlan_features": [
"Wi-Fi 802.11 b/g/n",
"hotspot"
],
"bluetooth_version": 2.1,
"bluetooth_features": [
"A2DP"
],
"positioning_tech": [
"GPS",
"A-GPS"
],
"has_nfc": false,
"has_infrared": false,
"has_radio": false,
"usb_type": "2.0",
"usb_has_otg": false
},
"benchmarks": {
"id": 452378,
"antutu_score": "",
"geekbench_score": "",
"measured_display_brightness_nits": 0,
"measured_loudspeaker_lufs": 0,
"measured_battery_active_use_hours": 0
},
"eu_label": {
"id": 452378,
"energy_class": "",
"battery_endurance": "",
"battery_endurance_hours": 0,
"free_fall_class": "",
"repairability_class": ""
}
}
}Apple iPhone 4s JSON
GET/api/values/clean/getspecs/Apple/iPhone%204s
cURL
curl 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Apple/iPhone%204s' \ -H 'x-rapidapi-key: YOUR_RAPIDAPI_KEY' \ -H 'x-rapidapi-host: gsmarenaparser.p.rapidapi.com'SDK equivalents (Python, TypeScript, C#)
Python
from devicespecs import DeviceSpecsClientclient = DeviceSpecsClient("YOUR_RAPIDAPI_KEY")device = client.get_specs("Apple", "iPhone 4s")print(device["normalized_specs"]["display"])TypeScript
import { DeviceSpecsClient } from "@granturismo/devicespecs";const client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");const device = await client.getSpecs("Apple", "iPhone 4s");console.log(device?.normalized_specs?.display);C#
using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");var device = await client.GetSpecsAsync("Apple", "iPhone 4s");Console.WriteLine(device?.NormalizedSpecs?.Display?.SizeInches);Show raw response
{
"id": 452369,
"manufacturer": "Apple",
"model": "iPhone 4s",
"network": "GSM / CDMA / HSPA / EVDO",
"announceDate": "2011, October 04. Released 2011, October 14",
"status": "Discontinued",
"chipset": "Apple A5",
"androidVersion": "iOS 5, upgradable to iOS 9.3.6",
"battery_raw": "Li-Po 1432 mAh, non-removable (5.3 Wh)",
"cpu_raw": "Dual-core 1.0 GHz Cortex-A9",
"displayResolution_raw": "IPS LCD",
"displaySize_raw": "3.5 inches, 36.5 cm<sup>2</sup> (~54.0% screen-to-body ratio)",
"displayType_raw": "IPS LCD",
"gpu": "PowerVR SGX543MP2",
"internal_raw": "8GB 512MB RAM, 16GB 512MB RAM, 32GB 512MB RAM, 64GB 512MB RAM",
"mainCameraFeatures": "LED flash, panorama, HDR",
"mainCameraSpecs_raw": "8 MP, f/2.4, 35mm (standard), 1/3.2\", 1.4µm, AF",
"mainVideoSpecs": "1080p@30fps",
"selfieCameraFeatures": "",
"selfieCameraSpecs_raw": "VGA, videocalling over Wi-Fi and 3G",
"selfieVideoSpecs": "480p@30fps",
"sensors": "",
"charging_raw": "Up to 200 h (3G)",
"price_usd": 0,
"price_eur": 0,
"price_gbp": 0,
"imageUrl": "https://fdn2.gsmarena.com/vv/bigpic/apple-iphone-4s-new.jpg",
"colors": [
"Black",
"White"
],
"variants": [
{
"id": 506991,
"model_number": "A1431"
},
{
"id": 506992,
"model_number": "A1387"
},
{
"id": 506993,
"model_number": "iPhone4"
},
{
"id": 506994,
"model_number": "1"
}
],
"normalized_specs": {
"id": 452374,
"display": {
"id": 452374,
"size_inches": 3.5,
"panel_type": "IPS LCD",
"refresh_rate_hz": 0,
"peak_brightness_nits": 0,
"protection_type": "Corning Gorilla Glass, oleophobic coating"
},
"processor": {
"id": 452374,
"total_cores": 2,
"max_clock_speed_ghz": 1
},
"memory_options": {
"id": 452374,
"available_ram_gb": [],
"available_storage_gb": [
8,
16,
32,
64
],
"has_card_slot": false,
"storage_technology": ""
},
"battery_and_charging": {
"id": 452374,
"capacities_mah": [
1432
],
"max_wired_charging_w": 0,
"has_wireless_charging": false
},
"cameras": {
"id": 452374,
"main_lenses_count": 1,
"max_main_resolution_mp": 8,
"selfie_lenses_count": 0
},
"physical": {
"id": 452374,
"height_mm": 115.2,
"width_mm": 58.6,
"thickness_mm": 9.3,
"weight_g": 140,
"build_materials": [
"Glass front (Corning-made glass)",
"glass back",
"stainless steel frame"
],
"sim_options": [
"Micro-SIM"
],
"ip_rating": "",
"is_water_resistant": false
},
"sound": {
"id": 452374,
"has_stereo_speakers": false,
"has_jack_35mm": true,
"audio_quality_features": []
},
"connectivity": {
"id": 452374,
"wlan_features": [
"Wi-Fi 802.11 b/g/n",
"hotspot"
],
"bluetooth_version": 4,
"bluetooth_features": [
"A2DP",
"LE"
],
"positioning_tech": [
"GPS",
"A-GPS",
"GLONASS"
],
"has_nfc": false,
"has_infrared": false,
"has_radio": false,
"usb_type": "2.0",
"usb_has_otg": false
},
"benchmarks": {
"id": 452374,
"antutu_score": "",
"geekbench_score": "",
"measured_display_brightness_nits": 0,
"measured_loudspeaker_lufs": 0,
"measured_battery_active_use_hours": 0
},
"eu_label": {
"id": 452374,
"energy_class": "",
"battery_endurance": "",
"battery_endurance_hours": 0,
"free_fall_class": "",
"repairability_class": ""
}
}
}
