Embed API
Last updated October 20, 2026
Put a working wheel on your own website, or drive one from your page with a few lines of JavaScript.
Get the code
Link options
embed=1shows the wheel without the site’s header, footer and the sections under it.panel=0shows only the wheel, without its title or side panel.bg=clearmakes the background see-through.- Each wheel has its own page, like
/quiz-wheel/for the Quiz Wheel. Theopenmessage below takes these names:namesName Picker,teamTeam Picker,choiceRandom Choice,prizePrize Wheel,giveawayGiveaway Picker,colorColor Spinner,coinCoin Flipper,truthTruth or Dare,wyrWould You Rather,charadesCharades,partyCouple & Party,mathMath Game,triviaQuiz Wheel,riddlesRiddle Wheel,wordsWord Puzzle.
Control it from your page
Send messages to the frame with postMessage, and listen for each result.
const wheel = document.querySelector('iframe').contentWindow;
// spin it
wheel.postMessage({ wheelsofchoice: 'spin' }, '*');
// put your own entries on it
wheel.postMessage({ wheelsofchoice: 'entries', entries: ['Ava', 'Ben', 'Cleo'] }, '*');
// switch to another wheel
wheel.postMessage({ wheelsofchoice: 'open', wheel: 'trivia' }, '*');
// hear each result
window.addEventListener('message', e => {
if (e.data && e.data.wheelsofchoice === 'result') console.log(e.data.label);
});
The frame sends { wheelsofchoice: 'ready', wheel } once it has loaded. Each result carries wheel, label (the slice it landed on), card (the question, dare or word, when there is one) and at (the time in milliseconds).