Strava (Independent Publisher) (Preview)
![](https://connectoricons-prod.azureedge.net/master/1.0.1678.3629/stravaip/icon.png)
This is a connector for the Strava API, Strava is a service for tracking human exercise which incorporates social network features. It is mostly used for cycling and running using GPS data. The connector gives you the opportunity to get your activities/clubs and other information from Strava.
This connector is available in the following products and regions:
Service | Class | Regions |
---|---|---|
Logic Apps | Standard | All Logic Apps regions except the following: - Azure Government regions - Azure China regions - US Department of Defense (DoD) |
Power Automate | Premium | All Power Automate regions except the following: - US Government (GCC) - US Government (GCC High) - China Cloud operated by 21Vianet - US Department of Defense (DoD) |
Power Apps | Premium | All Power Apps regions except the following: - US Government (GCC) - US Government (GCC High) - China Cloud operated by 21Vianet - US Department of Defense (DoD) |
Contact | |
---|---|
Name | Richard Wierenga |
URL | https://developers.strava.com/ |
[email protected] |
Connector Metadata | |
---|---|
Publisher | Richard Wierenga |
Website | https://www.strava.com |
Privacy policy | https://www.strava.com/legal/api |
Categories | Lifestyle and Entertainment;Data |
Throttling Limits
Name | Calls | Renewal Period |
---|---|---|
API calls per connection | 100 | 60 seconds |
Actions
Get Activity |
Returns the given activity that is owned by the authenticated athlete. Requires activity:read for Everyone and Followers activities. Requires activity:read_all for Only Me activities. |
Get Athlete Stats |
Returns the activity stats of an athlete. Only includes data from activities set to Everyone visibility. |
Get Authenticated Athlete |
Returns the currently authenticated athlete. Tokens with profile:read_all scope will receive a detailed athlete representation; all others will receive a summary representation. |
Get Club |
Returns a given club using its identifier. |
Get Segment |
Returns the specified segment. read_all scope required in order to retrieve athlete-specific segment information, or to retrieve private segments. |
List Activity Comments |
Returns the comments on the given activity. Requires activity:read for Everyone and Followers activities. Requires activity:read_all for Only Me activities. |
List Activity Kudoers |
Returns the athletes who kudoed an activity identified by an identifier. Requires activity:read for Everyone and Followers activities. Requires activity:read_all for Only Me activities. |
List Activity Laps |
Returns the laps of an activity identified by an identifier. Requires activity:read for Everyone and Followers activities. Requires activity:read_all for Only Me activities. |
List Athlete Activities |
Returns the activities of an athlete for a specific identifier. Requires activity:read. Only Me activities will be filtered out unless requested by a token with activity:read_all. |
List Athlete Clubs |
Returns a list of the clubs whose membership includes the authenticated athlete. |
List Club Activities |
Retrieve recent activities from members of a specific club. The authenticated athlete must belong to the requested club in order to hit this endpoint. Pagination is supported. Athlete profile visibility is respected for all activities. |
List Club Administrators |
Returns a list of the administrators of a given club. |
List Club Members |
Returns a list of the athletes who are members of a given club. |
List Starred Segments |
List of the authenticated athlete's starred segments. Private segments are filtered out unless requested by a token with read_all scope. |
Get Activity
Returns the given activity that is owned by the authenticated athlete. Requires activity:read for Everyone and Followers activities. Requires activity:read_all for Only Me activities.
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
Include all efforts
|
include_all_efforts | string |
To include all segments efforts (true/false). |
|
Activity id
|
id | True | integer |
The identifier of the activity. |
Returns
- Body
- DetailedActivity
Get Athlete Stats
Returns the activity stats of an athlete. Only includes data from activities set to Everyone visibility.
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
Athlete id
|
id | True | integer |
Specify the athlete id |
Returns
Name | Path | Type | Description |
---|---|---|---|
biggest_ride_distance
|
biggest_ride_distance | float |
The longest distance ridden by the athlete. |
biggest_climb_elevation_gain
|
biggest_climb_elevation_gain | float |
The highest climb ridden by the athlete. |
recent_ride_totals
|
recent_ride_totals | ActivityTotal | |
all_ride_totals
|
all_ride_totals | ActivityTotalShort | |
recent_run_totals
|
recent_run_totals | ActivityTotal | |
all_run_totals
|
all_run_totals | ActivityTotalShort | |
recent_swim_totals
|
recent_swim_totals | ActivityTotal | |
all_swim_totals
|
all_swim_totals | ActivityTotalShort | |
ytd_ride_totals
|
ytd_ride_totals | ActivityTotalShort | |
ytd_run_totals
|
ytd_run_totals | ActivityTotalShort | |
ytd_swim_totals
|
ytd_swim_totals | ActivityTotalShort |
Get Authenticated Athlete
Returns the currently authenticated athlete. Tokens with profile:read_all scope will receive a detailed athlete representation; all others will receive a summary representation.
Returns
Name | Path | Type | Description |
---|---|---|---|
id
|
id | integer |
The unique identifier of the athlete |
firstname
|
firstname | string |
The athlete's first name. |
lastname
|
lastname | string |
The athlete's last name. |
city
|
city | string |
The athlete's city. |
state
|
state | string |
The athlete's state or geographical region. |
country
|
country | string |
The athlete's country |
sex
|
sex | string |
The athlete's sex. May take one of the following values: M, F |
summit
|
summit | boolean |
Whether the athlete has any Summit subscription. |
created_at
|
created_at | string |
The time at which the athlete was created. |
updated_at
|
updated_at | string |
The time at which the athlete was last updated. |
profile_medium
|
profile_medium | string |
URL to a 62x62 pixel profile picture. |
profile
|
profile | string |
URL to a 124x124 pixel profile picture. |
follower_count
|
follower_count | integer |
The athlete's follower count. |
friend_count
|
friend_count | integer |
The athlete's friend count. |
measurement_preference
|
measurement_preference | string |
The athlete's preferred unit system. May take one of the following values: feet, meters |
clubs
|
clubs | array of |
The athlete's clubs. |
ftp
|
ftp | string |
The athlete's FTP (Functional Threshold Power). |
weight
|
weight | float |
The athlete's weight. |
bikes
|
bikes | array of Bikes |
The athlete's bikes. |
shoes
|
shoes | array of Shoes |
The athlete's shoes. |
Get Club
Returns a given club using its identifier.
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
Club id
|
id | True | integer |
The identifier of the club. |
Returns
- Body
- Club
Get Segment
Returns the specified segment. read_all scope required in order to retrieve athlete-specific segment information, or to retrieve private segments.
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
Segment id
|
id | True | integer |
The identifier of the segment. |
Returns
- Body
- DetailedSegment
List Activity Comments
Returns the comments on the given activity. Requires activity:read for Everyone and Followers activities. Requires activity:read_all for Only Me activities.
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
Page
|
page | string |
Page number. Defaults to 1. |
|
Per page
|
per_page | string |
Number of items per page. Defaults to 30. |
|
Activity id
|
id | True | integer |
The identifier of the activity. |
Returns
Name | Path | Type | Description |
---|---|---|---|
|
array of object | ||
id
|
id | integer |
The unique identifier of this comment |
activity_id
|
activity_id | integer |
The identifier of the activity this comment is related to |
text
|
text | string |
The content of the comment |
created_at
|
created_at | string |
The time at which this comment was created. |
athlete
|
athlete | SummaryAthlete |
The summary of an athlete |
List Activity Kudoers
Returns the athletes who kudoed an activity identified by an identifier. Requires activity:read for Everyone and Followers activities. Requires activity:read_all for Only Me activities.
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
Page
|
page | string |
Page number. Defaults to 1. |
|
Per page
|
per_page | string |
Number of items per page. Defaults to 30. |
|
Activity id
|
id | True | integer |
The identifier of the activity. |
Returns
- response
- array of SummaryAthlete
List Activity Laps
Returns the laps of an activity identified by an identifier. Requires activity:read for Everyone and Followers activities. Requires activity:read_all for Only Me activities.
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
Activity id
|
id | True | integer |
The identifier of the activity. |
Returns
- response
- array of Lap
List Athlete Activities
Returns the activities of an athlete for a specific identifier. Requires activity:read. Only Me activities will be filtered out unless requested by a token with activity:read_all.
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
Before timestamp
|
before | string |
An epoch timestamp(the number of seconds since 1 January 1970) to use for filtering activities that have taken place before a certain time. |
|
after timestamp
|
after | string |
An epoch timestamp(the number of seconds since 1 January 1970) to use for filtering activities that have taken place after a certain time. |
|
Page
|
page | string |
Page number. Defaults to 1. |
|
Per page
|
per_page | string |
Number of items per page. Defaults to 30. |
Returns
- response
- array of SummaryActivity
List Athlete Clubs
Returns a list of the clubs whose membership includes the authenticated athlete.
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
Page
|
page | string |
Page number. Defaults to 1. |
|
Per page
|
per_page | string |
Number of items per page. Defaults to 30. |
Returns
- response
- array of Club
List Club Activities
Retrieve recent activities from members of a specific club. The authenticated athlete must belong to the requested club in order to hit this endpoint. Pagination is supported. Athlete profile visibility is respected for all activities.
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
Page
|
page | string |
Page number. Defaults to 1. |
|
Per page
|
per_page | string |
Number of items per page. Defaults to 30. |
|
Club id
|
id | True | integer |
The identifier of the club. |
Returns
- response
- array of SummaryActivity
List Club Administrators
Returns a list of the administrators of a given club.
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
Page
|
page | string |
Page number. Defaults to 1. |
|
Per page
|
per_page | string |
Number of items per page. Defaults to 30. |
|
Club id
|
id | True | integer |
The identifier of the club. |
Returns
- response
- array of SummaryAthlete
List Club Members
Returns a list of the athletes who are members of a given club.
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
Page
|
page | string |
Page number. Defaults to 1. |
|
Per page
|
per_page | string |
Number of items per page. Defaults to 30. |
|
Club id
|
id | True | integer |
The identifier of the club. |
Returns
Name | Path | Type | Description |
---|---|---|---|
|
array of object | ||
resource_state
|
resource_state | integer |
resource_state |
firstname
|
firstname | string |
firstname |
lastname
|
lastname | string |
lastname |
membership
|
membership | string |
membership |
admin
|
admin | boolean |
admin |
owner
|
owner | boolean |
owner |
List Starred Segments
List of the authenticated athlete's starred segments. Private segments are filtered out unless requested by a token with read_all scope.
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
Page
|
page | string |
Page number. Defaults to 1. |
|
Per page
|
per_page | string |
Number of items per page. Defaults to 30. |
Returns
- response
- array of SummarySegment
Definitions
DetailedActivity
Name | Path | Type | Description |
---|---|---|---|
id
|
id | integer |
The unique identifier of the activity |
resource_state
|
resource_state | integer |
resource_state |
external_id
|
external_id | string |
The identifier provided at upload time |
upload_id
|
upload_id | integer |
The identifier of the upload that resulted in this activity |
id
|
athlete.id | integer |
Athlete id |
name
|
name | string |
The name of the activity |
distance
|
distance | float |
The activity's distance, in meters |
moving_time
|
moving_time | integer |
The activity's moving time, in seconds |
elapsed_time
|
elapsed_time | integer |
The activity's elapsed time, in seconds |
total_elevation_gain
|
total_elevation_gain | float |
The activity's total elevation gain. |
type
|
type | string |
An enumeration of the types an activity may have. |
start_date
|
start_date | string |
The time at which the activity was started. |
start_date_local
|
start_date_local | string |
The time at which the activity was started in the local timezone. |
timezone
|
timezone | string |
The timezone of the activity |
utc_offset
|
utc_offset | float |
utc_offset |
start_latlng
|
start_latlng | array of float |
A collection of float objects. A pair of latitude/longitude coordinates, represented as an array of 2 floating point numbers. |
end_latlng
|
end_latlng | array of float |
A collection of float objects. A pair of latitude/longitude coordinates, represented as an array of 2 floating point numbers. |
achievement_count
|
achievement_count | integer |
The number of achievements gained during this activity |
kudos_count
|
kudos_count | integer |
The number of kudos given for this activity |
comment_count
|
comment_count | integer |
The number of comments for this activity |
athlete_count
|
athlete_count | integer |
The number of athletes for taking part in a group activity |
photo_count
|
photo_count | integer |
The number of Instagram photos for this activity |
id
|
map.id | string |
The identifier of the map |
polyline
|
map.polyline | string |
The polyline of the map, only returned on detailed representation of an object |
summary_polyline
|
map.summary_polyline | string |
The summary polyline of the map |
trainer
|
trainer | boolean |
Whether this activity was recorded on a training machine |
commute
|
commute | boolean |
Whether this activity is a commute |
manual
|
manual | boolean |
Whether this activity was created manually |
private
|
private | boolean |
Whether this activity is private |
flagged
|
flagged | boolean |
Whether this activity is flagged |
gear_id
|
gear_id | string |
The id of the gear for the activity |
average_speed
|
average_speed | float |
The activity's average speed, in meters per second |
max_speed
|
max_speed | float |
The activity's max speed, in meters per second |
average_cadence
|
average_cadence | float |
The activity's average cadence |
average_temp
|
average_temp | integer |
The activity's average temp |
average_watts
|
average_watts | float |
Average power output in watts during this activity. Rides only |
weighted_average_watts
|
weighted_average_watts | integer |
Similar to Normalized Power. Rides with power meter data only |
kilojoules
|
kilojoules | float |
The activity's kilojoules |
device_watts
|
device_watts | boolean |
Whether the watts are from a power meter, false if estimated |
has_heartrate
|
has_heartrate | boolean |
Whether the activity has heartrate |
max_watts
|
max_watts | integer |
Rides with power meter data only |
elev_high
|
elev_high | float |
The activity's highest elevation, in meters |
elev_low
|
elev_low | float |
The activity's lowest elevation, in meters |
total_photo_count
|
total_photo_count | integer |
The number of Instagram and Strava photos for this activity |
has_kudoed
|
has_kudoed | boolean |
Whether the logged-in athlete has kudoed this activity |
workout_type
|
workout_type | integer |
The activity's workout type |
suffer_score
|
suffer_score | string |
The activity's suffer score |
description
|
description | string |
The description of the activity |
calories
|
calories | float |
The number of kilocalories consumed during this activity |
segment_efforts
|
segment_efforts | array of object |
The Activity segment efforts |
id
|
segment_efforts.id | integer |
Segment id |
name
|
segment_efforts.name | string |
Segment name |
id
|
segment_efforts.activity.id | integer |
Related Activity id |
id
|
segment_efforts.athlete.id | integer |
Related athlete id |
elapsed_time
|
segment_efforts.elapsed_time | integer |
The effort's elapsed time |
moving_time
|
segment_efforts.moving_time | integer |
The effort's moving time |
start_date
|
segment_efforts.start_date | string |
The time at which the effort was started. |
start_date_local
|
segment_efforts.start_date_local | string |
The time at which the effort was started in the local timezone. |
distance
|
segment_efforts.distance | float |
The effort's distance in meters |
start_index
|
segment_efforts.start_index | integer |
The start index of this effort in its activity's stream |
end_index
|
segment_efforts.end_index | integer |
The end index of this effort in its activity's stream |
average_cadence
|
segment_efforts.average_cadence | float |
The effort's average cadence |
device_watts
|
segment_efforts.device_watts | boolean |
For riding efforts, whether the wattage was reported by a dedicated recording device |
average_watts
|
segment_efforts.average_watts | float |
The average wattage of this effort |
segment
|
segment_efforts.segment | SummarySegment |
The related segment |
kom_rank
|
segment_efforts.kom_rank | integer |
The rank of the effort on the global leaderboard if it belongs in the top 10 at the time of upload |
pr_rank
|
segment_efforts.pr_rank | integer |
The rank of the effort on the athlete's leaderboard if it belongs in the top 3 at the time of upload |
splits_metric
|
splits_metric | array of object |
The splits metric of the Activity |
distance
|
splits_metric.distance | float |
The distance of this split, in meters |
elapsed_time
|
splits_metric.elapsed_time | integer |
The elapsed time of this split, in seconds |
elevation_difference
|
splits_metric.elevation_difference | float |
The elevation difference of this split, in meters |
moving_time
|
splits_metric.moving_time | integer |
The moving time of this split, in seconds |
split
|
splits_metric.split | integer |
split |
average_speed
|
splits_metric.average_speed | float |
The average speed of this split, in meters per second |
pace_zone
|
splits_metric.pace_zone | integer |
The pacing zone of this split |
laps
|
laps | array of Lap |
The laps of the Activity |
gear
|
gear | SummaryGear | |
id
|
photos.primary.id | string |
Photo id |
unique_id
|
photos.primary.unique_id | string |
Photo unique id |
100
|
photos.primary.urls.100 | string |
Small photo (100) |
600
|
photos.primary.urls.600 | string |
Big photo (600) |
source
|
photos.primary.source | integer |
Photo source |
use_primary_photo
|
photos.use_primary_photo | boolean |
use primary photo |
count
|
photos.count | integer |
The number of photos |
highlighted_kudosers
|
highlighted_kudosers | array of object |
All athletes that gave kudos |
destination_url
|
highlighted_kudosers.destination_url | string |
Link to athlete profile |
display_name
|
highlighted_kudosers.display_name | string |
Name of Athlete |
avatar_url
|
highlighted_kudosers.avatar_url | string |
Avatar of Athlete |
show_name
|
highlighted_kudosers.show_name | boolean |
Display name of athlete (true/false) |
device_name
|
device_name | string |
The name of the device used to record the activity |
embed_token
|
embed_token | string |
The token used to embed a Strava activity |
Club
Name | Path | Type | Description |
---|---|---|---|
id
|
id | integer |
The club's unique identifier. |
name
|
name | string |
The club's name. |
profile_medium
|
profile_medium | string |
URL to a 60x60 pixel profile picture. |
cover_photo
|
cover_photo | string |
URL to a ~1185x580 pixel cover photo. |
cover_photo_small
|
cover_photo_small | string |
URL to a ~360x176 pixel cover photo. |
activity_types
|
activity_types | string |
The activity types that count for a club. This takes precedence over sport_type. |
city
|
city | string |
The club's city. |
state
|
state | string |
The club's state. |
country
|
country | string |
The club's country. |
private
|
private | boolean |
Whether the club is private. |
member_count
|
member_count | integer |
The club's member count. |
featured
|
featured | boolean |
Whether the club is featured or not. |
verified
|
verified | boolean |
Whether the club is verified or not. |
url
|
url | string |
The club's vanity URL. |
membership
|
membership | string |
The membership status of the logged-in athlete. May take one of the following values: member, pending |
admin
|
admin | boolean |
Whether the currently logged-in athlete is an administrator of this club. |
owner
|
owner | boolean |
Whether the currently logged-in athlete is the owner of this club. |
owner_id
|
owner_id | integer |
Athlete id of the owner |
following_count
|
following_count | integer |
The number of athletes in the club that the logged-in athlete follows. |
SummaryAthlete
The summary of an athlete
Name | Path | Type | Description |
---|---|---|---|
id
|
id | integer |
The unique identifier of the athlete |
firstname
|
firstname | string |
The athlete's first name. |
lastname
|
lastname | string |
The athlete's last name. |
Lap
Name | Path | Type | Description |
---|---|---|---|
id
|
id | integer |
The unique identifier of this lap |
name
|
name | string |
The name of the lap |
id
|
activity.id | integer |
Related activity id |
id
|
athlete.id | integer |
Related athlete id |
elapsed_time
|
elapsed_time | integer |
The lap's elapsed time, in seconds |
moving_time
|
moving_time | integer |
The lap's moving time, in seconds |
start_date
|
start_date | string |
The time at which the lap was started. |
start_date_local
|
start_date_local | string |
The time at which the lap was started in the local timezone. |
distance
|
distance | float |
The lap's distance, in meters |
start_index
|
start_index | integer |
The start index of this effort in its activity's stream |
end_index
|
end_index | integer |
The end index of this effort in its activity's stream |
total_elevation_gain
|
total_elevation_gain | float |
The elevation gain of this lap, in meters |
average_speed
|
average_speed | float |
The lap's average speed |
max_speed
|
max_speed | float |
The maximum speed of this lap, in meters per second |
average_cadence
|
average_cadence | float |
The lap's average cadence |
lap_index
|
lap_index | integer |
The index of this lap in the activity it belongs to |
split
|
split | integer |
the splits for the lap |
SummaryActivity
Name | Path | Type | Description |
---|---|---|---|
id
|
athlete.id | integer |
Activity athlete id |
name
|
name | string |
The name of the activity |
distance
|
distance | float |
The activity's distance, in meters |
moving_time
|
moving_time | integer |
The activity's moving time, in seconds |
elapsed_time
|
elapsed_time | integer |
The activity's elapsed time, in seconds |
total_elevation_gain
|
total_elevation_gain | float |
The activity's total elevation gain. |
type
|
type | string |
An enumeration of the types an activity may have. |
workout_type
|
workout_type | integer |
The activity's workout type |
id
|
id | integer |
The unique identifier of the activity |
external_id
|
external_id | string |
The identifier provided at upload time |
upload_id
|
upload_id | integer |
The identifier of the upload that resulted in this activity |
start_date
|
start_date | string |
The time at which the activity was started. |
start_date_local
|
start_date_local | string |
The time at which the activity was started in the local timezone. |
timezone
|
timezone | string |
The timezone of the activity |
start_latlng
|
start_latlng | array of float |
Start latlng |
end_latlng
|
end_latlng | array of float |
End latlng |
location_city
|
location_city | string |
Activity location city |
location_state
|
location_state | string |
Activity location state |
location_country
|
location_country | string |
Activity location country |
achievement_count
|
achievement_count | integer |
The number of achievements gained during this activity |
kudos_count
|
kudos_count | integer |
The number of kudos given for this activity |
comment_count
|
comment_count | integer |
The number of comments for this activity |
athlete_count
|
athlete_count | integer |
The number of athletes for taking part in a group activity |
photo_count
|
photo_count | integer |
The number of Instagram photos for this activity |
id
|
map.id | string |
The identifier of the map |
summary_polyline
|
map.summary_polyline | string |
The summary polyline of the map |
polyline
|
map.polyline | string |
The polyline of the map, only returned on detailed representation of an object |
trainer
|
trainer | boolean |
Whether this activity was recorded on a training machine |
commute
|
commute | boolean |
Whether this activity is a commute |
manual
|
manual | boolean |
Whether this activity was created manually |
private
|
private | boolean |
Whether this activity is private |
flagged
|
flagged | boolean |
Whether this activity is flagged |
gear_id
|
gear_id | string |
The id of the gear for the activity |
average_speed
|
average_speed | float |
The activity's average speed, in meters per second |
max_speed
|
max_speed | float |
The activity's max speed, in meters per second |
average_cadence
|
average_cadence | float |
The activity's average cadence |
average_watts
|
average_watts | float |
Average power output in watts during this activity. Rides only |
weighted_average_watts
|
weighted_average_watts | integer |
Similar to Normalized Power. Rides with power meter data only |
kilojoules
|
kilojoules | float |
The total work done in kilojoules during this activity. Rides only |
device_watts
|
device_watts | boolean |
Whether the watts are from a power meter, false if estimated |
has_heartrate
|
has_heartrate | boolean |
Whether the activity has heartrate data |
average_heartrate
|
average_heartrate | float |
The activity's average heartrate |
max_heartrate
|
max_heartrate | float |
The activity's max heartrate |
max_watts
|
max_watts | integer |
The activity's max watts |
total_photo_count
|
total_photo_count | integer |
The number of Instagram and Strava photos for this activity |
has_kudoed
|
has_kudoed | boolean |
Whether the logged-in athlete has kudoed this activity |
suffer_score
|
suffer_score | integer |
suffer_score |
SummarySegment
The related segment
Name | Path | Type | Description |
---|---|---|---|
id
|
id | integer |
The unique identifier of this segment |
name
|
name | string |
The name of this segment |
activity_type
|
activity_type | string |
May take one of the following values: Ride, Run |
distance
|
distance | float |
The segment's distance, in meters |
average_grade
|
average_grade | float |
The segment's average grade, in percents |
maximum_grade
|
maximum_grade | float |
The segments's maximum grade, in percents |
elevation_high
|
elevation_high | float |
The segments's highest elevation, in meters |
elevation_low
|
elevation_low | float |
The segments's lowest elevation, in meters |
start_latlng
|
start_latlng | array of float |
Start collection of float objects. A pair of latitude/longitude coordinates, represented as an array of 2 floating point numbers. |
end_latlng
|
end_latlng | array of float |
End collection of float objects. A pair of latitude/longitude coordinates, represented as an array of 2 floating point numbers. |
climb_category
|
climb_category | integer |
The category of the climb [0, 5]. Higher is harder ie. 5 is Hors categorie, 0 is uncategorized in climb_category. |
city
|
city | string |
The segments's city. |
state
|
state | string |
The segments's state or geographical region. |
country
|
country | string |
The segment's country. |
private
|
private | boolean |
Whether this segment is private. |
DetailedSegment
Name | Path | Type | Description |
---|---|---|---|
id
|
id | integer |
The unique identifier of this segment |
name
|
name | string |
The name of this segment |
activity_type
|
activity_type | string |
May take one of the following values: Ride, Run |
distance
|
distance | float |
The segment's distance, in meters |
average_grade
|
average_grade | float |
The segment's average grade, in percents |
maximum_grade
|
maximum_grade | float |
The segments's maximum grade, in percents |
elevation_high
|
elevation_high | float |
The segments's highest elevation, in meters |
elevation_low
|
elevation_low | float |
The segments's lowest elevation, in meters |
start_latlng
|
start_latlng | array of float |
Segment's start latlng |
end_latlng
|
end_latlng | array of float |
Segment's end latlng |
climb_category
|
climb_category | integer |
The category of the climb [0, 5]. Higher is harder ie. 5 is Hors catégorie, 0 is uncategorized in climb_category. |
city
|
city | string |
The segments's city. |
state
|
state | string |
The segments's state or geographical region. |
country
|
country | string |
The segment's country. |
private
|
private | boolean |
Whether this segment is private. |
hazardous
|
hazardous | boolean |
Whether this segment is considered hazardous |
starred
|
starred | boolean |
Whether this segment is starred |
created_at
|
created_at | string |
The time at which the segment was created. |
updated_at
|
updated_at | string |
The time at which the segment was last updated. |
total_elevation_gain
|
total_elevation_gain | float |
The segment's total elevation gain. |
id
|
map.id | string |
The identifier of the map |
polyline
|
map.polyline | string |
The polyline of the map, only returned on detailed representation of an object |
summary_polyline
|
map.summary_polyline | string |
The summary polyline of the map |
effort_count
|
effort_count | integer |
The total number of efforts for this segment |
athlete_count
|
athlete_count | integer |
The number of unique athletes who have an effort for this segment |
star_count
|
star_count | integer |
The number of stars for this segment |
pr_activity_id
|
athlete_segment_stats.pr_activity_id | integer |
The unique identifier of the activity related to the PR effort. |
pr_elapsed_time
|
athlete_segment_stats.pr_elapsed_time | integer |
The elapsed time ot the PR effort. |
pr_date
|
athlete_segment_stats.pr_date | string |
The time at which the PR effort was started. |
effort_count
|
athlete_segment_stats.effort_count | integer |
Number of efforts by the authenticated athlete on this segment. |
ActivityTotal
Name | Path | Type | Description |
---|---|---|---|
count
|
count | integer |
The number of activities considered in this total. |
distance
|
distance | float |
he total distance covered by the considered activities. |
moving_time
|
moving_time | integer |
The total moving time of the considered activities. |
elapsed_time
|
elapsed_time | integer |
The total elapsed time of the considered activities. |
elevation_gain
|
elevation_gain | float |
The total elevation gain of the considered activities. |
achievement_count
|
achievement_count | integer |
The total number of achievements of the considered activities. |
ActivityTotalShort
Name | Path | Type | Description |
---|---|---|---|
count
|
count | integer |
The number of activities considered in this total. |
distance
|
distance | float |
he total distance covered by the considered activities. |
moving_time
|
moving_time | integer |
The total moving time of the considered activities. |
elapsed_time
|
elapsed_time | integer |
The total elapsed time of the considered activities. |
elevation_gain
|
elevation_gain | float |
The total elevation gain of the considered activities. |
Bikes
Name | Path | Type | Description |
---|---|---|---|
id
|
id | string |
The bike's unique identifier. |
primary
|
primary | boolean |
Whether this bike is the owner's default one. |
name
|
name | string |
The bike's name. |
resource_state
|
resource_state | integer |
Resource state, indicates level of detail. Possible values: 2 -> summary, 3 -> detail |
distance
|
distance | integer |
The distance logged with this bike. |
Shoes
Name | Path | Type | Description |
---|---|---|---|
id
|
id | string |
The shoes unique identifier. |
primary
|
primary | boolean |
Whether this shoes is the owner's default one. |
name
|
name | string |
The shoes name. |
resource_state
|
resource_state | integer |
Resource state, indicates level of detail. Possible values: 2 -> summary, 3 -> detail |
distance
|
distance | integer |
The distance logged with this shoe. |
SummaryGear
Name | Path | Type | Description |
---|---|---|---|
id
|
id | string |
The gear's unique identifier. |
primary
|
primary | boolean |
Whether this gear's is the owner's default one. |
name
|
name | string |
The gear's name. |
resource_state
|
resource_state | integer |
Resource state, indicates level of detail. Possible values: 2 -> summary, 3 -> detail |
distance
|
distance | integer |
The distance logged with this gear. |