I have been trying to reach Zwift HQ on the forum and by e-mail (email@example.com) on what seems to be a difficult topic: getting access to an API.
Let’s start off that I perfectly understand that for Zwift there are concerns regarding publishing data through API:
- Privacy regulations, e.g. GDPR law in Europe → ensuring private data stays private
- Server load, e.g. preventing bad scripts to flood Zwift servers and decreasing user experience
However I do believe that both concerns can be addressed:
- e.g. release a semi public API which only includes data which can be seen on every computer screen or stream online (e.g. names, time gap etc.) but not kg, height, age etc. etc.)
- Restrict API access to developers by handing out keys
However, once a semi-public API is released by Zwift, the opportunities would be endless. It would give a boost to the Zwift community and enable clubs, race organizers and developers to automate tasks or release new functionality.
Live Gap Visualizer
As an example, I built a Zwift Time Gap visualiser last weekend, however I was forced to use Zwiftpower data, which lags Zwift by ~1 minute and is often inaccurate (see stream). If a good API was to be released, this would have been a nice feature for everyone in the community and it wouldn’t have cost Zwift HQ one drop of sweat to see it develop.
I hope you’ll consider the request!
That’s so obviously a good idea, that they’re never gonna do it. Someone would have to apologize for not doing it earlier.
Also, THIS is the level of expertise Zwift is currently operating at.
That being said, I’d have some good ideas too and might consider buying an API key.
They did actually have APIs available early on, but shut them all down.
@Eric has spoken about encouraging innovation on the platform - a closed-shop obviously doesn’t support that goal.
I am aware of this; exactly because of their previous shutdown, I mentioned the first of the 2 main concerns.
But we are talking here about May 2018. Almost 4 years have passed. I am sorry, but I have a hard time believing, it is impossible to release the same data but with the GDPR/personal data stripped. Do you see the GDPR as a good reason for not having a officially distributed Zwift API for almost 4 years now?
Read more at:
It’s way too useful to not have, and since we have been waiting for Zwift to add to or change the in-game UI for five years I’m not holding my breath …
So we have these options:
- As is, no visualizer
- 3rd party visualizer based on Zwiftpower
- 3rd party visualizer based on API
- Zwift provided visualizer
Zwift controls options #3 and #4.
I’d be ware of doing option 2 as well given zwifts history of using their legal department to send nasty letters when others were scrapping data from zp.
Possible is fine but really unsure what their view on it would be.
But the idea is great and something zwift should consider. If the op can knock it up in a weekend i’m sure with 6 months Zwift can do something similar
Anything new on APIs also regarding zwiftpower at very least? Wanted to test something (non standard) for a new league but want to do calculation automatically. Hence need to load data in somehow and API should be the way to go.
If someone has done pre work also for non standard solutions for access let me know. Thanks!