Provider list
This and GET request with one required parameter:
GET /open-api-games/v1/providers?clientId=CLIENT_ID
Parameters
Response:
| Name | Type | Description |
|---|---|---|
providers | list | List of providers |
providers.providerId | string | Content provider id |
providers.providerPrefix | string | Content provider name prefix |
providers.providerName | string | Content provider name |
providers.providerSecret | string | Content provider secret |
providers.isTesting | boolean | Is test provider? |
providers.accounts | list | List of accounts |
providers.accounts.settings | object | Accounts settings |
providers.accounts.settings.accountId | int | Account id |
providers.accounts.settings.gameEmbedUrl | string | Game launch url |
providers.accounts.settings.pendingGamesUrl | string | Pending games url |
providers.accounts.settings.currenciesAvailable | list | Supported currency list |
providers.accounts.settings.countriesAvailable | list | Available country list |
providers.accounts.settings.countriesDisabled | list | Disabled country list |
providers.accounts.settings.royaltyPercent | string | In percents |
providers.accounts.settings.gameLaunchMethod | object | Game Launch method settings |
providers.accounts.settings.gameLaunchMethod.launchMethod | string | Launch method. (GLM_DEFAULT. GLM_API) |
providers.accounts.settings.gameLaunchMethod.providerGameLaunchApiUrl | string | Providers API to process game launch |
providers.accounts.games | list | Games list |
providers.accounts.games.id | string | Game id |
providers.accounts.games.defaultName | string | Game name |
providers.accounts.games.defaultDescription | string | Game description |
providers.accounts.games.launchMethod | list | Game launch method |
providers.accounts.games.launchMethod.capabilities | list | Game launch capabilities. (dc_flashplayer, dc_html5full) |
providers.accounts.games.launchMethods.devices | list | Game supported devices. (dt_mobile, dt_desktop) |
providers.accounts.games.launchMethods.screenWidth | int | Screen width |
providers.accounts.games.launchMethods.screenHeight | int | Screen height |
providers.accounts.games.launchMethods.gameEmbedUrl | string | Specific game launch url. (if not provided main game launch url will be used) |
providers.accounts.games.icons | object | Game icons |
providers.accounts.games.icons.link500x500 | string | Game icon 500x500 |
providers.accounts.games.icons.link300x300 | string | Game icon 300x300 |
providers.accounts.games.icons.link300x188 | string | Game icon 300x188 |
providers.accounts.games.icons.link40x40 | string | Game icon 40x40 |
providers.accounts.games.gameType | string | Game type. BET or SPIN |
providers.accounts.games.hasInternalBonuses | boolean | Game has internal bonus |
providers.accounts.games.spinDescription | map<string, spinDescription> | [Optional field] Optional spins description |
providers.accounts.games.spinDescription.spinDescription | object | Spins description ( only for spin games ) |
providers.accounts.games.spinDescription.spinDescription.lines | list | Available lines |
providers.accounts.games.spinDescription.spinDescription.bets | list | Bets steps |
providers.accounts.games.spinDescription.spinDescription.free_spins | object | Free spins description |
providers.accounts.games.spinDescription.spinDescription.free_spins.enabled | boolean | Are free spins enabled ? |
providers.accounts.games.spinDescription.spinDescription.free_spins.lines | list | Available lines |
providers.accounts.games.spinDescription.spinDescription.free_spins.bets | list | Bets steps |
providers.accounts.games.spinDescription.spinDescription.free_spins.multipliers | list | Multipliers |
providers.accounts.games.betDescription | map<string, betDescription> | [Optional field] Bets description |
providers.accounts.games.betDescription.betDescription | object | Bets description ( only for bets games ) |
providers.accounts.games.betDescription.betDescription.bets | list | Bets steps |
providers.accounts.games.betDescription.betDescription.free_bets | object | Free bets description |
providers.accounts.games.betDescription.betDescription.free_bets.enabled | boolean | Are free spins enabled ? |
providers.accounts.games.betDescription.betDescription.free_bets.bets | list | Free bets steps |
providers.accounts.games.betDescription.betDescription.free_bets.multipliers | list | Multipliers |
providers.accounts.games.tags | list | String game tags list |
providers.accounts.games.decodedSymbols | map<int, string> | [Optional field] Decoded symbols |
providers.accounts.games.inactive | boolean | Active/Inactive |
providers.accounts.games.disableForFun | boolean | Is Demo disabled |
providers.accounts.games.freeGames | object | [Optional field] Free games info |
providers.accounts.games.freeGames.possibleBets | list | List of possible bets |
providers.accounts.games.freeGames.possibleLines | list | List of possible lines |
Errors:
404 Not found - if provider is not found
Example
Request:
curl --location --request GET 'https://api.lostgame.tech/open-api-games/v1/providers?clientId=CLIENT_ID'
Response:
{
"providers": [
{
"providerId": "098cd655-da01-4d6e-8870-ed1939bfc23c",
"providerPrefix": "thunderspin",
"providerName": "thunderspin",
"providerSecret": "secret",
"isTesting": false,
"accounts": [
{
"settings": {
"accountId": 98,
"gameEmbedUrl": "https://cu.example.net/lostgame/api/initgame?gameSession=&gameId=¤cy=&lang=&uid=&homeurl=&refillUrl=&accountId=",
"pendingGamesUrl": "",
"gameLaunchMethod": {
"launchMethod": "GLM_API",
"providerGameLaunchApiUrl": "https://goapi.lostgame.tech/7c82d104-7a59-4833-aacc-a7731e21d303/game-launch-url"
}
"royaltyPercent": "1.5",
"countriesAvailable": [],
"countriesDisabled": [],
"currenciesAvailable": [
"RUB",
"USD",
"EUR"
]
},
"games": [
{
"id": "skylanterns",
"launchMethod": [
{
"capabilities": [
"dc_html5full"
],
"devices": [
"dt_mobile",
"dt_desktop"
],
"screenWidth": 0,
"screenHeight": 0,
"gameEmbedUrl": ""
}
],
"defaultName": "Sky Lanterns",
"defaultDescription": "",
"icons": {
"link500x500": "https://example.net/cdn/example/skylanterns/500x500.jpg",
"link300x300": "https://example.net/cdn/example/skylanterns/300x300.jpg",
"link300x188": "https://example.net/cdn/example/skylanterns/300x188.jpg",
"link40x40": "https://example.net/cdn/example/skylanterns/40x40.jpg"
},
"gameType": "SPIN",
"hasInternalBonuses": false,
"spinDescription": {},
"betDescription": {},
"addedAt": "0",
"tags": [
"example"
],
"decodedSymbols": {},
"inactive": false,
"disableForFun": false,
"freeGames": {
"possibleBets": [
1,
2,
3,
4,
5,
10,
20,
30,
40,
50,
100
],
"possibleLines": [
1,
20,
30,
50,
100
]
}
}
]
}
]
}
]
}