How to Track Tyre Stints
β Included in All Plans
The stints endpoints are included at no additional cost.
Plans differ only in leagues and API call limits.
This guide shows you how to retrieve tyre stint data for a race - all stints across the full field, per-driver filtering, start and end lap ranges, and live polling for the latest stint activity.
When to use this
Use the stints endpoints when you want to:
Display each driver's tyre strategy as a timeline of compounds and lap ranges
Track how many stints a driver has completed during a live race
Identify which drivers are on fresh versus old tyres at a given point in the race
Build a strategy comparison showing different teams' approaches across the same race
The stints endpoints
GET Stints by Fixture ID
/fixtures/{id}/stints
All stints for every driver in the race
GET Stints by Fixture ID and Driver ID
/fixtures/{id}/stints/drivers/{driver_id}
All stints for one specific driver
GET Latest Stints by Fixture ID
/fixtures/{id}/stints/latest
Most recent stint entries (live polling)
GET Stints by Fixture ID and Stint Number
/fixtures/{id}/stints/{stint_number}
All drivers' data for a given stint number
None of these endpoints paginate - the full result set returns in one response.
Base response fields
stint_number starts at 1 for each driver and increments with each tyre change. participant_id is the driver ID. driver_number is the car number.
Adding start and end laps with the details include
details includeThe base response tells you the stint number but not its lap range. Add details to get when the stint started and ended:
From the Results and Live Data Type Reference, the stint detail types are:
9725
Stint Lap Info
Object containing start_lap and end_lap
9726
Stint Number
The stint number
Note that tyre compound data (SOFT, MEDIUM, HARD, etc.) lives on the results or lineups.details include on the fixture itself under type 9729 (TYRE), not directly on the stints endpoint. The stints endpoint tells you the stint structure; the tyre compound at any moment comes from the live results data.
Working with the data
Fetch all stints for a race
Fetch stints for a single driver
Fetch by stint number to compare all drivers on their first stint
Poll latest stints during a live race
GET Latest Stints by Fixture ID returns the most recently updated stint entries. During a live race, a new entry appears when a driver pits and begins a new stint.
Common pitfalls
Tyre compound is not on the stints endpoint. The stints endpoint tracks stint structure (number, lap range). To show which compound a driver is currently on, use GET All Livescores with ?include=results and read the TYRE type from the results include. The compound changes in real time as drivers pit.
end_lap is null for the current active stint. During a live race, the driver's most recent stint has no end lap until they pit or the session ends. Handle null gracefully - display it as "ongoing" rather than a number.
stint_number resets per driver, not per race. Each driver starts at stint 1. Stint 2 for driver A and stint 2 for driver B are unrelated - they just both happen to be on their second set of tyres.
participant_id is the driver ID. Cross-reference with driver entities or lineup data to display names. driver_number is car number only.
GET Latest Stints is not per-driver. It returns the most recently updated stint records across all drivers, which may be 1 entry or several if multiple drivers pitted at the same time.
Advanced usage
To build a full race strategy visualisation, combine stints with pit stop data. Stints give you the lap ranges; pit stop data gives you the stop duration at each transition. Pair them by driver_number and lap_number to render a tyre strategy bar for each driver across the full race distance.
To calculate stint length distribution, fetch all stints for a race and compute end_lap - start_lap + 1 for each completed stint. Plotting this as a histogram shows whether the race was primarily one-stop, two-stop, or more varied in strategy.
Common errors
401
Missing or invalid api_token
404
The fixture_id or driver_id does not exist
422
Query complexity exceeded - remove includes
See also
Stints endpoints
Type references
Related entities
Related guides
FAQ
Do I need to paginate the stints endpoints? No. All stints endpoints return the full result set in a single response.
How do I know which tyre compound a driver is on during their stint? The stints endpoint does not carry compound data. Use GET All Livescores with ?include=results and read the TYRE type (type_id 9729) from the results array for each driver. This updates in real time as compounds change.
What does stint number 1 represent for a driver who starts on used tyres? Stint 1 is always the opening stint regardless of tyre age at the race start. Tyre age since the start of the race is available via the TYRE result type on the fixture, not directly from the stints endpoint.
Last updated
Was this helpful?