API Document

Endpoint, both modes

List the games POST

The games of the catalog, page by page, in sort_order and then by name. A game's id is the game_id launch takes, and its code is the game_code of callbacks and bet records. Games of a removed provider are not listed. A suspended agent can still call it.

HTTP Request

POST {{ API_URL }}/api/v1/games

Headers

PropertyTypeRequiredDescription
X-Api-KeystringRequiredOn the endpoints: the API key of your API credential. A missing header or a key we do not know is answered 401 with code 1001. Send it with X-Timestamp and X-Signature on every request.
X-TimestampstringRequiredOn the endpoints: Unix time in seconds when you signed the request. One more than 300 seconds away from our clock, in either direction, is answered 401 with code 1025. Keep your clock in sync (NTP).
X-SignaturestringRequiredOn the endpoints: lowercase hex of HMAC-SHA256 with the secret of your API credential as the key, over the X-Timestamp value, a dot (.), then the raw request body exactly as you send it. One that does not match is answered 401 with code 1030. There is no nonce.
Accept-LanguagestringOptionalThe language of message. English when absent or when we do not have the language; th for Thai. It is the only way to choose the language. message is for people only: decide on code.

Parameter Description

PropertyTypeRequiredDescription
pageintegerOptional
limitintegerOptional
provider_idstringOptionalThe id of a provider.
categorystring[]OptionalOnly games of these categories.
tagstringOptionalA label on a game. New values may come in version 1. One of: POPULAR, NEW, HOT
searchstringOptionalPart of the game's name, in any case.

Request Body

Request body: The first page of every gamejson
{}
Request body: The slot games of one providerjson
{
  "provider_id": "5b0c1d2e-3f4a-4b5c-8d6e-7f8091a2b3c4",
  "category": [
    "SLOT"
  ],
  "page": 1,
  "limit": 100
}

Response

PropertyTypeRequiredDescription
successbooleanRequiredAlways true
codenumberRequiredAlways 0
messagestringRequiredFor people only. Never decide on it.
request_uuidstringRequiredOur id of the request. Quote it to support.
dataobjectRequired
data.dataobject[]Required
data.data[].idstringRequiredThe game's id, the game_id launch takes.
data.data[].provider_idstringRequired
data.data[].providerobjectRequired
data.data[].provider.codestringRequiredThe provider's code, the provider_code of callbacks and bet records.
data.data[].provider.namestringRequired
data.data[].provider.logo_urlstring | nullRequired
data.data[].codestringRequiredOur code of the game, the game_code of callbacks and bet records.
data.data[].namestringRequired
data.data[].typestringRequiredThe category of a game. New values may come in version 1: accept one you do not know in a response. One of: SLOT, ARCADE, LIVE_CASINO, TABLE, FISHING, SPORT, LOTTERY, ESPORT, KENO, COCKFIGHT
data.data[].thumbnail_urlstring | nullRequired
data.data[].tagsstring[]Required
data.data[].rtpstring | nullRequiredThe game's RTP in percent, as a decimal string such as 96.81.
data.data[].volatilitystring | nullRequiredOne of: LOW, MEDIUM, HIGH, null
data.data[].has_demobooleanRequired
data.data[].is_activebooleanRequiredFalse when the game is switched off. Shown as state, never a filter.
data.data[].maintenance_fromstring | nullRequiredStart of the game's planned maintenance window, as on a provider.
data.data[].maintenance_untilstring | nullRequiredEnd of the game's planned maintenance window, as on a provider. Launch refuses the game inside the window (3127).
data.data[].sort_orderintegerRequired
data.paginationobjectRequired
data.pagination.pageintegerRequired
data.pagination.limitintegerRequired
data.pagination.totalintegerRequiredHow many items the filter matches.
data.pagination.total_pagesintegerRequired
JSON response examplejson
{
  "success": true,
  "code": 0,
  "message": "Games listed",
  "data": {
    "data": [
      {
        "id": "3f2a1b0c-9d8e-4f7a-8b6c-5d4e3f2a1b0c",
        "provider_id": "5b0c1d2e-3f4a-4b5c-8d6e-7f8091a2b3c4",
        "provider": {
          "code": "PGSOFT",
          "name": "PG Soft",
          "logo_url": "https://cdn.example.com/providers/pgsoft.png"
        },
        "code": "fortune-tiger",
        "name": "Fortune Tiger",
        "type": "SLOT",
        "thumbnail_url": "https://cdn.example.com/games/fortune-tiger.png",
        "tags": [
          "POPULAR"
        ],
        "rtp": "96.81",
        "volatility": "MEDIUM",
        "has_demo": true,
        "is_active": true,
        "maintenance_from": null,
        "maintenance_until": null,
        "sort_order": 1
      }
    ],
    "pagination": {
      "page": 1,
      "limit": 50,
      "total": 1,
      "total_pages": 1
    }
  },
  "request_uuid": "6d7e8f90-1122-43b4-a5c6-e7f8091a2b3c"
}

Errors

HTTPcodeWhen
4004001A field has the wrong shape
4011001A header is missing or the key is unknown
4011030The signature does not match
4011025X-Timestamp is too far from our clock
4031031The caller's IP is not on the key's allowlist
4031032The endpoint is not for your agent's wallet mode
4031026A production key without an IP allowlist
4031002The request could not be checked
5009001Something failed on our side