List providers

Live
GET/api/v1/games/providers

All game providers available on your site (only providers the agent holds and has enabled), sorted by sort_order. Filterable by game category.

Responds with Cache-Control: public, max-age=60 — cache it on your side for 60 seconds instead of calling on every page view.

Headers

FieldTypeRequiredDescription
Authorizationstring—Not used — this endpoint is public; no member token required
X-Api-KeystringYesAgent API key (ak_…) from the bo screen
X-TimestampstringYesSigning time in unix milliseconds (±300s skew allowed)
X-NoncestringYesUnique per-request value (UUIDv4) for replay protection
X-SignaturestringYeshex(HMAC-SHA256(secret, canonical)) — see the Authentication page
X-Player-IPstring—The player's real IP (IPv4/IPv6) — recommended (used in login history)
X-Player-UAstring—The player's User-Agent (optional — recorded in login history)
X-Request-Idstring—Your correlation id — echoed back as request_uuid (recommended)
x-langstring—th (default) or en — the language of message

Query parameters

FieldTypeRequiredDescription
categorystring—Only providers that carry this game category (omit for all providers)SLOT | ARCADE | LIVE_CASINO | TABLE | FISHING | SPORT | LOTTERY | ESPORT | KENO | COCKFIGHT

Response

Fields in data

FieldTypeRequiredDescription
data[]array<object>—Provider list, sorted by sort_order
└ idstring (uuid)—Provider id — use as ?provider_id= on the game list
└ codestring—Provider code, e.g. PGSOFT
└ namestring—Display name
└ logo_urlstring | null—Provider logo URL
└ categoriesstring[]—Game categories this provider carriesSLOT | ARCADE | LIVE_CASINO | TABLE | FISHING | SPORT | LOTTERY | ESPORT | KENO | COCKFIGHT
└ game_countnumber—Number of games
└ launch_game_idstring | null—Single-game providers (game_count = 1, e.g. sportsbook / live casino) → the one game's id so you can launch straight from the provider card without a game list. null = the provider has a game list.
└ maintenance_untilstring | null—Under maintenance until this time (if null = operating normally)
└ sort_ordernumber—Recommended display order
Response example
{
  "success": true,
  "code": 0,
  "message": "สำเร็จ",
  "data": [
    {
      "id": "b7a3e6c2-1f4d-4e8a-9c5b-2d7f8a1e3b6c",
      "code": "PGSOFT",
      "name": "PG Soft",
      "logo_url": "https://cdn.example.com/providers/pgsoft.png",
      "categories": ["SLOT"],
      "game_count": 138,
      "launch_game_id": null,
      "maintenance_until": null,
      "sort_order": 1
    },
    {
      "id": "5d9c1f8a-2e6b-4a3d-b7c9-8f0a1d2e3c4b",
      "code": "SBOBET",
      "name": "SBOBET",
      "logo_url": "https://cdn.example.com/providers/sbobet.png",
      "categories": ["SPORT"],
      "game_count": 1,
      "launch_game_id": "9a4b7c1d-3e5f-4a6b-8c9d-0e1f2a3b4c5d",
      "maintenance_until": null,
      "sort_order": 8
    }
  ],
  "request_uuid": "9f2b7d1e-4a83-4c1f-b2ce-6d5a0e8f3c21"
}

Possible error codes

codeNameHTTPMessage
4001VALIDATION_ERROR400Validation errorcategory is not one of the supported game types
4002BAD_REQUEST400Bad requestThe request's agent could not be resolved (unknown domain/credential)