Operator API
GGR / turnover report
get
/v1/reports/ggrMerchant GGR and turnover for the period (maximum of 93 days), total or grouped.
Authentication#
Request signed with HMAC-SHA256: headers X-Merchant-Id, X-Timestamp, X-Nonce and X-Signature. See Authentication.
Parameters#
| Field | Description |
|---|---|
fromstring (date-time)required | Period start (ISO 8601) |
tostring (date-time)required | Period end (ISO 8601); maximum of 93 days |
group_by"day" | "provider" | "game" | "player" | Grouping; without it, a single total row |
Example#
# TALOS_API_HOST (without /v1), TALOS_MERCHANT and TALOS_SECRET are provided by TALOS
TS=$(($(date +%s) * 1000))
NONCE=$(openssl rand -hex 16)
REQ_PATH='/v1/reports/ggr?from=2026-10-01T12%3A00%3A00.000Z&to=2026-10-01T12%3A00%3A00.000Z'
BODY=''
SIG=$(printf '%s' "$TS.$NONCE.GET.$REQ_PATH.$BODY" | openssl dgst -sha256 -hmac "$TALOS_SECRET" | sed 's/^.* //')
curl -X GET "$TALOS_API_HOST$REQ_PATH" \
-H "X-Merchant-Id: $TALOS_MERCHANT" \
-H "X-Timestamp: $TS" \
-H "X-Nonce: $NONCE" \
-H "X-Signature: $SIG"import { talos } from './talos' // signed client (see Authentication)
const res = await talos('GET', '/v1/reports/ggr?from=2026-10-01T12%3A00%3A00.000Z&to=2026-10-01T12%3A00%3A00.000Z')
if (!res.success) throw new Error(`${res.error.code}: ${res.message}`)
console.log(res.data)Responses#
200Success
| Field | Description |
|---|---|
successtruerequired | — |
messagestringrequired | — |
statusCodenumberrequired | — |
dataobjectrequired | — |
data.fromstring (date-time)required | — |
data.tostring (date-time)required | — |
data.group_by"total" | "day" | "provider" | "game" | "player"required | — |
data.currencystringrequired | — |
data.rowsobject[]required | — |
data.rows[].keystringrequired | Grouping value (day, provider, game or player); "total" without grouping |
data.rows[].currencystringrequired | — |
data.rows[].betsnumberrequired | — |
data.rows[].winsnumberrequired | — |
data.rows[].refundsnumberrequired | — |
data.rows[].rollbacksnumberrequired | — |
data.rows[].turnovernumberrequired | — |
data.rows[].payoutnumberrequired | — |
data.rows[].ggrnumberrequired | — |
data.rows[].roundsnumberrequired | — |
data.rows[].playersnumberrequired | — |
Response example
{
"success": true,
"message": "OK",
"statusCode": 200,
"data": {
"from": "2026-10-01T12:00:00.000Z",
"to": "2026-10-01T12:00:00.000Z",
"group_by": "total",
"currency": "BRL",
"rows": [
{
"key": "total",
"currency": "BRL",
"bets": 0,
"wins": 0,
"refunds": 0,
"rollbacks": 0,
"turnover": 0,
"payout": 0,
"ggr": 0,
"rounds": 0,
"players": 0
}
]
}
}| HTTP | Code (error.code) |
|---|---|
| 400 | INVALID_RANGERANGE_TOO_LARGE |
| 401 | MISSING_AUTH_HEADERSINVALID_MERCHANTMERCHANT_BLOCKEDREQUEST_EXPIREDINVALID_SIGNATURENONCE_REUSEDIP_NOT_ALLOWED |
| 422 | Body or query does not match the schema |
| 429 | RATE_LIMITED |
| 500 | GGR_REPORT_FAILED |
| 503 | AUTH_UNAVAILABLE |
Error format and the meaning of each code in Errors.