Query Daily Report
Query operational statistics report for a specified date.
API Information
- URL:
POST /v2/report - Authentication:Bearer Token
- Encryption:Requests are encrypted using AES-256-GCM; responses are returned as plaintext JSON
request
Request Headers
POST /v2/report HTTP/1.1
Host: api.example.com
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
x-agentid: integratorNBTest04
x-timestamp: 1769746894501
x-nonce: 4ff08bc2a45c6b38068dbcd24296a25b
x-signature: c25f8d23704373e8776cce6d9b10f1fde091c34db80d60523c7e04ff30e54633
Request Parameters
Parameters Before Encryption
{
"startDate": "2026-01-21T07:00:00Z",
"endDate": "2026-01-21T07:30:00Z",
"agentId": "integratorNBTest04",
"betSource": 1
}
Encrypted Request Body
{
"cipherText": "G0ZMDELeJwx+7JcIfIFOLJjkSzANPu6krGM2uw==..."
}
| Field | Type | Required | Description |
|---|---|---|---|
startDate | string | Yes | Start time (ISO 8601 format) |
endDate | string | Yes | End time (ISO 8601 format) |
agentId | string | Yes | Agent ID (must be the same as the agentId used during /v2/auth authentication) |
betSource | number | No | Filter type, default is 1, 1: Regular bets and items, 2: Operator Cards |
Response
Success Response
{
"code": 0,
"message": "No error.",
"data": {
"count": 96,
"actualBetAmt": "48",
"validBetAmt": "48",
"winAmt": "44.9",
"ggr": "3.1",
"jackpotWin": "0",
"jackpotContribute": "0",
"lastStatisticsTime": "2026-02-02T23:19:34.856Z"
},
"logUUID": "0a4503a6-c652-4ad2-a80f-8e0c4ed42a60"
}
| Field | Type | Description |
|---|---|---|
data.count | number | Number of Bets |
data.actualBetAmt | string | Actual Bet Amount |
data.validBetAmt | string | Valid Bet Amount |
data.winAmt | string | Win Amount |
data.ggr | string | Games netwin |
data.jackpotWin | string | Jackpot Win Amount |
data.jackpotContribute | string | Jackpot Contribution Amount |
data.lastStatisticsTime | string | Last Statistics Time |
Error Response
{
"code": 9001,
"message": "Invalid date range",
"logUUID": "6589bf8d-fe74-48bd-841a-71bf8f848f86"
}
Important Notes
- Time Range: To ensure data consistency, the query time range can only be between 90 days before the current time and 2 hours before the current time
- Time Range: The time Range set between startDate and endDate cannot exceed 7 days
- Call Frequency: Each agentId call frequency is a maximum of 1 per second
- Time Segmentation: Queries can only be segmented to hours. If less than an hour, it will be calculated as that hour +1. EX: Querying 04:00
04:01 will actually return data for 04:0005:00