An OpenAPI Schema for the Ergast Formula 1 API
This is a partial definition of the Ergast F1 API in the OpenAPI 3.0 specification. Of the the endpoints that are implemented here, the url paths and return data schemas are structured to match the structure currently used on the live Ergast API.
You should be able to use the as a starting point for generating your client libraries for use with Ergast, or setting up your own API to use with a copy of the Ergast DB.
Notes:
- This only defines the JSON data schema, not the XML version of the API return data
- Outside of the year, most of the inline parameters used by the Ergast API are not defined here.
- The placeholder values for year are not implemented.
License:
- This OpenAPI Document is licensed under the MIT License.
- For Ergast API Terms of Use, see: Ergast API Terms and Conditions