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
REST API & SDK SPECIFICATION

Smartphones API Documentation

The DeviceSpecs API delivers machine-readable specifications and benchmark telemetry for over 12,480+ smartphones. Sourced directly from hardware registers, raw marketing strings are parsed into strongly-typed numerical values (screen size in inches, refresh rates in Hz, battery in mAh, clock speed in GHz, and RAM/storage capacities in GB).

⚡ PRODUCTION EDGE BASE URL
https://gsmarenaparser.p.rapidapi.com/api/values

RapidAPI Authentication

All requests to the production API gateway require your RapidAPI key passed via HTTP request headers:

HTTP Headers
x-rapidapi-key: YOUR_RAPIDAPI_KEY
x-rapidapi-host: gsmarenaparser.p.rapidapi.com

Keys are provisioned instantly upon subscription on the RapidAPI Portal. A free sandbox tier is included for all developers.

.NET / C# Official Client SDK

NuGet v1.1.1

Install the strongly-typed NuGet package via .NET CLI:

Terminal
dotnet add package DeviceSpecs

C# Asynchronous Usage Example

Program.cs
1using DeviceSpecs;
2
3// 1. Initialize Client with RapidAPI Key
4using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
5
6// 2. Fetch Single Device Normalized Specs
7var pixel = await client.GetSpecsAsync("Google", "Pixel 9 Pro");
8Console.WriteLine($"Display: {pixel.NormalizedSpecs?.Display?.SizeInches} inch {pixel.NormalizedSpecs?.Display?.RefreshRateHz}Hz");
9
10// 3. Multi-Parameter Deep Query Filter
11var flagships = await client.Where()
12 .ManufacturerIs(Brands.Samsung)
13 .RamGreaterThanOrEqual(12)
14 .DisplayRefreshRateGreaterThanOrEqual(120)
15 .BatteryCapacityGreaterThanOrEqual(5000)
16 .ExecuteAsync();
17
18Console.WriteLine($"Matched {flagships.Count} flagship devices.");

TypeScript / Node.js Client SDK

NPM v1.0.0

Install the zero-dependency NPM package:

Terminal
npm i @granturismo/devicespecs

TypeScript Async Example

client.ts
1import { DeviceSpecsClient, Brands } from "@granturismo/devicespecs";
2
3const client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");
4
5// 1. Fetch Single Device Normalized Specs
6const iphone = await client.getSpecs("Apple", "iPhone 15 Pro");
7console.log(`Processor: ${iphone.chipset}, RAM: ${iphone.normalizedSpecs?.memoryOptions?.availableRamGb} GB`);
8
9// 2. Multi-Parameter Deep Query Filter
10const flagships = await client.where()
11 .manufacturerIs(Brands.Google)
12 .ramGreaterThanOrEqual(16)
13 .displayRefreshRateGreaterThanOrEqual(120)
14 .execute();
15
16console.log(`Matched ${flagships.length} devices.`);

Python Client SDK

PyPI v1.0.0

Sync and async clients built on httpx, with a fluent query builder and the full property alias table available as devicespecs.PROPERTY_ALIASES. Python 3.9 or newer.

Terminal
pip install devicespecs

Python usage

main.py
1from devicespecs import DeviceSpecsClient
2
3client = DeviceSpecsClient("YOUR_RAPIDAPI_KEY")
4
5# 1. Single device, full normalized payload
6pixel = client.get_specs("Google", "Pixel 9 Pro")
7print(pixel["normalized_specs"]["display"]["refresh_rate_hz"])
8
9# 2. Fluent Deep Query
10flagships = (
11 client.query()
12 .manufacturer_is("Samsung")
13 .ram_gte(12)
14 .refresh_rate_gte(120)
15 .battery_gte(5000)
16 .execute()
17)
18
19# 3. Raw filter parameters, paged
20jack = client.get_devices(headphone_jack=True, announcedate_contains="2025", limit=20)
21print(client.last_total_count)

Source and issues: GranTurismo/DeviceSpecs-python

MCP Server for AI Agents

npm + NuGet v0.1.0

A Model Context Protocol server that gives Claude, Cursor, VS Code and any other MCP client verified phone facts. It exposes seven read-only tools: get_phone_specs, search_phones (Deep Query), list_phones_by_manufacturer, list_phones_by_chipset, lookup_model_number, compare_phones and list_filter_properties. Compact responses keep token usage low; pass compact: false for full payloads. The same server ships as an npm package (Node 18+) and as a NuGet MCP server package (.NET 10, runs with dnx).

claude_desktop_config.json / .cursor/mcp.json
{
"mcpServers": {
"devicespecs": {
"command": "npx",
"args": ["-y", "@granturismo/devicespecs-mcp"],
"env": { "DEVICESPECS_API_KEY": "YOUR_RAPIDAPI_KEY" }
}
}
}

Claude Code

Terminal
claude mcp add devicespecs -e DEVICESPECS_API_KEY=YOUR_RAPIDAPI_KEY -- npx -y @granturismo/devicespecs-mcp

.NET: run from NuGet with dnx

Terminal
# .NET 10 SDK: run straight from NuGet, nothing to install
claude mcp add devicespecs -e DEVICESPECS_API_KEY=YOUR_RAPIDAPI_KEY -- dnx DeviceSpecs.Mcp --yes
# VS Code / Visual Studio (.vscode/mcp.json): "command": "dnx", "args": ["DeviceSpecs.Mcp", "--yes"]
# Or install it once as a global tool and use "command": "devicespecs-mcp"
dotnet tool install -g DeviceSpecs.Mcp

Source: GranTurismo/DeviceSpecs-mcp · npm: @granturismo/devicespecs-mcp · NuGet: DeviceSpecs.Mcp

REST ENDPOINTS REFERENCE
GET

Single Phone Specifications

/api/values/clean/getspecs/{manufacturer}/{model}

Returns the complete normalized JSON specifications, display parameters, SoC registers, battery capacities, and benchmark scores for a single device.

ParameterTypeRequiredExample
manufacturerstringYesGoogle
modelstringYesPixel 9 Pro
cURL Request
curl --request GET \
--url 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getspecs/Google/Pixel%209%20Pro' \
--header 'x-rapidapi-key: YOUR_RAPIDAPI_KEY' \
--header 'x-rapidapi-host: gsmarenaparser.p.rapidapi.com'
GET

Devices by Manufacturer

/api/values/clean/getdevices/{manufacturer}

Fetch all indexed phone models for a specific manufacturer brand.

cURL Request
curl --request GET \
--url 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/getdevices/Apple' \
--header 'x-rapidapi-key: YOUR_RAPIDAPI_KEY' \
--header 'x-rapidapi-host: gsmarenaparser.p.rapidapi.com'
GET

Devices by Chipset SoC

/api/values/clean/devicesbychipset/{chipset}

Retrieve all smartphones powered by a specific processor family (e.g. Snapdragon-8-Gen-3, Apple-A18-Pro).

cURL Request
curl --request GET \
--url 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/devicesbychipset/Snapdragon-8-Gen-3' \
--header 'x-rapidapi-key: YOUR_RAPIDAPI_KEY' \
--header 'x-rapidapi-host: gsmarenaparser.p.rapidapi.com'
GET

Deep Query Multi-Filter Engine

/api/values/clean/devices?ram_gte=16&refresh_rate_gte=120&battery_gte=5000

Filter phones across multiple hardware dimensions using suffix operators.

cURL Request
curl --request GET \
--url 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/devices?ram_gte=16&refresh_rate_gte=120&battery_gte=5000' \
--header 'x-rapidapi-key: YOUR_RAPIDAPI_KEY' \
--header 'x-rapidapi-host: gsmarenaparser.p.rapidapi.com'

Full grammar, operators and every property alias: Deep Query System.

GET

Model Number Lookup

/api/values/clean/devicebymodelnumber/{modelNumber}

Resolves hardware identifiers reported by Android (Build.MODEL) or printed on the device, such as SM-S928B, A3106 or GP8GD, to the marketing name, brand and chipset. Follow up with the single-device endpoint for the full payload (it also accepts model numbers directly).

cURL Request
curl --request GET \
--url 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/devicebymodelnumber/SM-S928B' \
--header 'x-rapidapi-key: YOUR_RAPIDAPI_KEY' \
--header 'x-rapidapi-host: gsmarenaparser.p.rapidapi.com'
# {"modelName":"Galaxy S24 Ultra","manufacturer":"Samsung","socName":"Qualcomm SM8650-AC Snapdragon 8 Gen 3"}
GET

Slim Catalog

/api/values/clean/catalog?manufacturer=&limit=&offset=

One compact record per indexed device: names, chipset, announce date, image, launch price, key numeric specs (display size, refresh rate, brightness, battery, charging, RAM and storage options, weight, main camera), capability flags (NFC, 3.5 mm jack, microSD, wireless charging, stereo speakers, infrared, FM radio), Bluetooth version, IP rating and hardware model numbers. About one twelfth of the full payload, so the entire index fits in one request.

cURL Request
curl --request GET \
--url 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/catalog?manufacturer=Google' \
--header 'x-rapidapi-key: YOUR_RAPIDAPI_KEY' \
--header 'x-rapidapi-host: gsmarenaparser.p.rapidapi.com'
limit & offset

Paging

Every list endpoint (by manufacturer, by chipset, Deep Query, catalog) accepts limit (1 to 1000) and offset. When either is present the response carries an X-Total-Count header with the number of matches before paging. Without them the complete list is returned, so existing integrations keep working.

cURL Request
curl --request GET -i \
--url 'https://gsmarenaparser.p.rapidapi.com/api/values/clean/devices?nfc=true&limit=25&offset=50' \
--header 'x-rapidapi-key: YOUR_RAPIDAPI_KEY' \
--header 'x-rapidapi-host: gsmarenaparser.p.rapidapi.com'
# HTTP/2 200
# x-total-count: 4312
# [ ...25 devices... ]
DEEP QUERY SYSTEM

Filter Query Syntax

Every list endpoint accepts filters of the form <property>[_<operator>]=<value>. All parameters are combined with AND. Property keys are case-insensitive and ignore dots and underscores, so display.size_inches, displaysize and DISPLAY_SIZE address the same field. Array properties (RAM options, storage options, battery capacities, colours, feature lists) match when any element matches. Unknown keys are ignored rather than rejected, so check spelling against the alias table below.

Examples
# <property>[_<operator>]=<value> (all parameters are ANDed)
/api/values/clean/devices?manufacturer=Samsung&ram_gte=12&refresh_rate_gte=120&battery_gte=5000
/api/values/clean/devices?headphone_jack=true&card_slot=true&announcedate_contains=2025
/api/values/clean/devices?chipset_contains=Snapdragon%208%20Elite&price_usd_between=1,900
/api/values/clean/devices?manufacturer_in=Google,Apple&weight_lt=200&weight_gt=0&limit=20
Numbers the manufacturer never published are stored as 0 and still take part in comparisons. For example weight_lte=200 also matches devices with unknown weight; add weight_gt=0 to exclude them. Launch prices are known for a subset of devices, so prefer price_usd_between=1,500 over price_usd_lte=500.

Supported Operators

SuffixTypesMeaningExample
(none)number, string, booleanExact match. Strings compare case-insensitively. Default when no suffix is given.manufacturer=Samsung
_gtnumberGreater than.battery_gt=5000
_gtenumberGreater than or equal.ram_gte=12
_ltnumberLess than.weight_lt=180
_ltenumberLess than or equal.price_usd_lte=500
_containsstringCase-insensitive substring match.chipset_contains=Snapdragon
_innumber, stringMatches any value in a comma-separated list.manufacturer_in=Google,Apple,Samsung
_betweennumberInclusive range given as min,max.display.size_inches_between=6.1,6.5
_hasbooleanBoolean capability flag. `_has=true`, `_has=false`, or bare `_has` for true.nfc_has=true

Property Aliases

Each row lists the JSON path in the response and every query key that addresses it. Combine any key with any operator that fits its type.

Root

JSON pathTypeQuery keysDescription
idnumberidInternal device id.
manufacturerstringmanufacturerBrand name, e.g. Samsung.
modelstringmodelMarketing model name, e.g. Galaxy S24 Ultra.
networkstringnetworkNetwork technologies string.
announceDatestringannouncedateAnnounce date string, e.g. "2024, August 13". Use _contains=2024 for a year.
statusstringstatusAvailability string (Available, Discontinued, Coming soon...).
chipsetstringchipsetSystem-on-chip name.
androidVersionstringandroidversion androidOS / Android version string.
gpustringgpuGPU name.
price_usdnumberprice_usd priceLaunch price in USD (0 when unknown).
price_eurnumberprice_eurLaunch price in EUR (0 when unknown).
price_gbpnumberprice_gbpLaunch price in GBP (0 when unknown).
colors[]string[]colorsAvailable colour names.

Display

JSON pathTypeQuery keysDescription
normalized_specs.display.size_inchesnumberdisplay.size_inches display.size displaysizeDiagonal in inches.
normalized_specs.display.panel_typestringdisplay.panel_type display.panel panel_typePanel technology (AMOLED, LTPO OLED, IPS LCD...).
normalized_specs.display.refresh_rate_hznumberdisplay.refresh_rate_hz display.refresh_rate refresh_rate refreshrateMaximum refresh rate in Hz.
normalized_specs.display.peak_brightness_nitsnumberdisplay.peak_brightness_nits display.brightness brightnessPeak brightness in nits.
normalized_specs.display.protection_typestringdisplay.protection_typeCover glass, e.g. Gorilla Glass Victus 2.

Processor

JSON pathTypeQuery keysDescription
normalized_specs.processor.total_coresnumberprocessor.total_cores processor.cores cores cpu_coresCPU core count.
normalized_specs.processor.max_clock_speed_ghznumberprocessor.max_clock_speed_ghz processor.speed clock_speedHighest CPU clock in GHz.

Memory

JSON pathTypeQuery keysDescription
normalized_specs.memory_options.available_ram_gb[]number[]memory.available_ram_gb memory.ram ramRAM options in GB.
normalized_specs.memory_options.available_storage_gb[]number[]memory.available_storage_gb memory.storage storageStorage options in GB (1 TB = 1024).
normalized_specs.memory_options.has_card_slotbooleanmemory.has_card_slot memory.card_slot card_slot cardslotmicroSD slot present.
normalized_specs.memory_options.storage_technologystringmemory.storage_technologyUFS / eMMC generation.

Battery

JSON pathTypeQuery keysDescription
normalized_specs.battery_and_charging.capacities_mah[]number[]power.capacities_mah power.battery battery battery_capacityBattery capacities in mAh (regional variants may differ).
normalized_specs.battery_and_charging.max_wired_charging_wnumberpower.max_wired_charging_w power.charging chargingMax wired charging in watts.
normalized_specs.battery_and_charging.has_wireless_chargingbooleanpower.has_wireless_charging power.wireless_charging wireless_charging wirelesschargingWireless charging supported.

Cameras

JSON pathTypeQuery keysDescription
normalized_specs.cameras.main_lenses_countnumbercameras.main_lenses_count main_camera_lensesNumber of rear lenses.
normalized_specs.cameras.max_main_resolution_mpnumbercameras.max_main_resolution_mp main_camera_mpHighest rear sensor resolution in MP.
normalized_specs.cameras.selfie_lenses_countnumbercameras.selfie_lenses_count selfie_camera_lensesNumber of front lenses.

Physical

JSON pathTypeQuery keysDescription
normalized_specs.physical.height_mmnumberphysical.height_mmHeight in mm.
normalized_specs.physical.width_mmnumberphysical.width_mmWidth in mm.
normalized_specs.physical.thickness_mmnumberphysical.thickness_mmThickness in mm.
normalized_specs.physical.weight_gnumberphysical.weight_g weightWeight in grams (0 when unknown).
normalized_specs.physical.build_materials[]string[]physical.build_materialsFrame / back materials.
normalized_specs.physical.sim_options[]string[]physical.sim_optionsSIM configurations (Nano-SIM, eSIM, Dual SIM...).
normalized_specs.physical.ip_ratingstringphysical.ip_rating ip_rating ipratingIngress protection rating, e.g. IP68.
normalized_specs.physical.is_water_resistantbooleanphysical.is_water_resistant physical.water_resistant water_resistant waterresistantAny water resistance rating present.

Sound

JSON pathTypeQuery keysDescription
normalized_specs.sound.has_stereo_speakersbooleansound.has_stereo_speakers sound.stereo_speakers stereo_speakers stereospeakersStereo speakers.
normalized_specs.sound.has_jack_35mmbooleansound.has_jack_35mm sound.jack_35mm jack_35mm headphone_jack3.5 mm headphone jack.
normalized_specs.sound.audio_quality_features[]string[]sound.audio_quality_featuresAudio features (Dolby Atmos, Hi-Res...).

Connectivity

JSON pathTypeQuery keysDescription
normalized_specs.connectivity.wlan_features[]string[]connectivity.wlan_featuresWi-Fi standards and features.
normalized_specs.connectivity.bluetooth_versionnumberconnectivity.bluetooth_versionBluetooth version, e.g. 5.3.
normalized_specs.connectivity.bluetooth_features[]string[]connectivity.bluetooth_featuresBluetooth profiles (A2DP, LE, aptX...).
normalized_specs.connectivity.positioning_tech[]string[]connectivity.positioning_techGNSS systems (GPS, GLONASS, Galileo...).
normalized_specs.connectivity.has_nfcbooleanconnectivity.has_nfc connectivity.nfc nfcNFC present.
normalized_specs.connectivity.has_infraredbooleanconnectivity.has_infrared connectivity.infrared infraredInfrared blaster present.
normalized_specs.connectivity.has_radiobooleanconnectivity.has_radio connectivity.radio radioFM radio present.
normalized_specs.connectivity.usb_typestringconnectivity.usb_typeUSB connector and version string.
normalized_specs.connectivity.usb_has_otgbooleanconnectivity.usb_has_otg usb_otgUSB OTG supported.

Benchmarks

JSON pathTypeQuery keysDescription
normalized_specs.benchmarks.antutu_scorestringbenchmarks.antutu_score antutuAnTuTu score string (use _contains).
normalized_specs.benchmarks.geekbench_scorestringbenchmarks.geekbench_score geekbenchGeekbench score string (use _contains).
normalized_specs.benchmarks.measured_display_brightness_nitsnumberbenchmarks.measured_display_brightness_nitsLab-measured brightness in nits.
normalized_specs.benchmarks.measured_loudspeaker_lufsnumberbenchmarks.measured_loudspeaker_lufsLoudspeaker loudness in LUFS.
normalized_specs.benchmarks.measured_battery_active_use_hoursnumberbenchmarks.measured_battery_active_use_hoursActive-use battery score in hours.

EU label

JSON pathTypeQuery keysDescription
normalized_specs.eu_label.energy_classstringeulabel.energy_classEU energy efficiency class (A-G).
normalized_specs.eu_label.battery_endurancestringeulabel.battery_enduranceEU battery endurance string.
normalized_specs.eu_label.battery_endurance_hoursnumbereulabel.battery_endurance_hoursEU battery endurance in hours.
normalized_specs.eu_label.free_fall_classstringeulabel.free_fall_classEU free-fall (drop) class.
normalized_specs.eu_label.repairability_classstringeulabel.repairability_classEU repairability class.
STRONGLY-TYPED HARDWARE SCHEMAS

Schema Inspector

All JSON payloads adhere to normalized schemas with typed numeric fields and boolean capability flags:

DisplayMetrics
sizeInches: number
panelType: string
refreshRateHz: number
peakBrightnessNits: number
protectionType: string
CpuMetrics
totalCores: number
maxClockSpeedGhz: number
lithographyNm: number
MemoryMetrics
availableRamGb: number[]
availableStorageGb: number[]
storageTechnology: string
hasCardSlot: boolean
PowerMetrics
capacitiesMah: number[]
maxWiredChargingW: number
hasWirelessCharging: boolean
BenchmarkMetrics
antutuScore: string
geekbenchScore: string
measuredBatteryHours: number
EuLabelMetrics
energyClass: string
batteryEnduranceHours: number
repairabilityClass: string