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

Sleep API: classic and stages data

I am trying to write an application. I own a flex 2 and I use it to test. I see "classic" data in the json. What devices return only classic data format? And what devices return stages data format?

Best Answer
6 REPLIES 6

Moved to Web API forum.

Best Answer
0 Votes

Hey 🙂

did you find out? i'm having the same problem..

Best Answer
0 Votes

A "classic" sleep means that its v1 of our sleep and "stages" is basically sleep v2 (it comes from our relatively new trackers). "Classic" is a superset of both manual logged sleeps, automatic sleeps detected from our relatively older trackers.  

 

You can use the Fitbit Tracker comparison tool, https://www.fitbit.com/compare, to see what wearables support sleep stages.  The list generated Alta HR, Charge 2, Versa and Ionic.

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

@GordonFitbit I have the alta hr and still only maneged to get the classic stages (in the fitbit app i can see the full sleep stages, but not through the API)

Best Answer
0 Votes

@shachar What API call are you executing that returns the classic sleep stage data?

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

The Get Sleep Log endpoint, /1.2/user/-/sleep/date/{date}.json, will display the sleep stages.

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