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://api.instantwinapi.com/entry

{ "apiKey": "00000000-0000-0000-0000-000000000001", "transactionId": "ee3a9f12-dc3e-4d88-ac70-7ad3938821b0" }
OPTIONAL PARAMETERS

"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://api.instantwinapi.com/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

Response



Loading …

Used by: