07-28-2020 10:33
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

07-28-2020 10:33
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
The sleep efficiency is returned by the Web Api sleep log endpoint (https://dev.fitbit.com/build/reference/web-api/sleep/#get-sleep-logs). However the value of this "efficiency" property is different than the sleep score shown on the android app for the same day. Why are these values different? For one day I see a sleep score on the android app as 80, whereas via the web api it shows as 95.
07-30-2020 15:00
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



07-30-2020 15:00
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi @OliverBernal,
Welcome to the forums!
The "efficiency" element uses an algorithm based on collected sleep metrics to determine how efficient the user slept. Unfortunately, I'm not able to disclose which metrics it uses to output the value you see in the API response.
Let me know if you have any other questions.

08-04-2020 05:59
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

08-04-2020 05:59
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi JohnFitbit, thanks for the response. However, are you able to shed any light on why the API efficiency value is different than the score value on the app? That's the key part that is not clear to me -- shouldn't they be the same value?
thanks,
-Oliver

08-05-2020 12:27
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



08-05-2020 12:27
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Sleep efficiency score and sleep score are 2 different algorithms. Sleep score is currently not available through the Web APIs.
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

