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

is there web API for sleep score data?

Can I find out my sleep score through web API?
I can't find it in the web api.

Best Answer
0 Votes
4 REPLIES 4

is there web API for sleep score data?

Can I find out my sleep score through web API?
I can't find it in the web api.

Best Answer
0 Votes

Hi @ydk12 

We do not have a Web API exposing the sleep score data.  I can add your name to the list of people requesting this feature.

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

Please bring back the sleep categories of light, deep and REM. 
I dont like the new version. 

Best Answer
0 Votes

Hi @Diamonds32 

The Fitbit Web API does return the sleep stages of wake, light, deep and REM.  There needs to be a minimum of 3 hours of sleep and enough data to generate the sleep stage data.   See https://dev.fitbit.com/build/reference/web-api/sleep/get-sleep-log-by-date/ for more information.

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