Skip to content

Most visited

Recently visited


Use the Google Fit platform to create more engaging health and fitness applications

Connect to the Google Fit platform to read and store a user's fitness data across devices, collect activity data, and record sensor data. The Google Fit platform drives retention, higher ratings, and faster development for health and fitness applications.

Why it works

Google Fit gives you a single set of APIs to access — with the user's permission — phone sensor data, wearable data, and other apps' fitness data. Once you integrate using the Google Fit APIs, any new data source that becomes available will work, without the need for additional integration.

Google Fit supports storing activity data such as runs and pushups, nutrition information such as that delicious cupcake you just ate, and even stats such as weight, body fat percentage, and heart rate.

Key features

  • Low power, passive recording of activities, steps, and distances. After an app subscribes using the Recording API, Fit turns on sensors at appropriate times throughout the day and records activity data that an app can query later. One example of the power of Fit: to drive accurate passive workout recording at low power, the Fit platform will dynamically sample GPS depending on a phone or Wear OS device's motion.
  • Computes distance and calories by transforming sensor data. If your application only writes steps and activity data to Fit, the platform will calculate corresponding distances and calorie estimates. This is one less computation for your fitness app to perform.
  • Write to and read from a centralized fitness store. Fit acts as a hub of fitness data from connected apps and devices. Fit keeps the user's full fitness history, making it available to apps as raw, aggregated, or merged data. These include fitness data points for nutrition, workout sessions, and steps from connected apps, wearables, smart scales, and more.
  • React to changes. Fit allows apps to register listeners for data changes in the fitness store. For example, if a user logs a new meal or a new weight entry, your app can be notified and deliver a timely, customized notification to the user to re-engage them.


Get started

Google Fit SDK
This site uses cookies to store your preferences for site-specific language and display options.

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields


Follow Google Developers on WeChat

Browse this site in ?

You requested a page in , but your language preference for this site is .

Would you like to change your language preference and browse this site in ? If you want to change your language preference later, use the language menu at the bottom of each page.

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a short survey?
Help us improve the Android developer experience. (April 2018 — Developer Survey)