Get Giveaway Next Draw - Revadike/InternalSteamWebAPI GitHub Wiki
GET /prizes/nextdraw/:giveaway_id
Returns the next draw information of a giveaway.
Rate limits
No known rate limit
Request
Authenticated: No
Method:
GETHost:
store.steampowered.comPath:
/prizes/nextdraw/:giveaway_idVariables:
Name Type Description :giveaway_idnumber The giveaway ID Query Parameters:
Name Type Required Description originstring No The origin URL
Response
200 OK
Name Type Description successnumber Whether the request was successful giveaway_idstring The giveaway ID ( 0when it is not a valid number)seconds_until_drawingnumber The number of seconds until the drawing ( -1when there is none)rtime_startnumber Unix timestamp when the giveaway starts ( nullwhen not set)rtime_endnumber Unix timestamp when the giveaway ends ( nullwhen not set)closedboolean Whether the giveaway is closed winner_countnumber The number of winners 404 Not Found
Name Type Description successnumber 9
Example
GET https://store.steampowered.com/prizes/nextdraw/123456?origin=https://store.steampowered.com
{
"success": 1,
"giveaway_id": "123456",
"seconds_until_drawing": -1,
"rtime_start": null,
"rtime_end": null,
"closed": true,
"winner_count": 0
}