Grand prix lookup
Name a race and a season, and the API answers the track it was raced on: it reads that season’s schedule from Jolpica, matches the race by its exact name, finds the circuit in its catalogue and picks the layout of that year.
1. The season’s races
This page lists the races by calling Jolpica itself, from the browser (Jolpica allows any origin). If it cannot
be reached, type the name: the API needs it exactly as Jolpica’s raceName, such as
British Grand Prix.
2. The race’s track
/grand-prix/{race name}/{season}/{format}, the race name percent-encoded (a space is %20).
When the lookup finds nothing
The API answers 404 {"detail": "Circuit not found"} when the name is not in that season’s schedule,
when Jolpica cannot be reached from the server, or when the circuit or that year’s layout is not in the catalogue
yet (browse it in the circuit browser).