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: Account Documentation

Create an account

URL
https://www.peerbet.org/api/account/?action=signup
Minimum interval between requests
5 seconds
Request parameters
  • email Email, encoded according to RFC 3986. Up to 170 character long.
  • user Username, encoded according to RFC 3986. Up to 30 character long.
  • pass Password, encoded according to RFC 3986. Up to 30 character long.
Optional parameters
  • username You can also use 'username' instead of 'user'. The format is the same. Primary is 'user'.
  • password You can also use 'password' instead of 'pass'. The format is the same. Primary is 'pass'.
Response
  • status 1 if successfully signed up, 0 otherwise.
  • username Username of the signed user.
  • key API key which can be used to authenticate user without handling cookies. Valid depending on profile configuration.

{"status":1,"username":"Peerbet","key":"XXXXXXX"}

Sign in

URL
https://www.peerbet.org/api/account/?action=signin
Minimum interval between requests
5 seconds
Request parameters
  • user Username, encoded according to RFC 3986.
  • pass Password, encoded according to RFC 3986.
  • or

  • email Email, encoded according to RFC 3986.
  • pass Password, encoded according to RFC 3986.
Optional parameters
  • username You can also use 'username' instead of 'user'. The format is the same. Primary is 'user'.
  • password You can also use 'password' instead of 'pass'. The format is the same. Primary is 'pass'.
Response
  • status 1 if successfully signed in, 0 otherwise.
  • key API key which can be used to authenticate user without handling cookies. Valid depending on profile configuration.
  • username Username of the signed user.
  • casino_cur10 Casino bitcoin balance of the signed user.
  • casino_cur11 Casino litecoin balance of the signed user.
  • casino_cur12 Casino peercoin balance of the signed user.
  • casino_cur13 Casino namecoin balance of the signed user.
  • raffle_cur10 Raffle bitcoin balance of the signed user.
  • raffle_cur11 Raffle litecoin balance of the signed user.
  • raffle_cur12 Raffle peercoin balance of the signed user.
  • raffle_cur13 Raffle namecoin balance of the signed user.
  • A list of supported currencies can be found here.


  • balance_casino (Obsolete) Casino balance of the signed user.
  • balance_raffle (Obsolete) Raffle balance of the signed user.

{"status":1,"key":"XXXXXXX","username":"Peerbet",
"casino_cur10":"0.00","casino_cur11":"0.00","casino_cur12":"0.00","casino_cur13":"0.00","casino_cur14":"0.00",...,
"raffle_cur10":"0.00","raffle_cur11":"0.00","raffle_cur12":"0.00","raffle_cur13":"0.00","raffle_cur14":"0.00",...,
}

Sign out

URL
https://www.peerbet.org/api/account/?action=signout
Minimum interval between requests
5 seconds
Request parameters
  • key API key used to authenticate user.
Response
  • status 1 if successfully signed out, 0 otherwise.

{"status":1}

Get profile

URL
https://www.peerbet.org/api/account/?action=getprofile
Minimum interval between requests
5 seconds
Request parameters
  • key API key used to authenticate user.
Response
  • status 1 if successful, 0 otherwise.
  • username Username of the signed user.
  • email E-mail of the signed user.
  • casino_cur10 Casino bitcoin balance of the signed user.
  • casino_cur11 Casino litecoin balance of the signed user.
  • casino_cur12 Casino peercoin balance of the signed user.
  • casino_cur13 Casino namecoin balance of the signed user.
  • raffle_cur10 Raffle bitcoin balance of the signed user.
  • raffle_cur11 Raffle litecoin balance of the signed user.
  • raffle_cur12 Raffle peercoin balance of the signed user.
  • raffle_cur13 Raffle namecoin balance of the signed user.
  • A list of supported currencies can be found here.

  • date Date and Time of signing. Fromat yyyy-MM-dd HH:mm.
  • ip IP Address of signed user.

  • balance_casino (Obsolete) Casino balance of the signed user.
  • balance_raffle (Obsolete) Raffle balance of the signed user.

{"status":1,"username":"Peerbet","email":"[email protected]",
"casino_cur10":"0.00","casino_cur11":"0.00","casino_cur12":"0.00","casino_cur13":"0.00","casino_cur14":"0.00",...,
"raffle_cur10":"0.00","raffle_cur11":"0.00","raffle_cur12":"0.00","raffle_cur13":"0.00","raffle_cur14":"0.00",...,
"date":"2012-12-21 21:12"}

Get balance

URL
https://www.peerbet.org/api/account/?action=getbalance
Minimum interval between requests
No limit
Request parameters
  • key API key used to authenticate user.
Response
  • status 1 if successful, 0 otherwise.
  • username Username of the signed user.
  • casino_cur10 Casino bitcoin balance of the signed user.
  • casino_cur11 Casino litecoin balance of the signed user.
  • casino_cur12 Casino peercoin balance of the signed user.
  • casino_cur13 Casino namecoin balance of the signed user.
  • raffle_cur10 Raffle bitcoin balance of the signed user.
  • raffle_cur11 Raffle litecoin balance of the signed user.
  • raffle_cur12 Raffle peercoin balance of the signed user.
  • raffle_cur13 Raffle namecoin balance of the signed user.
  • A list of supported currencies can be found here.


  • balance_casino (Obsolete) Casino balance of the signed user.
  • balance_raffle (Obsolete) Raffle balance of the signed user.

{"status":1,"username":"Peerbet",
"casino_cur10":"0.00","casino_cur11":"0.00","casino_cur12":"0.00","casino_cur13":"0.00","casino_cur14":"0.00",...,
"raffle_cur10":"0.00","raffle_cur11":"0.00","raffle_cur12":"0.00","raffle_cur13":"0.00","raffle_cur14":"0.00",...,
}

Get deposit address

URL
https://www.peerbet.org/api/account/?action=getdepositaddress
Minimum interval between requests
5 seconds
Request parameters
  • key API key used to authenticate user.
Response
  • status 1 if successful, 0 otherwise.
  • deposit_bitcoin To make a deposit via BitCoin send coins to the following address.
  • deposit_litecoin To make a deposit via LiteCoin send coins to the following address.
  • deposit_peercoin To make a deposit via PeerCoin send coins to the following address.
  • deposit_namecoin To make a deposit via NameCoin send coins to the following address.
  • deposit_primecoin To make a deposit via PrimeCoin send coins to the following address.
  • deposit_feathercoin To make a deposit via FeatherCoin send coins to the following address.
  • deposit_anoncoin To make a deposit via AnonCoin send coins to the following address.
  • deposit_dogecoin To make a deposit via DogeCoin send coins to the following address.
  • deposit_nxtcoin To make a deposit via NxtCoin send coins to the following address.

{"status":1,"deposit_bitcoin":"XXXXXXX","deposit_litecoin":"XXXXXXX","deposit_peercoin":"XXXXXXX",
"deposit_namecoin":"XXXXXXX","deposit_primecoin":"XXXXXXX","deposit_feathercoin":"XXXXXXX",
"deposit_anoncoin":"XXXXXXX","deposit_dogecoin":"XXXXXXX","deposit_nxtcoin":"XXXXXXX"}

Transfer funds

URL
https://www.peerbet.org/api/account/?action=transfer
Minimum interval between requests
1 second
Note:
You can use 'bitcoin' and 'litecoin' parameters at the same time.
You can't transfer funds to other casino users, only to your own account.
Request parameters
  • key API key used to authenticate user.
  • type Transfer funds to Casino or Raffles (&type=raffle or &type=casino). Default is raffle.
  • recipient Recipient's username (only when transfer is to raffle).
  • bitcoin Amount to transfer in BTC. Request when sending BitCoins.
  • litecoin Amount to transfer in LTC. Request when sending LiteCoins.
  • peercoin Amount to transfer in PTC. Request when sending PeerCoins.
  • namecoin Amount to transfer in NTC. Request when sending NameCoins.
  • primecoin Amount to transfer in XPM. Request when sending PrimeCoins.
  • feathercoin Amount to transfer in FTC. Request when sending FeatherCoin.
  • anoncoin Amount to transfer in ANC. Request when sending AnonCoin.
  • dogecoin Amount to transfer in DOGE. Request when sending DogeCoin.
  • nxtcoin Amount to transfer in NXT. Request when sending NxtCoin.
Obsolete parameters
  • amount Amount to transfer in BTC. Use 'bitcoin', 'litecoin', 'peercoin', 'namecoin' or 'primecoin'!
Response
  • status 1 if successful, 0 otherwise.
  • casino_cur10 Casino balance of the signed user in bitcoins.
  • casino_cur11 Casino balance of the signed user in litecoins.
  • casino_cur12 Casino balance of the signed user in peercoins.
  • casino_cur13 Casino balance of the signed user in namecoins.
  • raffle_cur10 Raffle balance of the signed user in bitcoins.
  • raffle_cur11 Raffle balance of the signed user in litecoins.
  • raffle_cur12 Raffle balance of the signed user in peercoins.
  • raffle_cur13 Raffle balance of the signed user in namecoins.
  • A list of supported currencies can be found here.


  • balance_casino (Obsolete) Casino balance of the signed user.
  • balance_raffle (Obsolete) Raffle balance of the signed user.

{"status":1,
"casino_cur10":"0.00","casino_cur11":"0.00","casino_cur12":"0.00","casino_cur13":"0.00","casino_cur14":"0.00",...,
"raffle_cur10":"0.00","raffle_cur11":"0.00","raffle_cur12":"0.00","raffle_cur13":"0.00","raffle_cur14":"0.00",...,
}

Account statement

URL
https://www.peerbet.org/api/account/?action=statement
Minimum interval between requests
5 seconds
Request parameters
  • key API key used to authenticate user.
  • type Type of the statement. Values are 1, 2 or 3 (1=Deposit, 2=Withdraw, 3=Transfer).
Optional parameters
  • count (Optional) Limit response to "count" last transfers. Last 50 transactions will be fetched by default. Limit is 1000!
  • since (Optional) Only include transfers made after "since" date. Format yyyy-MM-dd.
  • after (Optional) Unique Number of the transaction. Format Integer/Int32. Overrides 'before' option!
  • before (Optional) Unique Number of the transaction. Format Integer/Int32.
  • currency (Optional) Filter transactions by currency. Choices are: 10=BTC, 11=LTC, READ MORE.
Response
  • status 1 if successful, 0 otherwise.
  • transactions An array, containing transfers:
  •    id Unique Number of the transaction.
  •    type Type of the transaction. Format Number. Values are 1=Deposit, 2=Withdraw, 3=Transfer.
  •    status Status of the transaction. Format Number. Values are 1=Pending, 2=Completed, 3=Rejected, 4=Canceled, 5=Refund.
  •    currency Currency code. Values are 10=BTC, 11=LTC, READ MORE
  •    amount Amount of the transaction.
  •    date Date and time of raffle transaction.
  •    note Note of the transaction (Username of the transfer recipient).

{"status":1,"transactions":
[{"id":1,"type":1,"status":2,"currency":10,"amount":"0.7777777","date":"2012-12-21 12:21","note":"Peerbet"},
{"id":2,"type":3,"status":2,"currency":11,"amount":"0.7777777","date":"2012-12-21 21:12","note":"Bit777"}]
}