A REST API that provides current Formula 1 championship standings for both drivers and constructors. The API attempts to fetch real-time data from live F1 sources and falls back to current 2024 season data when live APIs are unavailable.
Returns both driver and constructor standings in a single response.
Response:
{ "season": "2024", "drivers": [ { "position": 1, "driver": "Max Verstappen", "nationality": "Dutch", "team": "Red Bull Racing", "points": 393, "wins": 9 } // ... more drivers ], "constructors": [ { "position": 1, "constructor": "McLaren", "nationality": "British", "points": 593, "wins": 5 } // ... more constructors ], "source": "Static data (Live API unavailable)", "note": "This data reflects the 2024 F1 season standings as of October 2024...", "lastUpdated": "2024-10-10T00:00:00Z" }
Returns only the driver championship standings.
Response:
{ "season": "2024", "standings": [ { "position": 1, "driver": "Max Verstappen", "nationality": "Dutch", "team": "Red Bull Racing", "points": 393, "wins": 9 } // ... more drivers (complete top 20) ], "source": "Static data (Live API unavailable)", "note": "This data reflects the 2024 F1 season standings...", "lastUpdated": "2024-10-10T00:00:00Z" }
Returns only the constructor championship standings.
Response:
{ "season": "2024", "standings": [ { "position": 1, "constructor": "McLaren", "nationality": "British", "points": 593, "wins": 5 } // ... more constructors (complete top 10) ], "source": "Static data (Live API unavailable)", "note": "This data reflects the 2024 F1 season standings...", "lastUpdated": "2024-10-10T00:00:00Z" }
Health check endpoint for monitoring.
Response:
{ "status": "healthy", "timestamp": "2024-10-10T02:02:41.123Z", "version": "1.0.0" }
position: Championship position (number)driver: Full name of the driver (string)nationality: Driver's nationality (string)team: Constructor/team name (string)points: Total championship points (number)wins: Number of race wins (number)position: Championship position (number)constructor: Team/constructor name (string)nationality: Constructor's nationality (string)points: Total championship points (number)wins: Number of race wins (number)season: F1 season year (string)source: Data source information (string)note: Additional context about the data (string, optional)lastUpdated: ISO timestamp of last data update (string)# Get all standings curl https://your-val-url.web.val.run/ # Get only driver standings curl https://your-val-url.web.val.run/drivers # Get only constructor standings curl https://your-val-url.web.val.run/constructors # Health check curl https://your-val-url.web.val.run/health
The API includes up-to-date 2024 F1 championship standings including: