Laps
get_lapsRetrieve Formula 1 lap data—lap and sector times, speed traps, pit-out status, and mini-sector segments—filtered by session, driver, or lap to analyze race and qualifying performance.
Instructions
Lap data: lap time, sector times, intermediate and speed-trap speeds, pit-out flag, mini-sector segments (segments are not available in races).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of records to return (default 200, max 1000). A summary is added when the result is larger. | |
| fields | No | Return only these attributes. Use this to make large results smaller. | |
| filters | No | Extra comparison filters, e.g. [{"field":"lap_duration","op":"<","value":90}]. Allowed fields: date_start, driver_number, duration_sector_1, duration_sector_2, duration_sector_3, i1_speed, i2_speed, is_pit_out_lap, lap_duration, lap_number, meeting_key, segments_sector_1, segments_sector_2, segments_sector_3, session_key, st_speed. Array fields cannot be filtered. | |
| lap_number | No | Lap number (starts at 1). | |
| meeting_key | No | Meeting (Grand Prix weekend) identifier. Use "latest" for the current or most recent meeting. | |
| session_key | No | Session identifier. Use "latest" for the current or most recent session. | |
| driver_number | No | Driver number(s) for the season, e.g. 1, 44, 81. Give a list to get more than one driver. | |
| is_pit_out_lap | No | Only pit-out laps (true) or only other laps (false). |