Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Sleep score/efficiency discrepancy

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.

 

Best Answer
0 Votes
3 REPLIES 3

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.

Best Answer
0 Votes

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

Best Answer
0 Votes

Hi @OliverBernal 

 

Sleep efficiency score and sleep score are 2 different algorithms.  Sleep score is currently not available through the Web APIs.   

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
Best Answer
0 Votes