Loading...
Loading...
Access community-voted Bayesian casino rankings via a free JSON API or embed a live widget on your site.
CasinoRankr's public API exposes our community-powered Bayesian rankings for sweepstakes casinos, crypto casinos, mystery boxes, and sportsbooks. Rankings are calculated from real player votes using a Bayesian rating system that accounts for vote volume and prevents manipulation.
Two endpoints are available: a JSON API for developers integrating rankings into their own applications, and an HTML widget you can embed via iframe on any website.
GET https://casinorankr.com/api/public/rankings| Param | Type | Description |
|---|---|---|
| category* | string | sweepstakes | crypto | mystery-boxes | sportsbooks |
| limit | integer | Number of results (1β25, default 10) |
| state | string | US state code (e.g. CA, NY) β filters out casinos banned in that state |
curl "https://casinorankr.com/api/public/rankings?category=sweepstakes&limit=2"{
"success": true,
"data": {
"rankings": [
{
"rank": 1,
"name": "Stake.us",
"slug": "stake-us",
"bayesianScore": 4.72,
"totalVotes": 312,
"category": "sweepstakes",
"thumbnail": "https://..."
},
{
"rank": 2,
"name": "WOW Vegas",
"slug": "wow-vegas",
"bayesianScore": 4.65,
"totalVotes": 287,
"category": "sweepstakes",
"thumbnail": "https://..."
}
],
"meta": {
"totalVoters": 599,
"lastUpdated": "2026-03-18T12:00:00.000Z",
"poweredBy": "CasinoRankr.com",
"attribution_url": "https://casinorankr.com"
}
},
"requestId": "abc-123"
}Drop a live-updating rankings widget onto any page. Supports dark and light themes, category filtering, and US state restriction filtering.
<iframe
src="https://casinorankr.com/api/public/widget?category=sweepstakes&limit=5&theme=dark"
width="320"
height="440"
style="border:none;border-radius:12px"
title="Top Sweepstakes Casinos β CasinoRankr"
loading="lazy"
></iframe>| Param | Type | Description |
|---|---|---|
| category* | string | sweepstakes | crypto | mystery-boxes | sportsbooks |
| limit | integer | Number of casinos (1β10, default 5) |
| theme | string | dark (default) | light |
| state | string | US state code β filters restricted casinos |
Prefer JS? This snippet creates the iframe dynamically and sizes it to fit content.
<div id="casinorankr-widget"></div>
<script>
(function() {
var d = document, el = d.getElementById("casinorankr-widget");
if (!el) return;
var f = d.createElement("iframe");
f.src = "https://casinorankr.com/api/public/widget?category=sweepstakes&limit=5&theme=dark";
f.width = "320";
f.height = "440";
f.style.border = "none";
f.style.borderRadius = "12px";
f.title = "Top Sweepstakes Casinos β CasinoRankr";
f.loading = "lazy";
el.appendChild(f);
})();
</script>By using the CasinoRankr API or widget, you agree to keep visible attribution linking back to CasinoRankr. The widget includes a βPlayer Rankings by CasinoRankr.comβ footer automatically. If using the JSON API, include a visible dofollow link:
Rankings powered by <a href="https://casinorankr.com">CasinoRankr.com</a>Removing or hiding attribution links is a violation of the terms of use and may result in access being revoked.