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).
  • Each query can cover at most 15 minutes and cannot span days.
  • This feature is not available to seamless wallet operators.
  • For paging, see Pagination.

Path

Headers

FieldTypeRequiredDescription
AuthorizationstringYesToken we provide

Request parameters

FieldTypeRequiredSignedDescription
channelIDnumberYes✓Channel ID (use 1 if you have no channels; 0 queries all)
startTimestringYes✓Search start time (see Time format)
endTimestringYes✓Search end time (see Time format)
nextTokenstringNo✓Query token (empty on the first query, then the nextToken from the previous result)
maxResultsnumberYes✓Maximum number of results (min 2000, max 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[].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[].freeGamenumberIncludes free games (1: no, 2: 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.nextTokenstringToken for the next query (empty string on the last page)
data.maxResultsnumberMaximum number of results returned
data.totalnumberTotal number of records in this query
statusobjectResponse status. See Response format

Response example

Response codes

Besides the common codes, this API may also return: