Simplify your
development

InstantWinAPI couldn't be easier. If you need a rock solid API for drawing sweepstake winners instantly, we've got it.

Contact us now!

{{requestAccessMessage}}

Why use InstantWinAPI?

InstantWinAPI uses a random time-based mechanism ensuring your prizes will be distributed smoothly across the promotional period, regardless of how many prizes are available or how many entries you receive. If you want lightning fast winner selection for your application, request access now.

A single API endpoint

A single API endpoint is all you'll need to integrate with. You will receive a test and live API key.

We have a safe, transactional system in place to ensure prizes are never awarded incorrectly. Our dedicated infrastructure can handle as many requests as you need, 24 hours a day, 7 days a week.

Built by developers, for developers.

Simple documentation

Don't sift through complicated documentation. Just a single page of docs is all you'll need to be up and running in no time.

Code examples and sample requests and responses are provided, as well as every option you can send to the API and what you can expect in response.

Make sure you try out the live sandbox provided below for an idea of just how fast and easy this API is.

View documentation

Compliant and independent

Trust our system and methodology to give you a random result
for each and every draw, as required by Federal and State laws.

Find out more

API sandbox

Test real requests to our API below, or try it using your own system.

Request POST https://sandbox.instantwinapi.com/api/entry

{ "apiKey": "00000000-0000-0000-0000-000000000001", "transactionId": "db8320b8-c8b6-4473-87b3-64edfc289a6e" }
OPTIONAL PARAMETERS

"entrantId": "string"
e.g. "email@example.com"
Used to limit entry frequency. e.g. 2 entries per day.

"prizeTypeId": "{guid}"
e.g. "20000000-0000-0000-0000-000000000002"
Restricts the entry to the prize pool for a particular prize type.

"forceResponse": 0 or 1
0=no-win; 1=win; null=random-result

"logData": "?"
Anything in any format, e.g. text, JSON, XML, etc.

Response



Loading …


Request POST https://sandbox.instantwinapi.com/api/status

{ "apiKey": "00000000-0000-0000-0000-000000000001" }
OPTIONAL PARAMETERS

"prizeTypeId": "{guid}"
e.g. "20000000-0000-0000-0000-000000000002"
Restricts the results to a particular prize type.

"winnersCount": int (default=100)
Restricts output to the last 'n' winners

"entriesCount": int (default=500)
Restricts output to the last 'n' entries

"showLogData": boolean (default=false)
Returns the logData provided with each entry

Response



Loading …

Used by: