List models
modelsReturn the mobile devices models of the given brands for which we have battery statistics, along with the brand each model belongs to, the number of devices recorded, the average battery temperature in Celsius, and the min/max Android SDK level per model.
Each entry is grouped by the resolved street name (e.g. 'Galaxy S23'), which may cover several raw Android Build.MODEL identifiers (carrier variants, regional SKUs, …). For URL building, every entry also exposes:
raw_model_code: a representative raw Build.MODEL identifier (the lexicographically smallest one among devices grouped under this street name), or null if no device reported a non-empty model code.url: the public BatterySnap web page for the model, e.g. https://www.battery-snap.com/brands/samsung/models/SM-S911B. Built frombrand+raw_model_code; null when either is null;raw_model_codeis null. The page lists all devices reporting that exact raw model.
Pass min_device_count / max_device_count to filter models by how many devices were recorded.
For 'which models have the most devices' questions, pass sort='device_count' with a small
limit (and typically fields=['brand', 'model', 'device_count', 'url']) instead of fetching
and sorting the full list.
Pass fields to keep only specific attributes in each entry.
Omit brands (or pass an empty list) to return models across every brand.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Sort order of the returned models: 'name' (default, alphabetical by brand then model) or 'device_count' (most recorded devices first). Combine sort='device_count' with `limit` to answer 'most popular models' questions in one small call. | name |
| limit | No | Return at most this many models (applied after filtering and sorting). Omit for no cap. | |
| brands | No | One or more lowercase Android device brand identifiers (e.g. ['samsung', 'xiaomi']) to fetch models for. Matched case-insensitively. Omit (or pass an empty list) to return models across all brands. | |
| fields | No | Optional whitelist of attribute names to keep in each returned entry, used to shrink the response. When omitted or empty, all attributes documented in the output schema are returned. Unknown names are silently ignored. | |
| offset | No | Skip this many entries before returning results — use with `limit` to page through a long list. Defaults to 0. | |
| max_device_count | No | Drop entries with more than this many recorded devices. Use to skip very common entries. Omit for no upper bound. | |
| min_device_count | No | Drop entries with fewer than this many recorded devices. Defaults to 1 (keep all). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |