cancel
Showing results for 
Search instead for 
Did you mean: 

Count of ActivityTotal using the API

itsmrchiptoyou
Mt. Kenya

Reading the API docs, Under 'All Models' you have listed 'ActivityTotal’ with a  ‘count’ parameter 

https://developers.strava.com/docs/reference/#api-models-ActivityTotal

 
What I am hoping to get is just total number of activities I have logged on Strava. 

While I know I can do this by calling https://www.strava.com/api/v3/athlete/activities. The problem there is that I would have to paginate to get all the responses which in my case takes a long time. 

So if there is a way to just get the total number of activities in the account by a count of ActivityTotal then that would be a big help. 

 

1 REPLY 1

Jan_Mantau
Denali

You could use the endpoint /athletes/{id}/stats but you will only get counts for rides, runs and swims.