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/gamesHeaders
| Property | Type | Required | Description |
|---|---|---|---|
X-Api-Key | string | Required | On 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-Timestamp | string | Required | On 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-Signature | string | Required | On 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-Language | string | Optional | The 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
| Property | Type | Required | Description |
|---|---|---|---|
page | integer | Optional | |
limit | integer | Optional | |
provider_id | string | Optional | The id of a provider. |
category | string[] | Optional | Only games of these categories. |
tag | string | Optional | A label on a game. New values may come in version 1. One of: POPULAR, NEW, HOT |
search | string | Optional | Part of the game's name, in any case. |
Request Body
{}{
"provider_id": "5b0c1d2e-3f4a-4b5c-8d6e-7f8091a2b3c4",
"category": [
"SLOT"
],
"page": 1,
"limit": 100
}Response
| Property | Type | Required | Description |
|---|---|---|---|
success | boolean | Required | Always true |
code | number | Required | Always 0 |
message | string | Required | For people only. Never decide on it. |
request_uuid | string | Required | Our id of the request. Quote it to support. |
data | object | Required | |
data.data | object[] | Required | |
data.data[].id | string | Required | The game's id, the game_id launch takes. |
data.data[].provider_id | string | Required | |
data.data[].provider | object | Required | |
data.data[].provider.code | string | Required | The provider's code, the provider_code of callbacks and bet records. |
data.data[].provider.name | string | Required | |
data.data[].provider.logo_url | string | null | Required | |
data.data[].code | string | Required | Our code of the game, the game_code of callbacks and bet records. |
data.data[].name | string | Required | |
data.data[].type | string | Required | The 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_url | string | null | Required | |
data.data[].tags | string[] | Required | |
data.data[].rtp | string | null | Required | The game's RTP in percent, as a decimal string such as 96.81. |
data.data[].volatility | string | null | Required | One of: LOW, MEDIUM, HIGH, null |
data.data[].has_demo | boolean | Required | |
data.data[].is_active | boolean | Required | False when the game is switched off. Shown as state, never a filter. |
data.data[].maintenance_from | string | null | Required | Start of the game's planned maintenance window, as on a provider. |
data.data[].maintenance_until | string | null | Required | End of the game's planned maintenance window, as on a provider. Launch refuses the game inside the window (3127). |
data.data[].sort_order | integer | Required | |
data.pagination | object | Required | |
data.pagination.page | integer | Required | |
data.pagination.limit | integer | Required | |
data.pagination.total | integer | Required | How many items the filter matches. |
data.pagination.total_pages | integer | Required |
{
"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
| HTTP | code | When |
|---|---|---|
| 400 | 4001 | A field has the wrong shape |
| 401 | 1001 | A header is missing or the key is unknown |
| 401 | 1030 | The signature does not match |
| 401 | 1025 | X-Timestamp is too far from our clock |
| 403 | 1031 | The caller's IP is not on the key's allowlist |
| 403 | 1032 | The endpoint is not for your agent's wallet mode |
| 403 | 1026 | A production key without an IP allowlist |
| 403 | 1002 | The request could not be checked |
| 500 | 9001 | Something failed on our side |