The Google Fit APIs, including the Google Fit REST API, will no longer be available after June 30, 2025. As of May 1, 2024, developers cannot sign up to use these APIs.
For instructions on which API or platform to migrate to, visit the Health Connect migration guide. For a comparison of Health Connect with the Google Fit APIs and the Fitbit Web APIs, visit the Health Connect comparison guide.
Learn more about Health Connect and how to integrate with the API.
Use Bluetooth sensors
Your app can find available Bluetooth Low Energy (BLE) devices and insert sensor
data into the Google Fit platform.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-11-20 UTC.
[null,null,["Last updated 2023-11-20 UTC."],[[["The Android platform offers built-in support for Bluetooth Low Energy (BLE) on devices running Android 4.3 (API level 18) or higher, enabling apps to discover devices, query services, and exchange information."],["Developers can integrate data from BLE devices into the Google Fit platform using the `insertData(DataSet)` method, allowing for manual insertion of sensor data collected from local BLE sensors."],["Google Fit data management practices are governed by the Google Fit Developer and User Data Policy to ensure data privacy and security."]]],[]]