Live tables, free spins and rounds
Build a live lobby, give free spins and look up a disputed round.
Live tables#
https://api.tagbet.net/api/v1/live/tablesGET /api/v1/live/tables?currency=TRY // optional: &provider=ALGNET | SOFTGAMING
x-api-key: pk_live_...
{
"currency": "TRY",
"tables": [{
"provider": "SOFTGAMING",
"gameId": "998:roulette:qxuaxdr3krveh54h", // pass to /api/v1/launch
"name": "Auto-Roulette",
"studio": "Evolution",
"category": "Roulette",
"image": "https://...",
"open": true, // null = the studio does not report it
"players": 2016,
"seats": null,
"dealer": null,
"currency": "TRY",
"limits": { "min": 4, "max": 80000 }, // live limits in "currency", or null
"defaultLimits": null, // other studios: catalog limits, currency not stated
"chips": null,
"lastResults": ["16", "29", "16"] // up to 10
}]
}currencyis a 3-letter code (otherwise 400), default EUR. Our data refreshes every 30 seconds; do not poll more often.- Providers: ALGNET, and the live studios of SOFTGAMING. Another
providerreturns an empty list. - Live limits, players and results: ALGNET and Evolution. Other SOFTGAMING studios carry only the table list and
defaultLimits, when the catalog has them. category: Roulette, Blackjack, Baccarat, Dragon Tiger, Poker, Dice, Card games, Game show, Other.- If a provider cannot be reached its tables are missing from the answer, without an error.
Give free spins#
GAME_AGGREGATOR and SOFTGAMING, for games that support it. First read the bet options of the game, then create the campaign.
GET /api/v1/freespins/options?provider=GAME_AGGREGATOR&gameId=<uuid>¤cy=TRY
x-api-key: pk_live_...
// GAME_AGGREGATOR (values may arrive as strings)
{
"provider": "GAME_AGGREGATOR", "gameId": "<uuid>", "currency": "TRY", "betType": "bets",
"denominations": ["0.01", "0.1", "1"],
"bets": [{ "bet_id": "0", "bet_per_line": 1, "lines": 25 }],
"totalBets": [{ "bet_id": 0, "amount": 10.0 }]
}
// SOFTGAMING
{
"provider": "SOFTGAMING", "gameId": "960:vs20olympgate", "currency": "EUR",
"betType": "betLevel", "betLevel": { "min": 1, "default": 1 }
}POST /api/v1/freespins
x-api-key: pk_live_...
Content-Type: application/json
{
"provider": "GAME_AGGREGATOR",
"gameId": "<uuid>",
"playerId": "player_123",
"currency": "TRY",
"quantity": 10,
"validUntil": "2027-12-31T23:59:59Z",
"totalBetId": 0
}
201 Created
{
"freespinId": "8f3c2a1b9d4e...", "provider": "GAME_AGGREGATOR", "gameId": "<uuid>",
"playerId": "player_123", "currency": "TRY", "quantity": 10,
"validFrom": "...", "validUntil": "...", "status": "ACTIVE", "createdAt": "..."
}| Field | Type | Required | Description |
|---|---|---|---|
provider, gameId, playerId, currency | string | Yes | The campaign is bound to playerId + currency: use the same values on launch |
quantity | integer | Yes | 1 - 500 |
validUntil | ISO date | Yes | In the future. Some GAME_AGGREGATOR games round it up to 00:00 UTC. |
validFrom | ISO date | No | Default now. SOFTGAMING ignores it: campaigns start at once. |
betId + denomination, or totalBetId | number | GAME_AGGREGATOR | From the options call |
betLevel | number | No | SOFTGAMING: bet multiplier, default 1 |
playerName | string | No | GAME_AGGREGATOR: name sent to the provider, default playerId |
GET /api/v1/freespins first. A campaign missing from that list may still exist at the provider after a timeout, so contact us when unsure.Status and cancel#
GET /api/v1/freespins?playerId=player_123 // your campaigns, last 100
GET /api/v1/freespins/:freespinId // one campaign + "upstream"
DELETE /api/v1/freespins/:freespinId // cancel -> status "CANCELED"
status: ACTIVE | EXPIRED | CANCELED
"upstream" on GET /:freespinId
GAME_AGGREGATOR { "quantityLeft": 4, "status": "...", "canceled": false, "totalWin": 12.5 }
SOFTGAMING { "status": "...", "totalWin": "12.50" }
not available "upstream": null, "upstreamError": "..."Free-spin callbacks#
Bets and wins inside a campaign carry freespinId. The bet is funded by the provider: do not debit, store 0 as the refundable amount, and reply with the current balance. Credit wins as usual. This applies to GAME_AGGREGATOR and SOFTGAMING. If a callback of PRAGMATIC_PLAY, PG_SOFT, AMATIC or AMUSNET carries freespinId, it is not one of your campaigns: treat it as a normal bet and tell us.
Round history#
https://api.tagbet.net/api/v1/rounds/:roundId?provider=ALGNETPass the roundId of a callback. Only rounds of your account are returned, and only those with at least one confirmed, non-zero transaction. SOFTGAMING details work only when the provider has enabled them, otherwise NOT_SUPPORTED.
GET /api/v1/rounds/:roundId?provider=ALGNET
{
"provider": "ALGNET", "roundId": "...", "playerId": "player_123", "gameId": "...",
"currency": "EUR", "type": "replay", "replayUrl": "https://..."
}
GET /api/v1/rounds/:roundId?provider=SOFTGAMING
{
"provider": "SOFTGAMING", "roundId": "...", "playerId": "player_123", "gameId": "...",
"currency": "EUR", "type": "details", "details": { ... }
}