Developer REST APIREST Endpoints
Giveaways & Proofs API
Programmatically create audience giveaways, manage entrant entry lifecycles, execute provably fair draws, and query cryptographic proof bundles.
1. List Active Giveaways
GET/api/v1/public/giveaways
Auth: Public
Returns ongoing giveaways that are currently open and accepting chat entries.
List Active Giveaways
curl -X GET "https://buzzeee.com/api/v1/public/giveaways?streamer=trainwreckstv&limit=10"2. Create a Giveaway
POST/api/v1/giveaways
Auth: Required
Initializes a new giveaway and publishes its initial SHA-256 server seed commitment.
| Field | Type | Required | Description |
|---|---|---|---|
| title | string | Yes | Giveaway prize title (e.g. "$500 Raw Crypto Giveaway"). |
| winnerCount | number | No (default 1) | Number of distinct winners to draw (1 to 50). |
| entryKeyword | string | No | Chat keyword trigger (e.g. "!enter"). |
| subMultiplier | number | No (default 1) | Ticket weight multiplier for channel subscribers. |
Create Giveaway Request
curl -X POST "https://buzzeee.com/api/v1/giveaways" \
-H "x-api-key: bz_live_8f9021a8c9e472" \
-H "Content-Type: application/json" \
-d '{
"title": "$1,000 Saturday Night Grand Raffle",
"winnerCount": 3,
"entryKeyword": "!win",
"subMultiplier": 3
}'3. Lock Entries (Manifest Freeze)
POST/api/v1/giveaways/:id/lock
Auth: Required
Freezes the candidate pool, stops chat intake, and generates the immutable SHA-256 manifest hash.
Lock Entries
curl -X POST "https://buzzeee.com/api/v1/giveaways/draw_8f9021a8/lock" \
-H "x-api-key: bz_live_8f9021a8c9e472"4. Execute Draw & Reveal Seed
POST/api/v1/giveaways/:id/draw
Auth: Required
Executes rejection sampling, selects winning ticket indices, and broadcasts winner alert to OBS overlays.
Execute Draw Request
curl -X POST "https://buzzeee.com/api/v1/giveaways/draw_8f9021a8/draw" \
-H "x-api-key: bz_live_8f9021a8c9e472" \
-H "Content-Type: application/json" \
-d '{
"clientSeed": "stream-seed-community-42"
}'5. Get Cryptographic Proof Bundle
GET/api/v1/public/giveaways/:id/proof
Auth: Public
Retrieves the full mathematical proof bundle, revealed server seed, manifest hash, and entrant tickets.
Fetch Proof Bundle
curl -X GET "https://buzzeee.com/api/v1/public/giveaways/draw_8f9021a8/proof"