get-all-activities
Fetch your Strava activities with filters for date range and type, or get summary statistics like totals, averages, and breakdowns.
Instructions
Fetches activity history with optional filtering by date range and activity type. Set summaryMode=true to get aggregated statistics (totals, averages, bests, monthly/weekly breakdowns) instead of a list.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endDate | No | ISO date string for activities before this date (e.g., '2024-12-31') | |
| perPage | No | Activities per API call (default: 200, max: 200) | |
| startDate | No | ISO date string for activities after this date (e.g., '2024-01-01') | |
| sportTypes | No | Array of sport types for granular filtering (e.g., ['MountainBikeRide', 'TrailRun']) | |
| maxApiCalls | No | Maximum API calls to prevent quota exhaustion (default: 10 = ~2000 activities) | |
| summaryMode | No | Return aggregated statistics instead of activity list. Includes totals, averages, bests, and weekly/monthly breakdowns. | |
| activityTypes | No | Array of activity types to filter (e.g., ['Run', 'Ride']) | |
| maxActivities | No | Maximum activities to return after filtering (default: 500) |