Ergast API is being deprecated at the end of 2024 #445
Replies: 7 comments 15 replies
-
Thanks for the hint. I guess there's plenty of time still to tackle this issue. My first reaction is that the community around FastF1 would be perfect to take this over. Maybe get the folks from the Multiviewer community involved as well (although they don't really depend on it, there are a lot of tech-savvy nerds there). I can easily contact the relevant people there. We don't want Ergast to die. For multiple reasons. First, it's a unique database of Formula 1 history. Second, Chris has spent huge amounts of time to build it and collect the data. It would be a pity if this effort is not retained. I'll go ahead and contact him to make sure it's OK to use his database. And then, it would be nice to build a team to get this done by the end of next year at the latest. Doing this all alone, along with maintaining and updating FastF1, might be a bit of a challenge for me. An API server for FastF1 was planned anyway, although nothing is really underway yet. It's all in a very rough planning stage still. From the way I understand it, there will be no further updates to the data. Therefore, it would be necessary to figure out a (preferably) at least semi-automatic way to populate the database with future data. |
Beta Was this translation helpful? Give feedback.
-
Just a very short update here. I've talked to Chris, who runs Ergast. He's totally Ok with it, if we try to build an open source successor to Ergast and use his database. I currently tend towards rewriting the API server completely. The current Ergast runtime is available on Github, but the code itself is fairly old. I'm positive that a more modern implementation can scale better. One possible option would be Cloudflare's D1 database with Cloudflare Pages functions. When creating this as an open source project, it's possible to apply for project support to get a premium tier for free. This has the advantage that hosting would be free, with virtually unlimited load capacity. Of course, some more thought should be given to all of this before starting anything. |
Beta Was this translation helpful? Give feedback.
-
I've set up a Slack workspace for now to better discuss how we might want to tackle this project. Everybody who wants to help out can join here: (Note that this workspace is only intended for discussions regarding the deprecation of the Ergast API and development work around that, but not for user support questions or similar) Some other people contacted Chris from Ergast independently, and they will be joining the Slack workspace as well. (ping for those I know may be interested in helping @mdsakalu @Casper-Guo @harningle @pesaventofilippo) |
Beta Was this translation helpful? Give feedback.
-
It seams to be a long term problem but the current season isnt displayed in the same way as it used to be. So its kind off a now problem |
Beta Was this translation helpful? Give feedback.
-
Hello all! |
Beta Was this translation helpful? Give feedback.
-
Things are moving forward and we've reached alpha state for the Ergast successor. Here's an update, posted by Jess Perry in the Slack Workspace that was mentioned above.
Please note, jolpica-f1 is a project that is independent of FastF1. I am only a contributor and partially an initiator of the project, and others have done a huge amount of work to make it happen. All issues should be reported in the project's GitHub repository and not here. Users of FastF1 can manually change the URL for the Ergast API from the default server to the jolpica-f1 server. To do this, your scripts need to contain the following lines of code at the beginning:
This will cause FastF1 to use the jolpica-f1 server for internal requests and for all requests that you make explicitly through the Ergast API wrapper. |
Beta Was this translation helpful? Give feedback.
-
Hey guys, Firstly, huge thanks for creating and keeping such a database! I found ergast.com in a list of public APIs, and as a F1 fan decided to build my university Fullstack course project on this. (Done here https://github.com/elidare/elidare-f1-statistics) I was quite astonished to find the API returning 503 Backend fetch failed today, when it was working well on Saturday. Especially given the project deadline this week :) So could you please tell me if this API is shut down now for good or there are only some temporary problems? And again, thanks for your work! |
Beta Was this translation helpful? Give feedback.
-
As per http://ergast.com/mrd/:
It's obviously a long-term problem, but what should we do?
If it's only the API being deprecated, then someone could just run a mirror (which I'm planning to do at some point) by cloning the database every time it updates. If however they stop updating the DB, do we have an alternative to Ergast?
Beta Was this translation helpful? Give feedback.
All reactions