Skip to content

Player Bet Log (own org only)

GET
/api/bet-log

List bet activities for the caller's own organisation only — descendants (สายล่าง) are excluded. Filterable by currency, time range, publisher, game, username, round id and category.

Authorizations

Parameters

Query Parameters

page*
Typestring
Required
limit*
Typestring
Required
currency*
Typestring
Required
startTime
Typestring
endTime
Typestring
publisherIds
Typestring
gameIds
Typestring
username
Typestring
roundId
Typestring
category
Typestring

Responses

Paginated bet log
JSON
{
"data": {
"items": [
{
}
],
"meta": {
}
},
"status": null,
"timeStamp": "string"
}

Samples

cURL
curl -X GET https://api-game.kkapi.co/api/bet-log
JavaScript
fetch("https://api-game.kkapi.co/api/bet-log")
  .then(response => response.json())
  .then(data => console.log(data));
PHP
file_get_contents("https://api-game.kkapi.co/api/bet-log");
Python
import requests
response = requests.get("https://api-game.kkapi.co/api/bet-log")
print(response.json())