download gpx of an activity with api?

3,419 views
Skip to first unread message

bp

unread,
May 3, 2015, 1:57:54 PM5/3/15
to strav...@googlegroups.com
Is it possible to get/download the gpx data, including extra types of data that may be present (eg heart rate, temperature), using the Strava API? In other words, is it possible to get the data you get when you click "Export GPX" in an activity's action menu, programmatically via the API? Thanks.

Davide Piazza

unread,
Dec 27, 2015, 12:04:10 PM12/27/15
to Strava API
any news on this? 
I would be interested too

Ryan Baumann

unread,
Dec 27, 2015, 9:46:36 PM12/27/15
to Strava API
Yes. Use the "Streams" API, which is available for activities belonging to the athlete currently authenticated.

Streams API docs here:
http://strava.github.io/api/v3/streams/

I made a blog post on this if you are a Python user, and just want to get to your data quickly.
http://www.ryanbaumann.com/blog/2015/4/6/strava-api-cycling-data-for-visualization

From here you could create a GPX from the data, or any number of other data formats.

Good luck!

Rob Graham

unread,
Dec 8, 2016, 2:07:01 PM12/8/16
to Strava API
Hi Ryan - the resolution is much lower via the streams API - even with high.  Basically the GPX file appears to be the complete raw data from the device - is there no way to get at this programmatically?

Jim Bailey

unread,
May 4, 2017, 5:24:45 PM5/4/17
to Strava API
Agreed. The whole point is to get the raw data, before it's been ruined by Strava's terrible algorithms. It's possible to download it from the website so it should be available in the API too. Very disappointing.
Reply all
Reply to author
Forward
0 new messages