Download OpenAPI specification:Download
Documentation for wolfbet.com api
curl --location --request GET {ENDPOINT_URL} --header "X-Requested-With: XMLHttpRequest" --header "Authorization: Bearer PASTE-YOUR-BEARER-TOKEN-HERE"
Place bet
currency | string Enum: "btc" "eth" "ltc" "doge" "trx" "bch" "xrp" "usdt" "uni" "sushi" "xlm" "etc" "bnb" "dot" "ada" "shib" "matic" "optim" Currency |
game | string Value: "dice" Game |
amount | number Amount |
rule | string Enum: "over" "under" Rule |
multiplier | number Multiplier |
bet_value | number Bet value |
Success
Error when placing a bet
Not authenticated
Validation error
{- "currency": "btc",
- "game": "dice",
- "amount": "0.002",
- "rule": "over",
- "multiplier": "1.98",
- "bet_value": "49.99"
}
{- "bet": {
- "hash": "3deb5a81-d914-445a-9820-fdd655430bde",
- "nonce": 1,
- "currency": "btc",
- "amount": "0.0001",
- "profit": "0.00000001",
- "multiplier": "1.98",
- "bet_value": "49.99",
- "result_value": "1.65",
- "state": "loss",
- "published_at": 1582549252,
- "game": {
- "id": 1,
- "name": "dice",
- "margin": "1",
- "min_roll": "0",
- "max_roll": "99.99"
}
}, - "user_balance": {
- "amount": "0.0199",
- "currency": "btc"
}
}
change client seed
client_seed | string [ 10 .. 64 ] characters Client seed |
Success
Error when changing seed
Not authenticated
Validation error
{- "client_seed": "test12345test12345test"
}
{- "seed": "test12345test12345test"
}
Get user stats race
Success
No race or No bets in current race
Not authenticated
{- "race": {
- "waggered_btc": "0.185853711003887",
- "currency": "btc",
- "prize": "360.00",
- "rank": 1,
- "user": {
- "login": "alice",
- "uuid": "f02670b1-1e24-4200-9553-e385e8dc0e1c",
- "is_admin": false,
- "is_moderator": false,
- "is_high_roller": true,
- "vip_level": 0,
- "joined": "2020-02-20",
- "race_badge": {
- "position": 2,
- "date": "2020-02-27T10:50:44.000000Z"
}
}
}
}
Get user stats bets
Success
Not authenticated
{- "dice": {
- "btc": {
- "total_bets": "0",
- "win": "0",
- "lose": "0",
- "waggered": "0",
- "waggered_usd": "0",
- "currency": "btc",
- "profit": "0"
}, - "eth": {
- "total_bets": "0",
- "win": "0",
- "lose": "0",
- "waggered": "0",
- "waggered_usd": "0",
- "currency": "eth",
- "profit": "0"
}, - "ltc": {
- "total_bets": "0",
- "win": "0",
- "lose": "0",
- "waggered": "0",
- "waggered_usd": "0",
- "currency": "ltc",
- "profit": "0"
}, - "doge": {
- "total_bets": "0",
- "win": "0",
- "lose": "0",
- "waggered": "0",
- "waggered_usd": "0",
- "currency": "doge",
- "profit": "0"
}, - "trx": {
- "total_bets": "0",
- "win": "0",
- "lose": "0",
- "waggered": "0",
- "waggered_usd": "0",
- "currency": "trx",
- "profit": "0"
}, - "bch": {
- "total_bets": "0",
- "win": "0",
- "lose": "0",
- "waggered": "0",
- "waggered_usd": "0",
- "currency": "bch",
- "profit": "0"
}, - "xrp": {
- "total_bets": "0",
- "win": "0",
- "lose": "0",
- "waggered": "0",
- "waggered_usd": "0",
- "currency": "xrp",
- "profit": "0"
}
}
}
{- "balances": [
- {
- "amount": "0.6980000000",
- "currency": "btc",
- "withdraw_fee": "0.0000500000",
- "withdraw_minimum_amount": "0.0001000000",
- "payment_id_required": 0
}
]
}
change server seed
Success
Error when changing seed
Not authenticated
Validation error
{- "server_seed_hashed": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08"
}