Random Picker
Shuffle a list or draw winners at random, one item per line.
POST /api/v1/random-picker- API version
- v1
- Output schema
- 1
The endpoint path is always /v1. The schema number below tracks this tool's output shape and changes independently.
Create a free account →Parameters
| Parameter | Type | Required | Default |
|---|---|---|---|
| items | text | yes | — |
| pick | number | no | 1 |
| mode | draw | shuffle | no | draw |
Request
curl -X POST https://sinikoding.dev/api/v1/random-picker \ -H 'content-type: application/json' \ -H 'x-api-key: tk_live_…' \ -d '{"items":"…","pick":1,"mode":"draw"}'
Returns
"output": { "kind": "list", "items": ["…"] }
Calls a same-origin sandbox endpoint, not /api/v1. No key needed, capped at 15 requests a minute.
Request
curl -X POST https://sinikoding.dev/api/v1/random-picker \ -H 'content-type: application/json' \ -H 'x-api-key: tk_live_…' \ -d '{"items":"","pick":"1","mode":"draw"}'
Response
Send a request to see the response.