Play your luck in roulette.
Free, open-source JSON REST API
https://www.roulette.rip
GET /api/play
Required parameters:
bet
: odd, even, low, high, red, black, green, or [0 through 36]wager
: any number
Request:
GET /api/play?bet=low&wager=200
Response:
{
"success": true,
"roll": {
"number": 21,
"color": "red",
"parity": "odd"
},
"bet": {
"bet": "red",
"wager": "200.00",
"win": true,
"payout_rate": 1,
"payout": "400.00"
}
}
Roulette is a common casino game where players can place bets on either a single number, various groupings of numbers, the colors red or black, whether the number is odd or even, or if the numbers are high (19–36) or low (1–18).
This API supports the following bets:
- Odd/Even: 1 to 1
- Low/High: 1 to 1
- Red/Black: 1 to 1
- Green: 35 to 1
- Number: 36 to 1
Version 1.0.0
Written by Marcel Perez
Uses Flask for Python
Roulette photo by Pixabay