Get Stints
get_stintsRetrieve Formula 1 tyre stints from OpenF1 by session, driver, stint number, compound, or lap range to analyze pit strategy and stint performance.
Instructions
Fetch tyre stints (periods of continuous driving) from OpenF1.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compound | No | str — optional, 1-20 chars, e.g., 'SOFT', 'MEDIUM', 'HARD'. Normalized to uppercase. | |
| lap_end_max | No | ||
| lap_end_min | No | ||
| session_key | No | int | str — required in practice, positive int or 'latest'. Session identifier; use get_sessions to discover it. | |
| stint_number | No | int — optional, >= 1. Sequential stint number. | |
| driver_number | No | int — optional, 1-99. Driver number for the season. | |
| lap_start_max | No | ||
| lap_start_min | No | ||
| tyre_age_at_start_max | No | ||
| tyre_age_at_start_min | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |