Skip to main content
  • Historical bet records are bets older than 1 hour, kept for at most 3 months.
  • If one bet ID has more than one record (for example, after a correction), the most recently created record is returned.
  • This service is rate limited to 2 calls per second (2/s).
  • Returns bets whose time, as selected by searchMode, falls within the search range (start and end times inclusive).
  • The maximum time range per search is 15 minutes.
  • This feature is not available to seamless wallet operators.

Path

Headers

FieldTypeRequiredDescription
AuthorizationstringYesToken we provide

Request parameters

FieldTypeRequiredSignedDescription
channelIdnumberYes✓Channel ID (use 1 if you have no channels; 0 queries all)
searchModenumberYes✓Search mode (0: bet time)
startTimestringYes✓Search start time (see Time format)
endTimestringYes✓Search end time (see Time format)
pagenumberYes✓Page number (minimum 1)
pageSizenumberYes✓Records per page (minimum 2000, maximum 5000)
signstringYesSignature. See Signature for how to generate it

Response

Success (the HTTP status code is always 200; check status.code for the result)
FieldTypeDescription
dataobject
data.betlogListobject[]Bet records
data.betlogList[].versionKeynumberBet version key (serial number; always 0 for performance reasons)
data.betlogList[].betIdstringBet ID (unique per bet record)
data.betlogList[].channelIdnumberChannel ID
data.betlogList[].accountstringMember account
data.betlogList[].currencystringCurrency (contact our business team)
data.betlogList[].gameIdnumberGame ID
data.betlogList[].gameTypestringGame type [slot, fishing, tableGame]
data.betlogList[].betnumberBet amount
data.betlogList[].payoutnumberPayout amount
data.betlogList[].winLosenumberWin/loss amount
data.betlogList[].freeGamenumberWhether free games are included (0: no, 1: yes)
data.betlogList[].statusnumberBet status (0: not paid out, 1: paid out)
data.betlogList[].betModestringBet mode (main: base game, special: feature game, item: item card)
data.betlogList[].betTimestringBet time (see Time format)
data.betlogList[].createTimestringRecord creation time (see Time format)
data.betlogList[].settleTimestringSettlement time (see Time format)
data.currentPagenumberCurrent page
data.fromnumberIndex of the first bet returned
data.tonumberIndex of the last bet returned
data.perPagenumberRecords per page
data.lastPagenumberTotal pages
data.totalnumberTotal number of bets in the search range
statusobjectResponse status. See Response format

Response example

Response codes

Besides the common codes, this API may also return: