Skip to content
OSINTtools.io

Strava API

Fitness-tracking social network whose public activities, segments and global heatmap can reveal routes, routines and sensitive sites.

Base URL
https://www.strava.com/api/v3
Sign-in
OAuth
Format
REST
Endpoints
2

Compiled by OSINTtools.io editors from developers.strava.com · updated Nov 29, 2026Work on this API? Claim it to keep these docs currentReport a mistake

Introduction

The Strava API v3 returns an athlete's profile, activities and related data for athletes who authorise your app. It does not search for other people by name or username: calls act on the token holder's own account or on activities that account may see.

Calls go to https://www.strava.com/api/v3 with an OAuth2 bearer token. Scopes such as activity:read, activity:read_all, activity:write and profile:read_all control what a token can read. Register an app at strava.com/settings/api.

Default limits are per application. Many more endpoints exist (segments, clubs, routes, gear, uploads); only the activity reads are described here.

Quick start

  1. Get a key

    Create an account with Strava and copy your oauth. Where to get it

  2. Make your first request

    Activities of the authenticated athlete.. Replace YOUR_API_KEY and run it in a terminal, or use Try it on the endpoint.

    curl 'https://www.strava.com/api/v3/athlete/activities' \
      -H 'Authorization: Bearer YOUR_API_KEY'
  3. Read the response

    A 200 response looks like this.

    [
      {
        "id": 9876543210,
        "name": "Morning Run",
        "distance": 5000,
        "moving_time": 1500,
        "elapsed_time": 1560,
        "type": "Run",
        "start_date": "2026-01-15T07:00:00Z"
      }
    ]

Authentication

OAuth: your app gets an access token from Strava and sends it as a bearer token. See the vendor's docs for the flow.

OAuth2 bearer token; scopes such as activity:read and profile:read_all

Get a key from Strava

Try it on this page keeps your key in your browser; it is never sent to OSINTtools.io.

Rate limits and pricing

Default per application: 200 requests per 15 minutes and 2,000 per day overall; 100 per 15 minutes and 1,000 per day for non-upload calls

Errors

StatusMeaning
429Rate limit exceeded

Activities

  • Passive: the target is not contacted

Returns an array of SummaryActivity objects.

Query parameters

beforeinteger

Epoch timestamp: only activities before this time

Example: 1767225600
afterinteger

Epoch timestamp: only activities after this time

Example: 1764547200
pageinteger

Page number

Example: 1Default: 1
per_pageinteger

Items per page

Example: 30Default: 30
Response fields · 7Show

idinteger

Activity id

namestring

Activity name

distancenumber

Distance

moving_timeinteger

Moving time

elapsed_timeinteger

Elapsed time

typestring

Activity type

start_datestring

Start time

curl 'https://www.strava.com/api/v3/athlete/activities' \
  -H 'Authorization: Bearer YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
[
  {
    "id": 9876543210,
    "name": "Morning Run",
    "distance": 5000,
    "moving_time": 1500,
    "elapsed_time": 1560,
    "type": "Run",
    "start_date": "2026-01-15T07:00:00Z"
  }
]

One activity in detail.

GET/activities/{id}

  • Passive: the target is not contacted

Returns a DetailedActivity: totals, map polyline, gear, laps, splits and segment efforts.

Path parameters

idintegerrequired

Activity id

Example: 9876543210

Query parameters

include_all_effortsboolean

Include all segment efforts

Example: false
Response fields · 16Show

idinteger

Activity id

namestring

Activity name

distancenumber

Distance

moving_timeinteger

Moving time

elapsed_timeinteger

Elapsed time

total_elevation_gainnumber

Elevation gain

typestring

Activity type

sport_typestring

Sport type

start_datestring

Start time (UTC)

start_date_localstring

Start time (local)

timezonestring

Timezone

average_speednumber

Average speed

max_speednumber

Maximum speed

kudos_countinteger

Kudos

comment_countinteger

Comments

device_namestring

Recording device

curl 'https://www.strava.com/api/v3/activities/9876543210' \
  -H 'Authorization: Bearer YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "id": 9876543210,
  "name": "Morning Run",
  "distance": 5000,
  "moving_time": 1500,
  "elapsed_time": 1560,
  "total_elevation_gain": 40,
  "type": "Run",
  "sport_type": "Run",
  "start_date": "2026-01-15T07:00:00Z",
  "start_date_local": "2026-01-15T08:00:00Z",
  "timezone": "Europe/Paris",
  "average_speed": 3.3,
  "max_speed": 5.1,
  "kudos_count": 3,
  "comment_count": 0,
  "device_name": "Example Watch"
}