Support for the legacy Fitbit Web API ends on September 30, 2026
Important: Support for the legacy Fitbit Web API ends on September 30, 2026. After this date the API will continue to operate, but Google will no longer fix bugs or provide API support. On October 30, 2026, the Fitbit Web API will be turned off and will no longer function or sync data to or from Fitbit users. To continue accessing data for your users after this date, migrate to the Google Health API.
Device API
chevron down
 

Device API

Interface: BasicDeviceInfo

Information related to the peer device.

NOTE: these properties are equivalent to those accessible through the Web API as documented here.

Implemented by peer.PeerDevice, device.Device

Properties

readonly lastSyncTime

Date

Time at which the device was last sync'ed.

readonly modelId

string

Device model identifier. Developer-facing device model ID.

NOTE: the model identifier is always the same for a given device, even when the model name may change.

readonly modelName

string

Device model name. User-facing device model name as displayed in the Fitbit mobile application. Example: Ionic

NOTE: the model name may change over time for a given device as it may be different before and after a device is released commercially. Once a device is released commercially, the model name remains the same.

readonly screen

{ readonly width: number; readonly height: number; }

Device screen information.

readonly type

string

Device type. Standard device types include WATCH for smart watches and TRACKER for trackers.