Skip to main content
All providers
O

OpenF1

Reference

api.openf1.org

Unofficial but well-maintained Formula 1 data API covering the 2023 season onward: sessions and meetings, drivers, lap times and sectors, live and historical positions, gaps and intervals, stints and pit stops, race-control messages, weather, overtakes and team radio, all keyed by session_key and driver_number.

Runs on your machine under the source's own terms

The crw MCP on your computer calls OpenF1 directly. Calls cost no credits and the data does not pass through fastCRW. Install it once for Claude Code, Cursor, Codex, Windsurf, Gemini CLI or OpenCode, with your fastCRW API key in place of the placeholder:

Capabilities (15)

openf1/championship-driversFree, runs locally

Returns driver championship standing at a session: position at the start and after it, and points before and after, including championship_drivers (beta) data.

session_keydriver_number?
openf1/championship-teamsFree, runs locally

Returns constructor championship standing at a session: team name, position at the start of and after the session, and points before and after.

session_keyteam_name?
openf1/driversFree, runs locally

Returns the drivers taking part in a session with driver_number, broadcast name, full name, acronym, team name and colour, headshot URL and first and last name.

session_keydriver_number?meeting_key?
openf1/intervalsFree, runs locally

Returns timestamped gaps for one driver: interval to the car ahead in seconds and gap to the leader, updated as the race runs.

session_keydriver_number
openf1/lapsFree, runs locally

Returns one row per lap: lap number, start time, the three sector durations, the three mini-sector speed traps, pit-out flag and total lap duration.

session_keydriver_number?lap_number?
openf1/meetingsFree, runs locally

Returns meetings (one per Grand Prix weekend) with meeting_key, official and short name, circuit, location, country, and start and end dates.

yearmeeting_key?country_code?circuit_short_name?
openf1/overtakesFree, runs locally

Returns overtakes with the overtaking and overtaken driver numbers, the timestamp and the position gained.

session_keyovertaking_driver_number?overtaken_driver_number?
openf1/pitFree, runs locally

Returns pit stops with the timestamp, lap number, pit lane duration and stationary stop duration for each driver.

session_keydriver_number?lap_number?
openf1/positionFree, runs locally

Returns timestamped position changes for a driver through a session: the date of each change and the position held from then on.

session_keydriver_number?position?
openf1/race-controlFree, runs locally

Returns race-control messages in order: timestamp, lap, category, flag, scope, sector, qualifying phase and the message text.

session_keydriver_number?category?flag?scope?sector?message?
openf1/session-resultFree, runs locally

Returns the final classification for a session: position, driver number, laps completed, points, DNF/DNS/DSQ flags, total duration and gap to the leader.

session_keydriver_number?
openf1/sessionsFree, runs locally

Returns sessions (practices, qualifying, sprints and races) with session_key, session name and type, start and end timestamps, meeting_key, circuit, country and the year.

yearsession_key?meeting_key?session_name?session_type?country_code?circuit_short_name?
openf1/stintsFree, runs locally

Returns each driver's stints: stint number, first and last lap, compound, and the tyre age at the start of the stint.

session_keydriver_number?compound?stint_number?
openf1/team-radioFree, runs locally

Returns team-radio messages as metadata: driver number, timestamp and a public MP3 recording URL; the audio itself is not transcribed.

session_keydriver_number?
openf1/weatherFree, runs locally

Returns the minute-by-minute weather at the circuit: air and track temperature, humidity, pressure, wind speed and direction, and rainfall.

session_keymeeting_key?

Response example

The shape of data from openf1/championship-drivers (Driver standings). A sample, not live data.

JSON
[
  {
    "meeting_key": 1229,
    "session_key": 9472,
    "driver_number": 1,
    "position_start": null,
    "position_current": 1,
    "points_start": 0,
    "points_current": 26
  },
  {
    "meeting_key": 1229,
    "session_key": 9472,
    "driver_number": 11,
    "position_start": null,
    "position_current": 2,
    "points_start": 0,
    "points_current": 18
  },
  {
    "meeting_key": 1229,
    "session_key": 9472,
    "driver_number": 55,
    "position_start": null,
    "position_current": 3,
    "points_start": 0,
    "points_current": 15
  },
  {
    "meeting_key": 1229,
    "session_key": 9472,
    "driver_number": 16,
    "position_start": null,
    "position_current": 4,
    "points_start": 0,
    "points_current": 12
  },
  {
    "meeting_key": 1229,
    "session_key": 9472,
    "driver_number": 63,
    "position_start": null,
    "position_current": 5,
    "points_start": 0,
    "points_current": 10
  },
  {
    "meeting_key": 1229,
    "session_key": 9472,
    "driver_number": 4,
    "position_start": null,
    "position_current": 6,
    "points_start": 0,
    "points_current": 8
  },
  {
    "meeting_key": 1229,
    "session_key": 9472,
    "driver_number": 44,
    "position_start": null,
    "position_current": 7,
    "points_start": 0,
    "points_current": 6
  },
  {
    "meeting_key": 1229,
    "session_key": 9472,
    "driver_number": 81,
    "position_start": null,
    "position_current": 8,
    "points_start": 0,
    "points_current": 4
  },
  {
    "meeting_key": 1229,
    "session_key": 9472,
    "driver_number": 14,
    "position_start": null,
    "position_current": 9,
    "points_start": 0,
    "points_current": 2
  },
  {
    "meeting_key": 1229,
    "session_key": 9472,
    "driver_number": 18,
    "position_start": null,
    "position_current": 10,
    "points_start": 0,
    "points_current": 1
  },
  "… 10 more items"
]

Ask with this source

A prompt for your agent that names this source and how to call it through the crw MCP.

  • Driver standings

    Use OpenF1 (openf1) from fastCRW Pergamon, capability "Driver standings" (championship-drivers). You want the points table as it stood at a given round rather than after the whole season. Example options: session_key=9472. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "openf1" and capability "championship-drivers". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>

  • Constructor standings

    Use OpenF1 (openf1) from fastCRW Pergamon, capability "Constructor standings" (championship-teams). You want the constructors' table at a given round rather than the drivers'. Example options: session_key=9472. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "openf1" and capability "championship-teams". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>

  • Drivers in a session

    Use OpenF1 (openf1) from fastCRW Pergamon, capability "Drivers in a session" (drivers). You have a session_key and need to turn driver numbers into names and teams. Example options: session_key=9472, driver_number=1. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "openf1" and capability "drivers". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>

  • Gaps and intervals

    Use OpenF1 (openf1) from fastCRW Pergamon, capability "Gaps and intervals" (intervals). You care about the time gap from one particular driver to the car ahead and to the leader, not their position. Example options: session_key=9472, driver_number=1. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "openf1" and capability "intervals". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>

Licence

OpenF1 is intended for educational purposes, personal learning projects, research, and non-commercial fan engagement.

https://openf1.org/

Attribution

Display this wherever you show the data. It arrives on every response as provenance.attributionText.

Data via OpenF1 (openf1.org), an unofficial project not associated with the Formula 1 companies. F1 and related marks are trademarks of Formula One Licensing B.V.