FastF1 Documentation
Access and analyze Formula 1 timing data, telemetry, and race results with a powerful Python package built for data scientists and motorsport enthusiasts.
Quick Start
Get up and running with FastF1 in minutes
Install FastF1
Enable caching
Load a session
'FP1', 'FP2', 'FP3', 'Q' (Qualifying), 'S' (Sprint), 'R' (Race)Explore by Topic
Find what you need to build powerful F1 data analysis tools
Sessions & Events
Telemetry Data
Lap Timing
Data Visualization
Ergast API
Caching
Key Features
Everything you need for Formula 1 data analysis
Real-time & Historical Data
Access live timing data during race weekends and complete historical data from 2018 onwards through multiple data sources
Pandas DataFrames
All data is provided as extended Pandas DataFrames with F1-specific methods for easy manipulation and analysis
Matplotlib Integration
Built-in plotting utilities with team colors, driver styling, and tire compound colors for publication-ready visualizations
Intelligent Caching
Automatic caching of API requests reduces load times and enables offline analysis of previously loaded data
Example Use Cases
See what you can build with FastF1
Telemetry Analysis
Compare driver telemetry, analyze corner speeds, and visualize racing lines with GPS data
Lap Time Analysis
Track lap time evolution, compare qualifying sessions, and analyze sector performance
Race Strategy
Visualize tire strategies, pit stop timing, and track position changes throughout races
Championship Analysis
Track driver and constructor standings, analyze season trends, and create championship visualizations
Ready to get started?
Install FastF1 and start analyzing Formula 1 data in minutes. Join thousands of data scientists and F1 enthusiasts using FastF1 for race analysis.
