Modernizing the Fitbit Developer Experience.
The Fitbit Web APIs are moving to a new, scalable infrastructure. We will be deprecating the legacy Fitbit Web API in September 2026. To ensure uninterrupted data continuity for your users, you will need to migrate your applications. Detailed migration guides are live on the Google Health API developer site.
User-settings API
chevron down
 

User-settings API

Variable: locale

Type: LocaleSettings

The User Settings API provides Locale settings for the current user.

import { locale } from "user-settings";
console.log(locale.language);

Interface: LocaleSettings

Locale settings are settings that relate to a user's preferred language.

Properties

readonly language

string

BCP 47 language tag.