How to Access APIs for Fetching Samsung Wearables Data in a Web App?

Hello Samsung Developers,

I am working on a web application and would like to integrate data from Samsung wearables (e.g., Galaxy Watch). Specifically, I’m interested in fetching information like:

  • Steps
  • Heart rate
  • Sleep data
  • Calories burned
  • Activity tracking

I have a few questions regarding this integration:

  1. Does Samsung provide official APIs to access wearable data for third-party web applications?
  2. If yes, where can I find the documentation for these APIs, and what are the prerequisites (e.g., SDKs, developer accounts, permissions)?
  3. Are there specific guidelines or restrictions for accessing this data, especially regarding user consent and data security?
  4. Can the APIs be used for cross-platform development, or do they require the use of specific Samsung frameworks or devices?

Any guidance or pointers to resources (e.g., SDKs, API documentation, sample code) would be greatly appreciated.

Thank you!

Hello,
Let’s address your queries below:

  1. No, Galaxy watches only supports Android wearable APIs. Web API is not available currently.
  2. Not applicable
  3. Sleep data does not support from 3rd party app, other than this, mentioned data types are available for 3rd party application. You can use Google Health Services to fetch this data.
  4. You can check for Flutter, It may work.

Google Health Services (Processed Data):
Guidelines: https://developer.android.com/training/wearables/health-services/
Sample application: https://github.com/android/health-samples/tree/main/MeasureData

Thanks