Skip to main content

Game List Endpoint

This document describes the /game_list endpoint of the Feed API, which provides a list of available games and their metadata.


Endpoint

POST {KLAS_GAMING_BASE_URL}/game_list

Authentication

All requests to this endpoint must include Authentication header as described in Feed API Authentication.

Example header:

Authorization: <Base64-encoded access_id:secret_id>

Request

  • Method: POST
  • Headers:
    • Authorization: <Base64-encoded access_id:secret_id>
    • Content-Type: application/json

No request body is required.


Response

Success Example

{
"type": "success",
"status": 200,
"data": {
"casino": {
"slot": {
"games": [
{
"id": "e2e53db1-9f45-4a3a-bc8c-90211f6a8f3e",
"name": "Warp War",
"game_code": "CF-Z7X9",
"description": "Flip a coin and predict the outcome.",
"rtp": 96,
"volatility": "Low",
"min_bet": 0.1,
"max_bet": 1000000,
"currency": "USD",
"max_payout": 50000000,
"features": {
"feature1": "50-50-chance"
},
"url": "https://flip.klasbase.com",
"play_count": 1102,
"status": 1,
"created_at": "2025-05-14T12:00:00Z",
"updated_at": "2025-06-10T01:28:16.087Z"
}
]
},
"live_casino": {
"games": []
},
"live_video_slot": {
"games": []
},
},
}
}

Response Fields

FieldTypeDescription
typestringResponse type (e.g., "success")
statusnumberHTTP status code (e.g., 200)
data.gamesarrayList of game objects
idstringUnique game identifier
namestringGame name
game_codestringGame code
descriptionstringGame description
rtpnumberReturn to player percentage
volatilitystringVolatility level (e.g., "High")
min_betnumberMinimum bet amount
max_betnumberMaximum bet amount
currencystringSupported currency (ISO-4217, e.g., USD)
max_payoutnumberMaximum payout
featuresobjectGame features (key-value pairs)
urlstringGame launch URL
play_countnumberNumber of times the game has been played
statusnumberGame status (e.g., 1 = active)
created_atstringCreation timestamp (ISO 8601)
updated_atstringLast update timestamp (ISO 8601)

Error Handling

  • If authentication fails or credentials are missing, the API will return a 401 Unauthorized error.
  • For other errors, standard HTTP error codes and messages are returned.

Example Request

curl -X POST https://<feed-api-host>/game_list \
-H "Authorization: <Base64-encoded access_id:secret_id>" \
-H "Content-Type: application/json"

Notes

  • The list of games and their metadata may change over time; always fetch the latest data as needed.