API support for Predictions
Please provide an
- api
- Eventsub
- Webhooks
CRUD and result monitoring for the new predictions feature of channel points

-
We're pleased to announce this has been launched today as a public beta: https://discuss.dev.twitch.tv/t/announcing-apis-and-eventsub-for-polls-and-predictions/31539
-
Urantij commented
I use events from pubsub to keep track of people's betting history and compile their statistics. Unfortunately, I can only see 10 people on each side.
It would be great to be able to get a list of all the bettors so that you can keep track of their statistics. -
ftk789 commented
I would like to see a Predictions API for third-party chat clients, I would be a good idea, of course safety will be provided in the API , so no hacks, no cheating, no glitches, nothing like that, it would be based on commands/ context menu, Ex: If a new prediction is on it could be displayed as commands, normal "UserInfo" (Chatty client) , and it will say what's the bet and the 2 votes with the time limit,then it devs can make commands such as /predictions vote 1 "how many points, or /predictions vote 2 "how many points" , Or! it could be displayed as a fancy way with menus depending on the clients, also Mods would be able to start a prediction through their preferred clients, with the same options on twitch, It would be an amazing idea, also same concept could be made for the redeeming channel points, In my opinion it would be a nice feature to have, even tho i do like the way that Twitch chat is made.
-
Slegnor commented
Would love to see the Predictions get an API, at the very least so we can hook YesNo buttons it to a stream deck and not have to open a browser to set results
-
Asphaltschneider commented
I really would like to see the Twitch API extended with predictions, so I can let a sscript automagically setup predictions according to events in a game which has a rich API, too.
-
Kilo_122 commented
I would like to track individual user's bets to show biggest winners over time.
-
miluu_97 commented
Deaaaah
-
Adminecressey (Admin, Twitch) commented
Thank you for the feature request. We will consider this request.
-
Delegate_ commented
My channel runs automation software streaming replays of a MOBA (Blizzard Heroes of the Storm). I would like to automate the predictions so that users can predict and my software can end the game at the end and automatically close the prediction and set which team won. This does not need to be manual and can be fully automated. I would be very interested in this becoming an API.
-
The_White_Light commented
Additionally, I'd like to see some way of adjusting the initial reward odds. Events don't necessarily have the same chances of occurring, that should be reflected here too.
-
wil_co commented
I'd love to be able to get "currentPrediction" data so i can let that show up in chat through a bot, and get previous prediction data as overview.
-
wil_co commented
I'd love to be able to get "currentPrediction" data so i can let that show up in chat through a bot, and get previous prediction data as overview.
-
nullport commented
It would be fantastic if you guys added API for Predictions the same way you added API for channel points! It would be incredibly helpful for developers like myself. Thanks!