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

  • Develop
  • Engage
  • Fitness apps
Google fit brand icon

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. It also provides users with coaching towards a healthier and more active life.

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.
  • Write activity segments to the Fit platform to contribute to the latest activity goals. Move Minutes and Heart Points are the latest goals to help users achieve the physical activity recommendations from the World Health Organization and American Heart Association. Writing activity segments to the Fit data store - heart rate (if available) and steps data for walking and running activities from your apps - will contribute to these new activity goals.
  • 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

Examples