Strava icon

Strava

Consume the official Strava API v3. Also includes undocumented Web Session operations (marked ⚠️) that use a browser session cookie and may break without notice.

Route → Export as TCX

AI-generated

Summary

Export a Strava route as a TCX (Training Center XML) file by specifying its Route ID, with options to download the file as binary data or receive the raw XML string.

Inputs

  • Route ID (required) — The identifier of the route to export.
  • Download as Binary — Whether to output the TCX file as binary data. If disabled, the raw XML string is returned in JSON.
  • Put Output File in Field (required) — The name of the binary property field that will contain the TCX file data when binary download is enabled.

Output shape

a single item containing the route TCX file.

If 'Download as Binary' is true, the output includes a binary field with the TCX data suitable for file handling in workflows. If false, the output JSON contains raw XML string data along with filename and mimetype metadata.

Examples

Example 1: Downloading route TCX file as binary data

Set 'Route ID' to the desired route number, enable 'Download as Binary', and specify the 'Put Output File in Field' property where the binary TCX will be stored.

Example 2: Getting raw TCX XML content

Set 'Route ID' and disable 'Download as Binary' to receive the TCX file's XML as a string in the JSON output.

Links

Discussion