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
        }
      ]
    }
  }
}

Work with this as data

Every example here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This example
curl "https://apis.io/api/v1/examples/strava-get-segment-leaderboard-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.