AggregatorDeveloper PlatformAPI documentationv1
API MethodsGet Game Demo
Aggregator API · v1

Get Game Demo

Reference guide and implementation details for get game demo.

Opens a fun-play session. No real money and no player account required.

ItemDetails
WhenPreview / try a game
MoneyNot real-money — no wallet callbacks
PlayerNot required
OperatorStill pass a real id_hash from getGameList
ReturnsLaunch URL + session_id

Method Request

{
  "api_login": "d13b1ceb-6209-4163-b1cf-f304c28b81ec",
  "api_password": "dqRin2nfLosij2n88",
  "method": "getGameDemo",
  "lang": "en",
  "gameid": "onlyplay/SaintBananas",
  "homeurl": "https://url.to.your.page.com",
  "cashierurl": "https://url.to.cashier.page.com",
  "currency": "USD"
}

Successful Response

Open the URL in an iframe or a new window.

{
  "error": 0,
  "response": "https://client-mga.slotsgateway.com/i?play=aHR0cHM6Ly9jbGllbnQtbWdhLnNwaW5zaGllbGQubmV0L3BsYXkvOGI1NGVkZjRmMWQ0YzNlZmRhZmQ5MGU1ZmQ5MmM5OWQvMzcxOTgyMy9zb2Z0c3dpc3MvRGljZUJvbmFuemE=",
  "session_id": "8b54edf4f1d4c3efdafd90e5fd92c99d"
}

Error Response

{
  "error": 1,
  "message": "Game with this gameid does not exist"
}