- Bet records are kept for at most 3 months.
- Results are grouped by channel ID, member account, currency and game. Records are summed into one row only when all four match.
- Sums bets whose time, as selected by searchMode, is greater than or equal to the start time and less than the end time.
- 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.
- This service is rate limited to 80 calls per day (80/d).
- The maximum query range is 31 days.
Path
Headers
| Field | Type | Required | Description |
|---|---|---|---|
Authorization | string | Yes | Token we provide |
Request parameters
| Field | Type | Required | Signed | Description |
|---|---|---|---|---|
channelId | number | Yes | ✓ | Channel ID (use 1 if you have no channels; 0 queries all) |
searchMode | number | Yes | ✓ | Time used for the search (0: bet time) |
startTime | string | Yes | ✓ | Search start time (hour-precision format) |
endTime | string | Yes | ✓ | Search end time (hour-precision format) |
sign | string | Yes | Signature. See Signature for how to generate it |
Response
Success (the HTTP status code is always 200; checkstatus.code for the result)
| Field | Type | Description |
|---|---|---|
data | object | |
data.memberList | object[] | Member data |
data.memberList[].channelId | number | Channel ID |
data.memberList[].account | string | Member account |
data.memberList[].currency | string | Currency (contact our business team) |
data.memberList[].betCount | number | Total number of bets |
data.memberList[].totalBet | number | Total bet amount |
data.memberList[].totalPayout | number | Total payout amount |
data.memberList[].totalWinLose | number | Member total win/loss |
status | object | Response status. See Response format |
