PeerPet Api 1.0

PeerDice Api 1.0

Bit777 Api v1.0

Please follow the minimum advised interval between requests, or you might experience some latency!

Peerbet Api v1.0: Wheel Documentation

Spin wheel

URL
https://www.peerbet.org/api/wheel/?action=spin
Minimum interval between requests
2 seconds
Request parameters
  • key API key used to authenticate user.
  • game Specify your wheel type. Choices are: 551=x3, 552=x2, 553=x5, 554=x10, 555=x15. Example: &game=555 will spin x15 Wheel.
  • cur Placed bet currency code. Choices are: 10=BTC, 11=LTC, READ MORE. Default is 10/BTC.
  • bet Placed bet for current spin. Minimum 0.00000100 BTC (0.0001 LTC/PTC/NTC/...).
  • seed Client side seed. Format Integer/Int32. Range 1 - 999,999,999.
Optional parameters
  • stat (Optional) Option to show statistics. Choices are: on, off. Format String. Default is 'off'.
Response
  • status 1 if successful, 0 otherwise.
  • game_cur Spinned wheel currency code (10=BTC, 11=LTC, READ MORE).
  • game_bet Spinned wheel placed bet.
  • game_pay Spinned wheel multiplier result.
  • game_won Spinned wheel total payout.
  • wheel_type Spinned wheel type id (551=x3, 552=x3, 553=x5, 554=x10, 555=x15).
  • wheel_spin Spinned wheel degree for visual purposes.
  • user_balance Updated user balance value.
  • server_seed Next spin server SHA256 seed.
  • client_seed Next spin client seed.
  • If stat option is on then:

  •    stat_myspins Customer total spins count.
  •    stat_totspins Wheel total spins count.
  •    stat_totwag10 Wheel total wagered bitcoins.
  •    stat_totwag11 Wheel total wagered litecoins.
  •    stat_totwagNN Wheel total wagered currency code.

{"status":1,
"game_cur":10,"game_bet":"0.70000000","game_pay":"2.0","game_won":"1.40000000",
"wheel_type":551,"wheel_spin":"258.75",
"user_balance":"7.00000000",
"server_seed":"c288c0677466650578089c92f5135afb6cacb4488b0f41701ba24b9ef265c4ca",
"client_seed":"777777777",
"stat_myspins":777,"stat_totspins":777,
"stat_totwag10":"7.777","stat_totwag11":"7.777", ......}

Server side randomize

URL
https://www.peerbet.org/api/wheel/?action=randomize
Minimum interval between requests
1 seconds
Request parameters
  • key API key used to authenticate user.
  • game Specify your wheel type. Choices are: 551=x3, 552=x2, 553=x5, 554=x10, 555=x15. Default is 551=x3 Wheel.
Optional parameters
  • seed (Optional) Client seed. Format Integer/Int32. Range 1 - 999,999,999.
Response
  • status 1 if successful, 0 otherwise.
  • server_seed Next spin server SHA256 seed.
  • client_seed Next spin client seed.

{"status":1,
"server_seed":"c288c0677466650578089c92f5135afb6cacb4488b0f41701ba24b9ef265c4ca",
"client_seed":"777777777"}

Get Server and Client seeds

URL
https://www.peerbet.org/api/wheel/?action=getseed
Minimum interval between requests
1 seconds
Request parameters
  • key API key used to authenticate user.
  • game Specify your wheel type. Choices are: 551=x3, 552=x2, 553=x5, 554=x10, 555=x15. Default is 551=x3 Wheel.
Response
  • status 1 if successful, 0 otherwise.
  • server_seed Next spin server SHA256 seed.
  • client_seed Next spin client seed.

{"status":1,
"server_seed":"c288c0677466650578089c92f5135afb6cacb4488b0f41701ba24b9ef265c4ca",
"client_seed":"777777777"}

Game Fair check

URL
https://www.peerbet.org/api/wheel/?action=faircheck
Minimum interval between requests
2 seconds
Request parameters
Response
  • status 1 if successful, 0 otherwise.
  • wheel_type Spinned wheel type.
  • server_seed Server seed number.
  • server_array The initial array of the circle.
  • server_hash The initial array and server seed encrypted in SHA256 hash.
  • client_seed Client seed number.
  • client_array Final array order.

{"status":1,"wheel_type":551,
"server_seed":"406238599","server_array":"6,0,3,15,10,12,1,13,14,8,4,5,7,11,9,2",
"server_hash":"a7d39a58eb48b3bbeb550c0bd6ee33f5e9327c334af434236d7d21217e77a8f3",
"client_seed":"821293206","client_array":"7,9,0,2,3,11,14,8,5,1,12,4,6,13,10,15"}

Activity & Leaderboards List

URL
https://www.peerbet.org/api/wheel/?action=myspins
https://www.peerbet.org/api/wheel/?action=recentspins
https://www.peerbet.org/api/wheel/?action=leaderboard
Minimum interval between requests
2 seconds
Request parameters for myspins action
  • key API key used to authenticate user.
Response
  • status 1 if successful, 0 otherwise.
  • stat_myspins Customer total spins count (if kay parameter is provided).
  • stat_totspins Wheel total spins count.
  • stat_totwag10 Wheel total wagered bitcoins.
  • stat_totwag11 Wheel total wagered litecoins.
  • stat_totwagNN Wheel total wagered currency code.
  • games_list An array, containing games data:
  •    id ID of the game.
  •    user Username of the user who played this game.
  •    cur Spinned wheel currency code (10=BTC, 11=LTC, READ MORE).
  •    bet Spinned wheel placed bet.
  •    pay Spinned wheel multiplier result.
  •    won Spinned wheel total payout.
  •    date Date and Time of the spin. Format yyyy-MM-dd HH:mm:ss.

{"status":1,
"stat_myspins":777,"stat_totspins":77777,
"stat_totwag10":"7.777","stat_totwag11":"7.777", ......,
"games_list":
[{"id":778,"user":"Peerbet","cur":10,"bet":"0.10000000","pay":"2.00","won":"0.20000000","date":"2013-10-12 09:00:38"},
{"id":777,"user":"Peerbet","cur":11,"bet":"0.10000000","pay":"1.50","won":"0.15000000","date":"2013-10-12 09:00:32"}]
}

My History

URL
https://www.peerbet.org/api/wheel/?action=history
Minimum interval between requests
2 seconds
Request parameters
  • key API key used to authenticate user.
Optional parameters
  • count Number of spins per request. Range is from 10 to 70. Default is 30.
  • before Unique Number of the spin.
Response
  • status 1 if successful, 0 otherwise.
  • games_list An array, containing games data:
  •    id Unique Number of the game.
  •    wheel_type Spinned wheel type.
  •    game_cur Spinned wheel currency code (10=BTC, 11=LTC, READ MORE).
  •    game_bet Spinned wheel placed bet.
  •    game_pay Spinned wheel multiplier result.
  •    game_won Spinned wheel total payout.
  •    server_seed Server seed number.
  •    server_array The initial array of the circle.
  •    server_hash The initial array and server seed encrypted in SHA256 hash.
  •    client_seed Client seed number.
  •    client_array Final array order.
  •    date Date and Time of the spin. Format yyyy-MM-dd HH:mm:ss.

{"status":1,"games_list":
[{"id":1,"wheel_type":551,"game_cur":10,"game_bet":"0.70000000","game_pay":"2.0","game_won":"1.40000000",
"server_seed":"406238599","server_array":"6,0,3,15,10,12,1,13,14,8,4,5,7,11,9,2",
"server_hash":"a7d39a58eb48b3bbeb550c0bd6ee33f5e9327c334af434236d7d21217e77a8f3",
"client_seed":"821293206","client_array":"7,9,0,2,3,11,14,8,5,1,12,4,6,13,10,15"}]
}