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

Is there a script to fetch all Activity TCX files?

I'm looking for a (preferably python but anything at all would help) script that fetches all activity data in TCX files. Does something like that exist?

I'm pretty bummed out that Fitbit makes you manually export every single lifetime activity one by one. For all other data, you can simply use the data export function in Settings.

Best Answer
1 REPLY 1

Hi @SpO2,

We don't have any endpoints that lets you pull all available TCX files in one API call if thats what you're asking. We only support the Get Activity TCX endpoint that lets you pull the TCX file from a single activity as long as you have the activity log-id for that record.

If you're looking for a list of your activity data, you can try querying the Get Activity Log List endpoint to get a list of activities you've performed before/after a certain date. This endpoint also returns the logId value that you can input in the Get Activity TCX endpoint to retrieve the activity's TCX file, or use the tcxLink value to retrieve the TCX file from the link provided.

Best Answer
0 Votes