We're making some changes to the Google Fit APIs. Learn about how these changes might affect your app. Read our new policy.

REST API

Figure 1: Google Fit REST API.

The Google Fit REST API enables you to store and read health and wellness data in the fitness store from apps on any platform.

The REST API provides resources and methods to:

  • Create, obtain, list, and modify data sources. A data source represents a unique source of sensor data. All health and wellness data in the fitness store is associated with a particular data source.

  • Create, obtain, aggregate, and delete datasets. A dataset represents a set of data points from a particular data source.

  • List data points and add them to a dataset. A data point represents a sample from a particular data source.

  • Create, list, and delete sessions. A session represents a time interval with associated metadata.