Get Session Results
get_session_resultsRetrieve final classification for an F1 session from OpenF1, optionally filtered by driver or position. If results return 404, retry after confirming the session is complete.
Instructions
Fetch the final classification of an F1 session from OpenF1.
Results become available a few minutes after the official results are published on the Formula 1 website. If the API returns HTTP 404, the results are not yet published for that session — retry with an earlier session_key (use get_sessions to find completed sessions).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| position | No | int — optional, >= 1. Final position in the session. | |
| session_key | No | int | str — required in practice, positive int or 'latest'. Session identifier; use get_sessions to discover it. | |
| driver_number | No | int — optional, 1-99. Driver number for the season. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |