F1 Circuits API

Track images

Every layout comes in three formats: svg (a vector drawing), png (an image) and geojson (the GPS trace it was drawn from). Ask for one by its layout, or by a year: the API then picks the layout that was raced that year.

The pickers below are filled from one call

By layout

/circuits/{country}/{city}/{circuit}/layout/{layout}/{format}

Format
Choose a layout.

By year

/tracks/{country}/{city}/{circuit}/year/{year}/{format}. A year no layout of the circuit covers has no track; the list under the picker shows the years each layout covers.

Format

Choose a circuit and a year.

About the answers

svgimage/svg+xml, sent as an attachment: an <img> shows it, a browser tab opening the URL saves it. A black line on a transparent ground.
pngimage/png, shown inline.
geojsonapplication/geo+json: a FeatureCollection whose LineString is the trace as [longitude, latitude] points; see GPS traces to draw one.
CachingEvery file answers Cache-Control: public, max-age=31536000 and an ETag.