apisports_formula1_races
Get Formula 1 races and sessions for a season, including circuit, laps, distance, and competition info. Filter by session type, Grand Prix, or upcoming sessions.
Instructions
Formula 1 races and sessions for a season.
Returns: {response:[{id, competition:{id, name, location}, circuit:{id, name}, season, type, laps:{current, total}, distance, timezone, date, status}]} — SHAPE FROM VENDOR DOCS. jolpicaf1 (keyless) covers F1 history back to 1950 and openf1 (keyless) covers live telemetry — prefer those unless you need this one key to span sports.
NOTE: this shape is from the vendor's documentation and has NOT been verified against a live response (we hold no key for this provider). Treat it as approximate — inspect the actual payload before relying on a field name.
Example: A season's races {"season": 2023}
Auth: needs your own key in API_SPORTS_KEY.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next | No | The N upcoming sessions. | |
| type | No | Session type, e.g. Race, Qualifying, '1st Practice'. | |
| season | No | Season year. | |
| competition | No | Grand Prix id. |