Real-time and historical Formula 1 data including laps, car telemetry and positions.
OpenF1 API is a free Sports & Fitness API that requires no API key, is served over HTTPS and supports CORS, so it can be called from the browser.
The open source API for Formula 1 data
Details from openf1.org.

Unified API suite · now live
Geocode an address, validate an email, track a flight or pull stock data with one account, one dashboard and one API key.
Football fixtures, results, standings, lineups, live events and shot-level xG across 75 competitions
The OpenF1 API is provided by OpenF1 (openf1.org). The open source API for Formula 1 data
Yes. The OpenF1 API is listed in the Sports & Fitness category of the public-apis directory, which only includes APIs that are free or have a free tier. Check its documentation for rate limits and paid plans.
No. The OpenF1 API requires no authentication, so you can start making requests without signing up.
Yes. The OpenF1 API supports CORS, so front-end JavaScript can call it directly.
Yes. The OpenF1 API is served over HTTPS, so it's safe to use in production.