Get a user
Returns the profile of one user, with display name, username, image, nationality, and platforms.
Parameters #
| Property | Type | Location | Description |
|---|---|---|---|
userId | stringRequired | path | - |
Request #
curl --request GET 'https://strave.gg/api/v2/users/USER_ID' \
--header 'Authorization: Bearer $STRAVE_ACCESS_TOKEN'Response #
200Response for status 200400Response for status 400401Response for status 401403Response for status 403404Response for status 404429Response for status 429500Response for status 500503Response for status 503| Property | Type | Description |
|---|---|---|
data | objectRequired | - |
└id | stringRequired | - |
└displayName | stringRequired | - |
└username | string | nullRequired | - |
└imageUrl | string | nullRequired | - |
└nationality | string | nullRequired | - |
└platforms | string[]Required | - |
└primaryPlatform | string | nullRequired | - |
Cost #
1 API unit