API - WOLFBET.COM (1.0.0)

Download OpenAPI specification:Download

Documentation for wolfbet.com api

Bearer token

You can get bearer token from here.

Example of usage:

curl --location --request GET {ENDPOINT_URL} --header "X-Requested-With: XMLHttpRequest" --header "Authorization: Bearer PASTE-YOUR-BEARER-TOKEN-HERE"

Requests limit

There is a limit of requests in time. In response headers search for:

x-ratelimit-limit: [int]
x-ratelimit-remaining: [int]


When x-ratelimit-remaining drop to 0, then you have to wait 60 seconds before you can send next request.

Authentication

Bearer

Security Scheme Type API Key
Header parameter name: Authorization

Bet

Place bet

Place bet

Authorizations:
Request Body schema: application/json
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

Responses

200

Success

400

Error when placing a bet

401

Not authenticated

422

Validation error

post /bet/place
https://wolfbet.com/api/v1/bet/place

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "currency": "btc",
  • "game": "dice",
  • "amount": "0.002",
  • "rule": "over",
  • "multiplier": "1.98",
  • "bet_value": "49.99"
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "bet":
    {
    },
  • "user_balance":
    {
    }
}

User

Change client seed

change client seed

Authorizations:
Request Body schema: application/json
client_seed
string [ 10 .. 64 ] characters

Client seed

Responses

200

Success

400

Error when changing seed

401

Not authenticated

422

Validation error

post /user/seed/refresh
https://wolfbet.com/api/v1/user/seed/refresh

Request samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "client_seed": "test12345test12345test"
}

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "seed": "test12345test12345test"
}

Get user stats race

Get user stats race

Authorizations:

Responses

200

Success

400

No race or No bets in current race

401

Not authenticated

get /user/stats/race
https://wolfbet.com/api/v1/user/stats/race

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "race":
    {
    }
}

Get user stats about bets

Get user stats bets

Authorizations:

Responses

200

Success

401

Not authenticated

get /user/stats/bets
https://wolfbet.com/api/v1/user/stats/bets

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "dice":
    {
    }
}

Get user balances

Get user balances

Authorizations:

Responses

200

Success

401

Not authenticated

get /user/balances
https://wolfbet.com/api/v1/user/balances

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "balances":
    [
    ]
}

Game

Change server seed

change server seed

Authorizations:

Responses

200

Success

400

Error when changing seed

401

Not authenticated

422

Validation error

get /game/seed/refresh
https://wolfbet.com/api/v1/game/seed/refresh

Response samples

Content type
application/json
Copy
Expand all Collapse all
{
  • "server_seed_hashed": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08"
}