A Formula 1 testing grid with drivers, constructors, race simulation, lap telemetry and authenticated pit-stop operations.
Base URL: https://funapi.dev/api/formula1/v1 · 7 endpoints · OpenAPI 3.1 spec and Postman collection available. New here? Read the getting started guide.
drivers and constructors
GET /formula1/v1/drivers — List drivers by team · Responds with 200 Link to this endpointGET /formula1/v1/constructors — List constructors with drivers · Responds with 200 Link to this endpointevents and results
GET /formula1/v1/races — List races by status · Responds with 200 Link to this endpointPOST /formula1/v1/races/{id}/start — Run and finish a race (requires Bearer auth) · Responds with 200 404 409 Link to this endpointGET /formula1/v1/races/{id}/results — Get classified race results · Responds with 200 409 Link to this endpointlaps and pit stops
GET /formula1/v1/races/{id}/telemetry — Read lap telemetry after a race · Responds with 200 Link to this endpointPOST /formula1/v1/races/{id}/pit-stops — Record a pit stop (requires Bearer auth) · Responds with 201 422 Link to this endpointThe Formula 1 API covers drivers, constructors, races, pit stops and lap telemetry. Telemetry returns dense numeric arrays rather than the small object payloads the rest of the catalog serves, which makes it the right page for testing how your client, your assertions and your logging cope with a response that is genuinely large.
GET https://funapi.dev/api/formula1/v1/drivers — List drivers by team. No token, no signup:
curl -i https://funapi.dev/api/formula1/v1/drivers
Response: 200 OK
{
"total": 4,
"data": [
{
"id": 1,
"code": "VER",
"name": "Max Verstappen",
"teamId": 1,
"number": 1,
"points": 0
},
{
"id": 2,
"code": "LEC",
"name": "Charles Leclerc",
"teamId": 2,
"number": 16,
"points": 0
},
{
"id": 3,
"code": "NOR",
"name": "Lando Norris",
"teamId": 3,
"number": 4,
"points": 0
},
{
"id": 4,
"code": "HAM",
"name": "Lewis Hamilton",
"teamId": 2,
"number": 44,
"points": 0
}
]
}
Unofficial and fan-made. The Formula 1 API is a practice API that borrows a theme; it is not affiliated with, sponsored or endorsed by the owners of the names it references, which belong to them. Every record it returns is test data for exercising HTTP behaviour, not an authoritative source on the subject.
Last updated