WINDICE

API documentation

About

The present API acts as a mean of communication between the server, client application, and bots.
To work with API you need to get appropriate keys in the settings section.

Authentication and authorization

Every query sent to API have to necessarily consist in its header, the authorization parameter that consists of API key.
Authorization: 0000000-000000-0000

Status codes

Server is sending parameters as a reponse to the query. Each response consists of the parameter: "status", and this parameter may take only "success" or "error" value.
If "status" has an "error" message, then the response has in itself the additional "message" parameter, where the message is explained.

User data / balance

GET /api/v1/api/user
Request: none
Response:
{
  "status": "success",
  "message": "",
  "data": {
    "hash": "000000000",
    "username": "tester",
    "avatar": "filename.jpeg",
    "rating": 5,
    "reg_time": 1531266336,
    "hide_profit": false,
    "hide_bet": false,
    "balance": {
      "btc": 0.00001,
      "eth": 0.00001,
      "ltc": 0.00001,
      "doge": 0.00001
    }
  }
}

Roll

POST /api/v1/api/roll
Request:
{
  "curr": "btc",
  "bet": 0.00001,
  "game": "in",
  "low": 100,
  "high": 5000
}
Parameters:
  • curr - currency btc, eth, ltc ...
  • bet - bet amount
  • game - in/out
  • low - low point position
  • high - high point position
Response:
{
  "status": "success",
  "message": "",
  "data": {
    "hash": "000000000",
    "userHash": "000000000",
    "username": "tester",
    "nonce": 1,
    "curr": "btc",
    "bet": 0.00001,
    "win": 0.00001,
    "jackpot": 0.0,
    "pointLow": 100,
    "pointHigh: 5000,
    "game": "in",
    "chance": 49.0,
    "payout": 2.0204,
    "result": 7777,
    "time": 1535943525,
    "isHigh": false
  }
}

Get statistics

GET /api/v1/api/stats
Request: none
Response:
{
  "status":"success",
  "data": {
    "statistics": [
      {"curr":"btc", "bet":107.18455343, "profit":-0.28178896},
      {"curr":"eth", "bet":138.98766333, "profit":-6.52144620},
      {"curr":"ltc", "bet":7.80480568, "profit":6.05211999},
      {"curr":"doge", "bet":108056.27261655, "profit":8034.35732117}
    ],
    "stats": {
      "wins":105502,
      "loses":1681,
      "bets":107183,
      "chat":319,
      "online":3107311
    }
  }
}

Get seed

GET /api/v1/api/seed
Request: none
Response:
{
  "status":"success",
  "message":"",
  "data": {
    "client":"vXvPltyrxCUvtms0YmOJsQOWy47OBf1",
    "hash":"6def5dc211107028779ec0128bc2e15eae8dd5a647c19b0e6551ab622508c893",
    "newHash":"9b023416c20a8af893ddd32037463a8d30b96cd2f8452d5aff4e4944cc10223c",
    "nonce":2384
  }
}

Change seed

POST /api/v1/api/seed
Request:
{
  "value": "new client seed",
}
Response:
{
  "status": "success",
  "message": "",
  "data": {
    "client": "new client seed",
    "hash": "new server seed key hash",
    "nonce": 0
  }
}
35
BrandB14:51
Profissional hi bro well come 😊 nice to see you among us
15
Jacky31714:51
roll safe guys
27
Vahidghazi14:51
Good louck all fernds
30
Dicehunter14:51
Shortcut way to earn money is gambling. Gambling is also nice weopen to destroy our life if we can't use our trick while gambling 😔
20
Niicuxq16314:52
Gary27 hi 👋
21
rebus8614:52
Hello bc players good luck and have fun
23
Assala0714:52
what problem my luck 😔
13
NIYONDAGIJEKGG14:53
we eed iit
32
Anuta3814:53
rebus86 hey friend
50
Profissional14:53
Jack80 We all start like this, just start your own projects to gain experience, like trying to create your own casino, or a system, or a game,
50
Profissional14:53
this way you accumulate experience and learn about new tools and processes
WINDICE 14:53
Regen gemacht von WINDICE
  • 0.03887149 - Dicehunter
  • 0.00102989 - hobbit30
  • 0.06083092 - kryakrya
  • 0.00000062 - andrushok
  • 0.02142871 - Gary27
  • 0.02142871 - SKLAN7
  • 0.00000070 - SweetWater
  • 0.14511463 - LaLau
  • 0.05739692 - Yzccjap141
  • 0.02163676 - rebus86
27
Vahidghazi14:53
Happy rolling dears
33
Jack8014:54
Profissional yeah if I have a teacher like you then I learned faster
20
Gary2714:54
Niicuxq163 have a pleasant evening best of luck