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).
https://gsmarenaparser.p.rapidapi.com/api/valuesRapidAPI Authentication
All requests to the production API gateway require your RapidAPI key passed via HTTP request headers:
x-rapidapi-key: YOUR_RAPIDAPI_KEYx-rapidapi-host: gsmarenaparser.p.rapidapi.comKeys 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.1Install the strongly-typed NuGet package via .NET CLI:
dotnet add package DeviceSpecsC# Asynchronous Usage Example
1using DeviceSpecs;23// 1. Initialize Client with RapidAPI Key4using var client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");56// 2. Fetch Single Device Normalized Specs7var pixel = await client.GetSpecsAsync("Google", "Pixel 9 Pro");8Console.WriteLine($"Display: {pixel.NormalizedSpecs?.Display?.SizeInches} inch {pixel.NormalizedSpecs?.Display?.RefreshRateHz}Hz");910// 3. Multi-Parameter Deep Query Filter11var flagships = await client.Where()12 .ManufacturerIs(Brands.Samsung)13 .RamGreaterThanOrEqual(12)14 .DisplayRefreshRateGreaterThanOrEqual(120)15 .BatteryCapacityGreaterThanOrEqual(5000)16 .ExecuteAsync();1718Console.WriteLine($"Matched {flagships.Count} flagship devices.");TypeScript / Node.js Client SDK
NPM v1.0.0Install the zero-dependency NPM package:
npm i @granturismo/devicespecsTypeScript Async Example
1import { DeviceSpecsClient, Brands } from "@granturismo/devicespecs";23const client = new DeviceSpecsClient("YOUR_RAPIDAPI_KEY");45// 1. Fetch Single Device Normalized Specs6const iphone = await client.getSpecs("Apple", "iPhone 15 Pro");7console.log(`Processor: ${iphone.chipset}, RAM: ${iphone.normalizedSpecs?.memoryOptions?.availableRamGb} GB`);89// 2. Multi-Parameter Deep Query Filter10const flagships = await client.where()11 .manufacturerIs(Brands.Google)12 .ramGreaterThanOrEqual(16)13 .displayRefreshRateGreaterThanOrEqual(120)14 .execute();1516console.log(`Matched ${flagships.length} devices.`);Python Client SDK
PyPI v1.0.0Sync 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.
pip install devicespecsPython usage
1from devicespecs import DeviceSpecsClient23client = DeviceSpecsClient("YOUR_RAPIDAPI_KEY")45# 1. Single device, full normalized payload6pixel = client.get_specs("Google", "Pixel 9 Pro")7print(pixel["normalized_specs"]["display"]["refresh_rate_hz"])89# 2. Fluent Deep Query10flagships = (11 client.query()12 .manufacturer_is("Samsung")13 .ram_gte(12)14 .refresh_rate_gte(120)15 .battery_gte(5000)16 .execute()17)1819# 3. Raw filter parameters, paged20jack = 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.0A 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).
{ "mcpServers": { "devicespecs": { "command": "npx", "args": ["-y", "@granturismo/devicespecs-mcp"], "env": { "DEVICESPECS_API_KEY": "YOUR_RAPIDAPI_KEY" } } }}Claude Code
claude mcp add devicespecs -e DEVICESPECS_API_KEY=YOUR_RAPIDAPI_KEY -- npx -y @granturismo/devicespecs-mcp.NET: run from NuGet with dnx
# .NET 10 SDK: run straight from NuGet, nothing to installclaude 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.McpSource: GranTurismo/DeviceSpecs-mcp · npm: @granturismo/devicespecs-mcp · NuGet: DeviceSpecs.Mcp
Single Phone Specifications
Returns the complete normalized JSON specifications, display parameters, SoC registers, battery capacities, and benchmark scores for a single device.
| Parameter | Type | Required | Example |
|---|---|---|---|
manufacturer | string | Yes | |
model | string | Yes | Pixel 9 Pro |
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'Devices by Manufacturer
Fetch all indexed phone models for a specific manufacturer brand.
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'Devices by Chipset SoC
Retrieve all smartphones powered by a specific processor family (e.g. Snapdragon-8-Gen-3, Apple-A18-Pro).
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'Deep Query Multi-Filter Engine
Filter phones across multiple hardware dimensions using suffix operators.
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.
Model Number Lookup
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 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"}Slim Catalog
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 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'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 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... ]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.
# <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=200 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
| Suffix | Types | Meaning | Example |
|---|---|---|---|
(none) | number, string, boolean | Exact match. Strings compare case-insensitively. Default when no suffix is given. | manufacturer=Samsung |
_gt | number | Greater than. | battery_gt=5000 |
_gte | number | Greater than or equal. | ram_gte=12 |
_lt | number | Less than. | weight_lt=180 |
_lte | number | Less than or equal. | price_usd_lte=500 |
_contains | string | Case-insensitive substring match. | chipset_contains=Snapdragon |
_in | number, string | Matches any value in a comma-separated list. | manufacturer_in=Google,Apple,Samsung |
_between | number | Inclusive range given as min,max. | display.size_inches_between=6.1,6.5 |
_has | boolean | Boolean 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 path | Type | Query keys | Description |
|---|---|---|---|
id | number | id | Internal device id. |
manufacturer | string | manufacturer | Brand name, e.g. Samsung. |
model | string | model | Marketing model name, e.g. Galaxy S24 Ultra. |
network | string | network | Network technologies string. |
announceDate | string | announcedate | Announce date string, e.g. "2024, August 13". Use _contains=2024 for a year. |
status | string | status | Availability string (Available, Discontinued, Coming soon...). |
chipset | string | chipset | System-on-chip name. |
androidVersion | string | androidversion android | OS / Android version string. |
gpu | string | gpu | GPU name. |
price_usd | number | price_usd price | Launch price in USD (0 when unknown). |
price_eur | number | price_eur | Launch price in EUR (0 when unknown). |
price_gbp | number | price_gbp | Launch price in GBP (0 when unknown). |
colors[] | string[] | colors | Available colour names. |
Display
| JSON path | Type | Query keys | Description |
|---|---|---|---|
normalized_specs.display.size_inches | number | display.size_inches display.size displaysize | Diagonal in inches. |
normalized_specs.display.panel_type | string | display.panel_type display.panel panel_type | Panel technology (AMOLED, LTPO OLED, IPS LCD...). |
normalized_specs.display.refresh_rate_hz | number | display.refresh_rate_hz display.refresh_rate refresh_rate refreshrate | Maximum refresh rate in Hz. |
normalized_specs.display.peak_brightness_nits | number | display.peak_brightness_nits display.brightness brightness | Peak brightness in nits. |
normalized_specs.display.protection_type | string | display.protection_type | Cover glass, e.g. Gorilla Glass Victus 2. |
Processor
| JSON path | Type | Query keys | Description |
|---|---|---|---|
normalized_specs.processor.total_cores | number | processor.total_cores processor.cores cores cpu_cores | CPU core count. |
normalized_specs.processor.max_clock_speed_ghz | number | processor.max_clock_speed_ghz processor.speed clock_speed | Highest CPU clock in GHz. |
Memory
| JSON path | Type | Query keys | Description |
|---|---|---|---|
normalized_specs.memory_options.available_ram_gb[] | number[] | memory.available_ram_gb memory.ram ram | RAM options in GB. |
normalized_specs.memory_options.available_storage_gb[] | number[] | memory.available_storage_gb memory.storage storage | Storage options in GB (1 TB = 1024). |
normalized_specs.memory_options.has_card_slot | boolean | memory.has_card_slot memory.card_slot card_slot cardslot | microSD slot present. |
normalized_specs.memory_options.storage_technology | string | memory.storage_technology | UFS / eMMC generation. |
Battery
| JSON path | Type | Query keys | Description |
|---|---|---|---|
normalized_specs.battery_and_charging.capacities_mah[] | number[] | power.capacities_mah power.battery battery battery_capacity | Battery capacities in mAh (regional variants may differ). |
normalized_specs.battery_and_charging.max_wired_charging_w | number | power.max_wired_charging_w power.charging charging | Max wired charging in watts. |
normalized_specs.battery_and_charging.has_wireless_charging | boolean | power.has_wireless_charging power.wireless_charging wireless_charging wirelesscharging | Wireless charging supported. |
Cameras
| JSON path | Type | Query keys | Description |
|---|---|---|---|
normalized_specs.cameras.main_lenses_count | number | cameras.main_lenses_count main_camera_lenses | Number of rear lenses. |
normalized_specs.cameras.max_main_resolution_mp | number | cameras.max_main_resolution_mp main_camera_mp | Highest rear sensor resolution in MP. |
normalized_specs.cameras.selfie_lenses_count | number | cameras.selfie_lenses_count selfie_camera_lenses | Number of front lenses. |
Physical
| JSON path | Type | Query keys | Description |
|---|---|---|---|
normalized_specs.physical.height_mm | number | physical.height_mm | Height in mm. |
normalized_specs.physical.width_mm | number | physical.width_mm | Width in mm. |
normalized_specs.physical.thickness_mm | number | physical.thickness_mm | Thickness in mm. |
normalized_specs.physical.weight_g | number | physical.weight_g weight | Weight in grams (0 when unknown). |
normalized_specs.physical.build_materials[] | string[] | physical.build_materials | Frame / back materials. |
normalized_specs.physical.sim_options[] | string[] | physical.sim_options | SIM configurations (Nano-SIM, eSIM, Dual SIM...). |
normalized_specs.physical.ip_rating | string | physical.ip_rating ip_rating iprating | Ingress protection rating, e.g. IP68. |
normalized_specs.physical.is_water_resistant | boolean | physical.is_water_resistant physical.water_resistant water_resistant waterresistant | Any water resistance rating present. |
Sound
| JSON path | Type | Query keys | Description |
|---|---|---|---|
normalized_specs.sound.has_stereo_speakers | boolean | sound.has_stereo_speakers sound.stereo_speakers stereo_speakers stereospeakers | Stereo speakers. |
normalized_specs.sound.has_jack_35mm | boolean | sound.has_jack_35mm sound.jack_35mm jack_35mm headphone_jack | 3.5 mm headphone jack. |
normalized_specs.sound.audio_quality_features[] | string[] | sound.audio_quality_features | Audio features (Dolby Atmos, Hi-Res...). |
Connectivity
| JSON path | Type | Query keys | Description |
|---|---|---|---|
normalized_specs.connectivity.wlan_features[] | string[] | connectivity.wlan_features | Wi-Fi standards and features. |
normalized_specs.connectivity.bluetooth_version | number | connectivity.bluetooth_version | Bluetooth version, e.g. 5.3. |
normalized_specs.connectivity.bluetooth_features[] | string[] | connectivity.bluetooth_features | Bluetooth profiles (A2DP, LE, aptX...). |
normalized_specs.connectivity.positioning_tech[] | string[] | connectivity.positioning_tech | GNSS systems (GPS, GLONASS, Galileo...). |
normalized_specs.connectivity.has_nfc | boolean | connectivity.has_nfc connectivity.nfc nfc | NFC present. |
normalized_specs.connectivity.has_infrared | boolean | connectivity.has_infrared connectivity.infrared infrared | Infrared blaster present. |
normalized_specs.connectivity.has_radio | boolean | connectivity.has_radio connectivity.radio radio | FM radio present. |
normalized_specs.connectivity.usb_type | string | connectivity.usb_type | USB connector and version string. |
normalized_specs.connectivity.usb_has_otg | boolean | connectivity.usb_has_otg usb_otg | USB OTG supported. |
Benchmarks
| JSON path | Type | Query keys | Description |
|---|---|---|---|
normalized_specs.benchmarks.antutu_score | string | benchmarks.antutu_score antutu | AnTuTu score string (use _contains). |
normalized_specs.benchmarks.geekbench_score | string | benchmarks.geekbench_score geekbench | Geekbench score string (use _contains). |
normalized_specs.benchmarks.measured_display_brightness_nits | number | benchmarks.measured_display_brightness_nits | Lab-measured brightness in nits. |
normalized_specs.benchmarks.measured_loudspeaker_lufs | number | benchmarks.measured_loudspeaker_lufs | Loudspeaker loudness in LUFS. |
normalized_specs.benchmarks.measured_battery_active_use_hours | number | benchmarks.measured_battery_active_use_hours | Active-use battery score in hours. |
EU label
| JSON path | Type | Query keys | Description |
|---|---|---|---|
normalized_specs.eu_label.energy_class | string | eulabel.energy_class | EU energy efficiency class (A-G). |
normalized_specs.eu_label.battery_endurance | string | eulabel.battery_endurance | EU battery endurance string. |
normalized_specs.eu_label.battery_endurance_hours | number | eulabel.battery_endurance_hours | EU battery endurance in hours. |
normalized_specs.eu_label.free_fall_class | string | eulabel.free_fall_class | EU free-fall (drop) class. |
normalized_specs.eu_label.repairability_class | string | eulabel.repairability_class | EU repairability class. |
Schema Inspector
All JSON payloads adhere to normalized schemas with typed numeric fields and boolean capability flags:
sizeInches: numberpanelType: stringrefreshRateHz: numberpeakBrightnessNits: numberprotectionType: stringtotalCores: numbermaxClockSpeedGhz: numberlithographyNm: numberavailableRamGb: number[]availableStorageGb: number[]storageTechnology: stringhasCardSlot: booleancapacitiesMah: number[]maxWiredChargingW: numberhasWirelessCharging: booleanantutuScore: stringgeekbenchScore: stringmeasuredBatteryHours: numberenergyClass: stringbatteryEnduranceHours: numberrepairabilityClass: string