Feedback

If you have any comments, suggestions or feature requests please add them here. Problems and errata can be reported on Bug Reports page.

Comments

433 responses to “Feedback”

  1. Antho Avatar
    Antho

    Hello,

    I’m Antho, I’m a developper and I have an idea of a small project to display some stats or facts about Formula e races. I think it would be smart to begin by aggregating datas to building a database or even have an API like yours which is very complete and detailed (nice work by the way !).

    I saw you began this work on Formula e races few years ago but you did not continue with recent seasons, right ?
    I wondered if it would be possible to draw inspiration from your F1 project and model to build it (I think some tables would be similars) ? Or maybe contribue to yours in some way to add/construct theses datas ?

    For information, did you use other existant services to automatically collect some datas to your database or did you manually search and add informations in your system (that will be a lot of work…).

    Thanks for your read.
    Cheers.

    Antho

  2. Admin Avatar
    Admin

    Hi Antho,
    It became too difficult to support Formula E because the format, scoring and reporting of the races kept changing in the early years. Each change required code changes and testing. The historical data for Formula 1 came from a variety of sources and contributors.
    Cheers,
    Chris

  3. Jouvy Avatar

    Hi Admin,

    Just want to give feedback, can you add Sprint race result and points to points in this API https://ergast.com/api/f1/current/drivers/max_verstappen/results.json?

    Cause this not returning the same value as total points in the standings API.

  4. dmartin Avatar
    dmartin

    Hello,

    When I tried some api queries, I found that in DriverStandings, Drivers have the data of their Constructor, but in ConstructorStandings, Constructors do not have the data of their Drivers.

    So I was wondering, why there is a difference between the two?

    Thanks in advance for your answer
    and for your excellent work.

  5. Admin Avatar
    Admin

    Hi Jouvy,
    The points from the Sprint Qualifying Races are reported in a separate endpoint e.g. https://ergast.com/api/f1/current/drivers/max_verstappen/sprint.json
    Cheers,
    Chris

  6. Admin Avatar
    Admin

    Hi dmartin,
    It’s a long time since I designed the API so it’s difficult to remember. It was probably two things:
    – trying to keep the SQL queries simple for efficiency
    – trying to keep the size of the responses as small as possible
    Aggregating the drivers for each constructor would slow down the API considerably and make the responses considerably larger.
    Cheers,
    Chris

  7. Jouvy Avatar

    Hi Admin, can you point the /current schedules and everything to season 2023 now since testing race is coming? thanks

  8. Admin Avatar
    Admin

    Hi Jouvy,
    Unfortunately, I can’t change the shortcuts at this late stage without considering the repercussions e.g. empty results for some of the most common API requests.
    Cheers,
    Chris

  9. Jouvy Avatar

    Hi Chris,

    All constructors data in this API https://ergast.com/api/f1/2023/driverStandings.json are currently empty, can you help to check?

    Thanks!

  10. Admin Avatar
    Admin

    Hi Jouvy,
    See this post in Latest News: https://ergast.com/mrd/drivers-and-constructors-for-2023/
    The association between drivers and constructors is established by adding a set of race results which will happen later today. I know this is less than ideal but it makes sense in some ways because you never really know who is going to turn up and race until the Grand Prix. (remember USF1?).
    Cheers,
    Chris

  11. Jouvy Avatar

    Hi Chris,

    Ah, I see, got that buddy. Thanks for always listening to my questions and ideas Chris. You are such a nice developer!

    Cheers,
    Jouvy

  12. Chris Avatar
    Chris

    Hi,

    Great API, building a pool-app with for me and my friends. Just wanted to let you know the number of Max Verstappen is 1 and not 33 anymore 🙂

  13. Admin Avatar
    Admin

    Hi Chris,
    The race results provide two driver numbers – the permanent driver number (the PermanentNumber field) and the one used during the current season (the number attribute). This was the only way to accommodate all the possible variations when the permanent driver numbers were introduced.
    Cheers,
    Chris

  14. Martin Avatar
    Martin

    Very good api, nice to play around with. I was wondering whether it would be possible to add session durations to the API for various items, like practice sessions or quali. Or perhaps even a race and sprintrace (when its still going on to show that) so we can also include how long its been till a session and active session messages or whatever. For most sessions it wouldn’t be difficult to add and for races its a bit more difficult since it needs to update and post-session update on how long it took, but you can play around with some cool stuff if you know if F1 is still live.

    Perhaps, in the future, update the database as the race is going to really add some live tracking features.

  15. Jocke Avatar

    Hi
    Great API! Amazing work.

    I’m wondering if the fastest laps for the weekends race will come in later or if it’s just missing for this race?

    Keep it up!
    / Jocke

  16. Michael Avatar
    Michael

    Thanks for the great work

  17. Bhavya Avatar
    Bhavya

    Hi,
    Thank you for the great work,
    Can we have a year specific driver information call, which includes the numbers of wins of driver of that driver in that specified season?

  18. Admin Avatar
    Admin

    Hi Bhavya,
    This is possible with the results endpoint – just add a “1” at the end e.g.
    https://ergast.com/api/f1/2008/drivers/alonso/results/1
    The number of wins is the value of the “total” attribute.
    Cheers,
    Chris

  19. Mario Avatar

    Hello!
    I’m encountering a problem. Whenever I refresh the page that is displaying data from the server I am getting 404 error. The first time is displaying the data, but the moment the refresh button is pressed is giving 404 error.

    I would really appriciate if someone could help me.
    The GitHub repo is down bellow.

    https://github.com/MarioAngelov2/F1

  20. Oscar Avatar
    Oscar

    Time on Baku for the Sprint Quali is one hour before the data in your db 🙂

  21. Wesley Avatar

    Hi!
    Due to the change in the sprint races format the labels are incorrect.
    Keep up the great work!
    Cheers,
    Wesley

  22. Pau Avatar
    Pau

    Hi,

    Since the Emilia Romagna GP 2023 was called of, would it be possible to have the same rounds criteria as the F1?

    R05 – United States
    R06 – Emilia Romagna
    R07 – Monaco

    Thanks in advance!

    Pau

  23. Dan Avatar
    Dan

    Hello.
    Firstly thanks for this amazing F1 resource, it’s incredible.
    Secondly, I wonder if it would be possible/desired by anyone to have a hexcode colour entry per team per season somewhere to query, something like from this:
    https://www.reddit.com/r/formula1/comments/11a3wnj/f1_2023_hex_codes/
    It’s been really handy for some plots I’ve done to have the team colours gathered alongside the data and I wondered if others might find it useful too.

  24. lingfish Avatar
    lingfish

    Hi, how about using GitHub discussions and issues for the respective comments/bugs method used here? I’m not suggesting to put your code up, but use those two things as it’s hard to wander through blog comments

  25. Admin Avatar
    Admin

    Hi lingfish,
    I’m not familiar with GithHub discussions but I’ll look into them.
    Cheers,
    Chris

  26. Santiago Casanova Avatar

    Hello,

    We have recently developed an R package that makes use of the API for some functions. The package is called f1dataR and our calls will have ‘f1dataR/X.X.X’ useragent (where X.X.X is the current package version).

    https://scasanova.github.io/f1dataR/

    Thanks for all your work.

  27. Jaco Avatar
    Jaco

    Good Day, I’m busy with a small project for myself. I want the API to be dynamic http://ergast.com/api/// . How can I capture the element values (//) via a custom form?

    Kind Regards
    Jaco

  28. Josh Avatar
    Josh

    Is there a reason that the pit stop times are the time through the pit lane as opposed to the stop itself? Would it be possible to also include this data? Thanks!

  29. Admin Avatar
    Admin

    Hi Jaco,
    I don’t have experience of client-side development.
    Cheers,
    Chris

  30. Admin Avatar
    Admin

    Hi Josh,
    This is what the FIA put in their records. I don’t have any other data sources.
    Cheers,
    Chris

  31. Bob Avatar

    Hi Chris,

    Sad to see the Ergast API is going to shutdown! 🙁

    I do want to thank you for all your hard work keeping everything up to date the last couple of years that I’ve used the API. For now I can still happily use it until the end of the 2024 season.

    Cheers,
    Bob (creator of the Pitbox iOS app)

  32. m Avatar
    m

    Hey!

    Amazing API, can’t tell how much it helped me with various silly projects I’ve been running.

    However, since it’s being deprecated at the end of 2024 campaign, would you mind telling how do you obtain this data in the first place?

    Keep up the amazing work man!

  33. Admin Avatar
    Admin

    Hi m,
    All the data is published by the FIA
    Cheers,
    Chris

Leave a Reply

Your email address will not be published. Required fields are marked *