Launch and games
Open a game session and build your lobby.
Launch a game#
POST
https://api.tagbet.net/api/v1/launchCreates a game session and returns a URL. Call it from your server and redirect the player to gameUrl.
| Field | Type | Required | Description |
|---|---|---|---|
provider | string | Yes | Provider key, see Providers |
gameId | string | Yes | Game 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. |
playerId | string | Yes | Your own player id. It comes back in every callback. |
currency | string | Recommended | Uppercase ISO code: TRY, ILS, EUR, USD. Always send it. Default: USD (SOFTGAMING: EUR). |
playerIp | string | Recommended | The player's real public IP (from the player's request, not your server). Needed for SOFTGAMING studios: without it most games show "Restricted". |
language | string | Optional | ISO language code. Default en; GAME_AGGREGATOR: provider default. |
returnUrl | string | Optional | Lobby URL after the game. Not used by ALGNET. |
gameName | string | Optional | Stored with the session |
playerName | string | Optional | Display name. Shown in game on ALGNET; stored for all. |
demo | boolean | Optional | true = play for fun: no session, no callbacks. GAME_AGGREGATOR and SOFTGAMING only, others return NOT_SUPPORTED. |
{
"provider": "PRAGMATIC_PLAY",
"gameId": "2376",
"playerId": "player_123",
"currency": "TRY",
"language": "tr",
"playerIp": "203.0.113.10",
"returnUrl": "https://your-casino.com/lobby"
}{
"sessionId": "clxyz1234567890",
"gameUrl": "https://game-server.com/play?token=abc",
"provider": "PRAGMATIC_PLAY",
"gameId": "2376"
}{
"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#
GET
https://api.tagbet.net/api/v1/providersReturns the providers enabled for your account (AGIXX can disable providers or games per client). Add ?detailed=1 for CanonicalProvider objects.
["PRAGMATIC_PLAY", "PG_SOFT", "AMATIC", "AMUSNET", "GAME_AGGREGATOR", "SOFTGAMING", "ALGNET"]List studios#
GET
https://api.tagbet.net/api/v1/providers/:provider/sub-providersStudios 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.
[
{ "name": "NetEnt", "gameCount": 120 },
{ "name": "Hacksaw Gaming", "gameCount": 85 }
]List games#
GET
https://api.tagbet.net/api/v1/games?provider=PRAGMATIC_PLAY| Parameter | Required | Description |
|---|---|---|
provider | Yes | Provider key |
subProvider | No | GAME_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.
{
"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