Skip to content

Launch and games

Open a game session and build your lobby.

On this page

Launch a game#

POSThttps://api.tagbet.net/api/v1/launch

Creates a game session and returns a URL. Call it from your server and redirect the player to gameUrl.

FieldTypeRequiredDescription
providerstringYesProvider key, see Providers
gameIdstringYesGame or table id from the games list. PRAGMATIC_PLAY, PG_SOFT, AMATIC, AMUSNET: a canonical number sent as a string ("2376"; "02376", "2376 " and 2376 are rejected with 400). GAME_AGGREGATOR: the game uuid. SOFTGAMING: system:page.
playerIdstringYesYour own player id. It comes back in every callback.
currencystringRecommendedUppercase ISO code: TRY, ILS, EUR, USD. Always send it. Default: USD (SOFTGAMING: EUR).
playerIpstringRecommendedThe player's real public IP (from the player's request, not your server). Needed for SOFTGAMING studios: without it most games show "Restricted".
languagestringOptionalISO language code. Default en; GAME_AGGREGATOR: provider default.
returnUrlstringOptionalLobby URL after the game. Not used by ALGNET.
gameNamestringOptionalStored with the session
playerNamestringOptionalDisplay name. Shown in game on ALGNET; stored for all.
demobooleanOptionaltrue = play for fun: no session, no callbacks. GAME_AGGREGATOR and SOFTGAMING only, others return NOT_SUPPORTED.
Request bodyJSON
{
  "provider":  "PRAGMATIC_PLAY",
  "gameId":    "2376",
  "playerId":  "player_123",
  "currency":  "TRY",
  "language":  "tr",
  "playerIp":  "203.0.113.10",
  "returnUrl": "https://your-casino.com/lobby"
}
Successful response (201)JSON
{
  "sessionId": "clxyz1234567890",
  "gameUrl":   "https://game-server.com/play?token=abc",
  "provider":  "PRAGMATIC_PLAY",
  "gameId":    "2376"
}
Demo response (201)JSON
{
  "sessionId": null,
  "gameUrl":   "https://game-server.com/demo?token=abc",
  "provider":  "SOFTGAMING",
  "gameId":    "960:vs20olympgate",
  "demo":      true
}
Using gameUrlRequest a new gameUrl each time a player opens a game and use it at once. Do not store, share or reuse it; AGIXX gives no lifetime guarantee. Redirect the player, or use an iframe after testing it: some studios refuse to be framed. A SOFTGAMING gameUrl may point to a page on tagbet.net, which is expected.

List your providers#

GEThttps://api.tagbet.net/api/v1/providers

Returns the providers enabled for your account (AGIXX can disable providers or games per client). Add ?detailed=1 for CanonicalProvider objects.

Response (200)JSON
["PRAGMATIC_PLAY", "PG_SOFT", "AMATIC", "AMUSNET", "GAME_AGGREGATOR", "SOFTGAMING", "ALGNET"]

List studios#

GEThttps://api.tagbet.net/api/v1/providers/:provider/sub-providers

Studios of GAME_AGGREGATOR or SOFTGAMING. Other providers return an empty list. A studio is not a provider key: launch its games with the parent key.

Response (200), example valuesJSON
[
  { "name": "NetEnt",         "gameCount": 120 },
  { "name": "Hacksaw Gaming", "gameCount": 85 }
]

List games#

GEThttps://api.tagbet.net/api/v1/games?provider=PRAGMATIC_PLAY
ParameterRequiredDescription
providerYesProvider key
subProviderNoGAME_AGGREGATOR and SOFTGAMING: only this studio, as named in sub-providers

Returns an array of CanonicalGame. Pass id as gameId to launch. A disabled provider returns [], an unknown one 404. SOFTGAMING games arrive ordered by sort.

One item of the arrayJSONC
{
  "id":            "2376",              // pass as gameId to /api/v1/launch
  "name":          "Gates of Olympus",
  "provider":      "Pragmatic Play",    // studio name
  "providerCode":  "PRAGMATIC_PLAY",    // provider key
  "image":         "https://.../icon.png",
  "thumbnail":     null,
  "symbol":        "vs20olympgate",
  "minBet":        1,
  "maxBet":        1250,
  "category":      "slots",             // free text, see below
  "tags":          ["Popular"],
  "sort":          101063,              // higher = show first
  "branded":       false,
  "exclusive":     false,
  "isVirtual":     false,
  "hasTables":     null,
  "rtp":           96.5,
  "volatility":    "High",              // Low | Medium | High
  "maxMultiplier": 5000,
  "hasDemo":       true,
  "hasFreespins":  true,
  "hasBonusBuy":   false,
  "megaways":      false,
  "aspectRatio":   "16:9",
  "isMobile":      true,
  "releasedAt":    "2021-02-13",
  "hasReplay":     null,
  "hasFreeChips":  null,
  "hasLobby":      null,
  "technology":    "HTML5",
  "raw":           {}                   // source object, not stable: do not depend on it
}
Cache the listThere is no pagination and the SOFTGAMING list is one very large array. Fetch it from a background job and serve your lobby from your own cache; once an hour is enough. We refresh GAME_AGGREGATOR and SOFTGAMING every 6 hours.
Questions about your integration?Write to us with your account name and, if you have one, a sessionId or transactionId. integration@agixx.net
Launch and games - API Documentation | AGIXX