Skip to content

Live tables, free spins and rounds

Build a live lobby, give free spins and look up a disputed round.

On this page

Live tables#

GEThttps://api.tagbet.net/api/v1/live/tables
HTTP
GET /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
  }]
}
  • currency is 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 provider returns 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.

1. Bet optionsHTTP
GET /api/v1/freespins/options?provider=GAME_AGGREGATOR&gameId=<uuid>&currency=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 }
}
2. CreateHTTP
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": "..."
}
FieldTypeRequiredDescription
provider, gameId, playerId, currencystringYesThe campaign is bound to playerId + currency: use the same values on launch
quantityintegerYes1 - 500
validUntilISO dateYesIn the future. Some GAME_AGGREGATOR games round it up to 00:00 UTC.
validFromISO dateNoDefault now. SOFTGAMING ignores it: campaigns start at once.
betId + denomination, or totalBetIdnumberGAME_AGGREGATORFrom the options call
betLevelnumberNoSOFTGAMING: bet multiplier, default 1
playerNamestringNoGAME_AGGREGATOR: name sent to the provider, default playerId
Numbers, not stringsSend betId, totalBetId (integers), denomination and betLevel as JSON numbers, even when /options returns them as strings.
No automatic retryCreating has no idempotency key: a retry creates a second campaign. Do not auto-retry; check 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#

HTTP
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#

GEThttps://api.tagbet.net/api/v1/rounds/:roundId?provider=ALGNET

Pass 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.

HTTP
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": { ... }
}
Questions about your integration?Write to us with your account name and, if you have one, a sessionId or transactionId. integration@agixx.net
Live tables, free spins and rounds - API Documentation | AGIXX