BETCORE Aggregator
Provider IntegrationCasino IntegrationFeed Integration
Provider IntegrationCasino IntegrationFeed Integration
Visit Betcore website
Follow Betcore on Instagram
Follow Betcore on LinkedIn
Follow Betcore on Youtube
  1. Websocket
  • PLEASE READ: Getting Started
  • Integrate BETCORE Games
    • Integrate BETCORE Games
    • WebFrame Connection
    • BETCORE API
      • Authentication
        • Token
          POST
        • Verify
          POST
        • Jwks
          GET
      • Payments
        • Accept
          POST
      • Cashback
        • Accept
          POST
    • PARTNER API
      • Users
        • Auth
          POST
        • Data
          POST
      • Payments
        • Info
          POST
        • Make
          POST
        • Make-list
          POST
        • Close
          POST
      • Cashback
        • Make
          POST
  • Integrate YOUR Games
    • Integrate as Games Provider
    • PARTNER API
      • Games
        • Games
          GET
        • Launch
          POST
    • BETCORE API
      • Get Balance
        • Balance
          GET
      • Bets
        • PayIn
          POST
        • PayOut
          POST
        • PayInOut
          POST
        • Refund
          POST
  • Feed Integration
    • Feed Integration
    • REST API
      • Authorization
        • Token
          POST
      • Games
        • List
          GET
        • Info
          GET
        • Translations
          GET
      • Jackpot
        • Accumulated
          GET
    • Websocket
      • SubOnWholeGamesInfo
Provider IntegrationCasino IntegrationFeed Integration
Provider IntegrationCasino IntegrationFeed Integration
Visit Betcore website
Follow Betcore on Instagram
Follow Betcore on LinkedIn
Follow Betcore on Youtube
  1. Websocket

SubOnWholeGamesInfo

Overview#

ProtocolWebsocket
Pathwss://backend.tvbet.bet/signalrhub-integration-service/hubs
DescriptionReturns game results.
Non functional requirementResponse is returned every 500 milliseconds.
SubOnWholeGamesInfo is a WebSocket subscription that provides real-time updates on the state and results of all BETCORE games. It allows partners to receive a continuous stream of data, enabling them to display up-to-the-minute information to their users.
The main objectives of this subscription are:
Real-time Game Data: To provide partners with a continuous feed of game data, including game state, results, and other relevant information.
Comprehensive Game Coverage: To provide updates on all BETCORE games, allowing partners to display a complete overview of the gaming activity.
Low Latency Updates: To deliver updates with minimal delay, ensuring that partners can display the most current information to their users.

Request parameters#

ParameterTypeRequiredDescription
Query parameters
access_tokenstringYesJWT authorization token.
Message
argumentsarrayYes
subscribeStringYesSubscription name
Constant:SubOnWholeGamesInfo
GameTypenumberYesGame type identificator.
CountnumberYesGames limit.
Constant: 1
PartnerClientIdnumberYesPartner's client identificator.
targetstringYesConstant: Subscribe
typestringYesConstant: 1

Example#

{
    "arguments": [
        "SubOnWholeGamesInfo", 
        "{ \"GameType\": 1, \"PartnerClientId\": 1, \"Count\": 1 }"
    ],
    "target": "Subscribe",
    "type": 1
}

Response parameters#

According to BETCORE terminology, round means one cycle or phase within the game.
ParameterTypeRequiredDescription
sIdnumber (unit)YesSequence id.
From the moment of connection, the counter starts from 0. When reconnecting, the counter is not reset.
tstdatetimeYesTimestamp. Time when the message was sent.
imboolYesIn maintenance. Game maintenance status indicator.
btnumberYesBetting timer. Shows how much time is left to place a bet. UNIX.
wgiarray of objectYesWhole games info.
inumberYesGame (round) ID. Internal game identifier (BETCORE).
tnumberYesGame type. For example: 3 (Poker)
genumberYesGame edition. Global/public game identifier.
lrIdnumberYesLast round ID. ID of game (round). The identifier of the round that was last completed.
snumberYesGame state:
1 - Awaiting
2 - Active
3 - Finished
4 - Review
5 - Cancelled
psnumberYesGame play status:
BettingTime = 1
GameAction = 2
crnumberYesGame current round.
sdtdatetimeYesGame start date and time. Unix.
fdtdatetimeYesGame finish date and time. Unix.
rarray of objectNoGame results.
vstringYesValue of the game element. For example: the value of the card or the ball number.
hinumberYesHand ID.
rinumberYesRound ID.
snumberYesStatus:
1 - Accepted
2 - Canceled
snnumberYesSequential number. For example: the sequential number of a card that was laid out on the table based on its order. Or sequential number of the ball.
hboolYesHorseshoe. Type of bonus affecting the size of winnings in ball games.
harray of objectNoHands.
inumberYesHand ID.
rarray of objectNoResult.
ValuestringYesValue.
GameIdnumberYesGame ID.
ManualControlboolYesManual control.
CreateddatetimeYesCreated.
HandIdnumberYesHand ID.
ResultActionstringYesResult action.
RoundIdnumberYesRound ID.
StatusnumberYesStatus.
SequentialNumbernumberYesSequential number. For example: the sequential number of a card that was laid out on the table based on its order.
StudioCreateddatetimeYesStudio created.
HorseshoeboolYesHorseshoe. Type of bonus affecting the size of winnings in ball games.
snumberYesStatus.
pnumberYesScore.
earray of objectYesGame events.
tnumberYesEvent type.
parray NoParameters.
cnumberYesCoefficient.
bboolYesBlock.
snstringYesShort number.
diobjectYesDealer information. Information about the dealer.
If there's no dealer in the game di = null
idnumberYesID.
nstringYesName.
anumberYesAge.
cstringYesCountry (citizenship).

Example#

{
  "type": 1,
  "target": "WholeGamesInfoSubscribe",
  "arguments": [
    {
      "wgi": [
        {
          "i": 30000603282,
          "t": 3,
          "ge": "PB650351",
          "s": 2,
          "ps": 1,
          "cr": 1,
          "sdt": "2025-06-19T15:56:50.529Z",
          "fdt": "2025-06-19T15:59:50.529Z",
          "r": [
            { "v": "3c", "hi": 1, "ra": null, "ri": 1, "s": 1, "sn": 1, "vi": null, "h": false },
            { "v": "9c", "hi": 2, "ra": null, "ri": 1, "s": 1, "sn": 2, "vi": null, "h": false },
            { "v": "4d", "hi": 3, "ra": null, "ri": 1, "s": 1, "sn": 3, "vi": null, "h": false },
            { "v": "2c", "hi": 4, "ra": null, "ri": 1, "s": 1, "sn": 4, "vi": null, "h": false },
            { "v": "7d", "hi": 5, "ra": null, "ri": 1, "s": 1, "sn": 5, "vi": null, "h": false },
            { "v": "5h", "hi": 6, "ra": null, "ri": 1, "s": 1, "sn": 6, "vi": null, "h": false },
            { "v": "kh", "hi": 1, "ra": null, "ri": 1, "s": 1, "sn": 7, "vi": null, "h": false },
            { "v": "8c", "hi": 2, "ra": null, "ri": 1, "s": 1, "sn": 8, "vi": null, "h": false },
            { "v": "2s", "hi": 3, "ra": null, "ri": 1, "s": 1, "sn": 9, "vi": null, "h": false },
            { "v": "qh", "hi": 4, "ra": null, "ri": 1, "s": 1, "sn": 10, "vi": null, "h": false },
            { "v": "7c", "hi": 5, "ra": null, "ri": 1, "s": 1, "sn": 11, "vi": null, "h": false },
            { "v": "jd", "hi": 6, "ra": null, "ri": 1, "s": 1, "sn": 12, "vi": null, "h": false },
            { "v": "as", "hi": 0, "ra": null, "ri": 2, "s": 1, "sn": 13, "vi": null, "h": false },
            { "v": "9h", "hi": 0, "ra": null, "ri": 2, "s": 1, "sn": 14, "vi": null, "h": false },
            { "v": "6c", "hi": 0, "ra": null, "ri": 2, "s": 1, "sn": 15, "vi": null, "h": false },
            { "v": "3s", "hi": 0, "ra": null, "ri": 3, "s": 1, "sn": 16, "vi": null, "h": false }
          ],
          "h": [
            { "i": 1, "r": [], "s": 0, "p": 0 },
            { "i": 2, "r": [], "s": 0, "p": 0 },
            { "i": 3, "r": [], "s": 0, "p": 0 },
            { "i": 4, "r": [], "s": 0, "p": 0 },
            { "i": 5, "r": [], "s": 0, "p": 0 },
            { "i": 6, "r": [], "s": 0, "p": 0 }
          ],
          "e": [
            { "t": 196, "p": [], "c": 5.50, "b": false, "sn": "03196" },
            { "t": 197, "p": [], "c": 5.50, "b": false, "sn": "03197" },
            { "t": 198, "p": [], "c": 5.50, "b": false, "sn": "03198" },
            { "t": 199, "p": [], "c": 5.50, "b": false, "sn": "03199" },
            { "t": 200, "p": [], "c": 5.50, "b": false, "sn": "03200" },
            { "t": 201, "p": [], "c": 5.50, "b": false, "sn": "03201" },
            { "t": 202, "p": [], "c": 1000.0, "b": false, "sn": "03202" },
            { "t": 203, "p": [], "c": 6.20, "b": false, "sn": "03203" },
            { "t": 204, "p": [], "c": 3.25, "b": false, "sn": "03204" },
            { "t": 205, "p": [], "c": 7.10, "b": false, "sn": "03205" },
            { "t": 206, "p": [], "c": 6.00, "b": false, "sn": "03206" },
            { "t": 207, "p": [], "c": 9.20, "b": false, "sn": "03207" },
            { "t": 208, "p": [], "c": 9.10, "b": false, "sn": "03208" },
            { "t": 209, "p": [], "c": 110.00, "b": false, "sn": "03209" },
            { "t": 210, "p": [], "c": 600.00, "b": false, "sn": "03210" },
            { "t": 211, "p": [], "c": 1000.0, "b": false, "sn": "03211" }
          ],
          "vs": 2,
          "lrId": 30000603281,
          "di": {
            "id": 2312,
            "n": "PetreQA-manual",
            "c": "Poland",
            "a": 31
          }
        }
      ],
      "tst": "2025-06-19T15:57:18.6120782Z",
      "bt": 1,
      "im": false,
      "sId": 8975
    }
  ]
}

Previous
Websocket
Built with