API reference
Integrate the version 1.0.0 catalog and round endpoints.
GET /developer-app/api.php
Read version, currency, and the games object. Game keys are dice, roulette, and cards. The nested picks entries provide a display label, win probability, push probability, and gross return multiplier.
POST /developer-app/api.php
Send up to 4,096 bytes with Content-Type: application/json. Supply a catalog game and pick, and an integer stake from 1 to 10,000. For an exact roulette pick, add an integer number from 0 to 36.
{"game":"roulette","pick":"exact","number":0,"stake":10}
The response includes game, pick, outcome, stake, gross returned, net, and a result object. Result fields are dice and sum for dice, number and color for roulette, or ranks for cards. A push returns the original stake.
Handle errors
- 400
- Check the JSON, types, game, pick, stake, and pocket.
- 405
- Switch to GET, HEAD, or POST.
- 413
- Reduce the request to at most 4,096 bytes.
- 415
- Send application/json.
- 503
- Surface the error and give the caller control over retrying.
A network timeout does not reveal the outcome of that request. Treat a retry as a new random round. The endpoint uses independent draws and has no server-side wallet.
Try a live request