Skip to main content
  • Bet records are kept for at most 3 months.
  • Results are grouped by currency; records with the same currency are summed into one row.
  • This service is rate limited to 80 calls per day (80/d).
  • Data is aggregated by hour and uses an hour-precision RFC3339 format (for example 2022-01-01T00+08:00). Times must be precise to the hour and include the time zone.
  • Sums bets whose bet time is greater than or equal to the start time and less than the end time.
  • The maximum query range is 31 days.

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 (hour-precision format)
endTimestringYes✓Search end time (hour-precision format)
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.currencyListobject[]Report data
data.currencyList[].currencystringCurrency (contact our business team)
data.currencyList[].totalBetnumberTotal bet
data.currencyList[].totalPayoutnumberTotal payout
data.currencyList[].totalWinLosenumberTotal win/loss
data.currencyList[].countnumberRecord count
statusobjectResponse status. See Response format

Response example

Response codes

Besides the common codes, this API may also return: