Skip to content
PithLab

↑↓ to move · Enter to open · Esc to close

Spin the Wheel API

Spin a wheel of 2 to 200 entries: picks one entry uniformly at random with a cryptographic random source (the API returns the result, without the animation).

POST /api/v1/tools/wheel-spinnerMCP wheel_spinnerGeneratorsRandom output

Type up to 200 entries and spin a colourful wheel to pick one at random. The winner is chosen securely before the spin, and you can remove it for the next go.

Input

Send these as a JSON object. Unknown fields are rejected.

entries
One entry per line, up to 200 entries of at most 100 characters. (string, up to 30000 characters, required)
curl https://pithlab.com/api/v1/tools/wheel-spinner \n  -H "Authorization: Bearer $PITHLAB_KEY" \n  -H "Content-Type: application/json" \n  -d '{"entries":"Pizza\nSushi\nTacos\nCurry"}'