Endpoints
All endpoints are read-only, CORS-open (Access-Control-Allow-Origin: *), and return a Link header pointing to the CC-BY 4.0 license.
| Endpoint | Description |
|---|---|
/sweepstakes-tracker/api/legality.json | Full 51-jurisdiction legality dataset (JSON). |
/sweepstakes-tracker/api/legality.csv | Same dataset as CSV for spreadsheets. |
/sweepstakes-tracker/api/provenance.json | Per-state sources, freshness, and latest event. |
/sweepstakes-tracker/api/states/{CODE}.json | Single-state status, e.g. /states/NY.json. |
Embed widget
Drop this on any page to render a live status card for one state. Set data-state to a 2-letter code:
<script src="https://sweepstakeswiz.com/sweepstakes-tracker/embed/legality.js" data-state="NY" async></script>
The widget is free for editorial and non-commercial use and must retain the "Source: Sweepstakes Wiz" attribution link. See themethodology for how the data is compiled.
License
Data is published underCC-BY 4.0. Cite as: Sweepstakes Wiz, "U.S. Sweepstakes Casino Legality Dataset," sweepstakeswiz.com/sweepstakes-tracker/.