Strava · Example Payload

Strava Get Segment Leaderboard Example

CyclingFitnessFitness TrackingRunningSports

Strava Get Segment Leaderboard Example is an example object payload from Strava, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

requestresponse

Example Payload

Raw ↑
{
  "request": {
    "method": "GET",
    "url": "https://www.strava.com/api/v3/segments/1234567/leaderboard?per_page=10",
    "headers": {
      "Authorization": "Bearer 4f5g6h7i8j9k0l..."
    }
  },
  "response": {
    "status": 200,
    "body": {
      "header": "Overall",
      "effort_count": 8924,
      "entry_count": 10,
      "entries": [
        {
          "athlete_name": "Jane Smith",
          "elapsed_time": 285,
          "moving_time": 282,
          "start_date": "2025-08-15T09:30:00Z",
          "start_date_local": "2025-08-15T11:30:00Z",
          "distance": 1200.0,
          "rank": 1,
          "athlete_profile": "https://xxxxxx.cloudfront.net/pictures/athletes/1111/medium.jpg",
          "activity_id": 9876543,
          "effort_id": 55443322
        },
        {
          "athlete_name": "Mike Johnson",
          "elapsed_time": 298,
          "moving_time": 295,
          "start_date": "2025-07-20T16:00:00Z",
          "start_date_local": "2025-07-20T18:00:00Z",
          "distance": 1200.0,
          "rank": 2,
          "athlete_profile": "https://xxxxxx.cloudfront.net/pictures/athletes/2222/medium.jpg",
          "activity_id": 8765432,
          "effort_id": 44332211
        }
      ]
    }
  }
}