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://deviceultraparser.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: deviceultraparser.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.`);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://deviceultraparser.p.rapidapi.com/api/values/clean/getspecs/Google/Pixel%209%20Pro' \ --header 'x-rapidapi-key: YOUR_RAPIDAPI_KEY' \ --header 'x-rapidapi-host: deviceultraparser.p.rapidapi.com'Devices by Manufacturer
Fetch all indexed phone models for a specific manufacturer brand.
curl --request GET \ --url 'https://deviceultraparser.p.rapidapi.com/api/values/clean/getdevices/Apple' \ --header 'x-rapidapi-key: YOUR_RAPIDAPI_KEY' \ --header 'x-rapidapi-host: deviceultraparser.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://deviceultraparser.p.rapidapi.com/api/values/clean/devicesbychipset/Snapdragon-8-Gen-3' \ --header 'x-rapidapi-key: YOUR_RAPIDAPI_KEY' \ --header 'x-rapidapi-host: deviceultraparser.p.rapidapi.com'Deep Query Multi-Filter Engine
Filter phones across multiple hardware dimensions using suffix operators.
curl --request GET \ --url 'https://deviceultraparser.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: deviceultraparser.p.rapidapi.com'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