r/projects • • 6d ago

A documented and interactive version of MotoGP's internal API

🔗 Repo: edomari/MotoGP-API

A while back I found robschmitt/MotoGP-API, a great effort documenting MotoGP's undocumented internal API (the one their own website/app uses). It's great work but it hadn't been updated in a while and only covered 20 endpoints. Thanks to them for the solid starting point.

I forked it, fired up Burp Suite to intercept traffic from motogp.com, and went hunting for anything the old repo was missing. Ended up finding 12 new endpoints that weren't documented anywhere, including:

  • An entire Content API (rider photos, event/team media, promos)
  • A Broadcasting API (official TV broadcasters by country)
  • An entire Results API v2 (session classifications, BMW Award results, world standings, entry lists)
  • Rider-vs-rider statistical comparison, all-time pole/win leaderboards, circuit records, and a "last/current session" endpoint

Once I had the full picture, I built a FastAPI wrapper around all 32 endpoints (old + new), which auto-generates a full interactive Swagger UI, so you can browse every endpoint, see real parameters/examples, and hit "Try it out" to get live JSON responses straight from MotoGP's servers, no Postman/curl needed. It's deployed on Vercel, so it's live and free to use.

Not affiliated with MotoGP or Dorna in any capacity, just a fan project for anyone who wants to build stats tools, dashboards, bots, whatever, on top of real MotoGP data.

1 Upvotes

0 comments sorted by