Fun

Pick Randomly

Pick one or more random items from a list.

GET/api/pick?items=

Query parameters

NameTypeRequiredDescription
itemsstringRequiredComma-separated list (or repeat the parameter). Up to 1000 items.
countintegerOptionalHow many to pick. Default 1.
uniquebooleanOptionalPick without repeats. Default true; set false to allow repeats.

Try it

Saved only in this browser. Requests use your key and count toward your quota. Get a key

GET /api/pick

Example request

curl "https://your-app.com/api/pick?items=red%2Cgreen%2Cblue&count=2" \
  -H "x-api-key: YOUR_API_KEY"

Response

{
  "picked": ["blue", "green"],
  "count": 2,
  "from": 3
}