Skip to main content
GET
Random Weighted Choice

Authorizations

X-API-Key
string
header
required

Query Parameters

items
string
required

Comma-separated items (e.g., 'red,green,blue')

weights
string
required

Comma-separated weights (e.g., '50,30,20')

count
integer
default:1

Number of choices to make

Required range: 1 <= x <= 100

Response

Successful Response