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

Inconsistent range limits for "Get Activity Time Series"

The "Get Activity Time Series" endpoint offers time-series data for several different activities. However, the limits on the date range are (1) not specified and (2) inconsistent. I have tested this on a subsection of the allowed options.

 

For these options:

activities/tracker/calories
activities/caloriesBMR
activities/steps
activities/floors

is seems there is no limit, or at least the limit is more than 3 years (range since my tester member has joined until now).

 

For these options:

activities/minutesFairlyActive
activities/minutesVeryActive

The range is smaller. How small? You have to guess as a developer. No mention in the docs and very unhelpful error response: "validation - Request - The number of data points queried exceeds limit".

 

The question is 2 fold:

  1. What is the actual limit for these endpoints?
  2. Why is it not unlimited like for the other?
Best Answer
0 Votes
1 REPLY 1

Hi @patrickkus 

 

The limit for those 2 resources is ~1 million data points.  You will see varied limits depending on how much data each user has.   I would recommend reducing your date range to several months to 1 year.   

 

I will make a request to have the information added to the documentation.

 

Gordon

 

 

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