[Game] FairPlay API
    • Getting Started
      • Introduction
      • Session and Token
      • Request and Response
      • Real-time Events (SSE)
      • Lotto Rules — หวยเฮงเฮง
      • Provably Fair
    • Player
      • Demo
        • Demo Login
      • Player Bet History
        GET
    • Common
      • Game
        • By Game Code
          • Provably Fair
            • Set Client Seed
            • Verify Result
            • Get Revealed Server Seed
          • Check Session
          • Get Balance
          • Get Provably-Fair State
        • Lobby Game List
    • Wallet
      • Wallet Status
        GET
    • Game
      • Lotto (หวยเฮงเฮง)
        • Lotto Rules
        • Rooms
          • By Room
            • Join Round
            • Place Multi-player Bet
            • Get Round Result
            • Room Event Stream
        • Tickets
          • Create Ticket
          • Inquiry My Tickets
          • Get Ticket
        • Round
          • Get My Bets
          • Get My Result
          • Get Round Provably Fair
        • Results
          • Inquiry Results
        • Get Rooms
        • Get Current Round
        • Get Pay Table
    • Appendix
      • Game List
      • Error Codes
      • Rate Limits
    • Language List
      GET
    • Ping
      GET
    • Schemas
      • DemoLoginRequest
      • DemoLoginResponse
      • DemoProfileResponse
      • ProfileResponse
      • GetHistoryResponse
      • BetRecord
      • GameInfo
      • Room
      • GetGameResponse
      • BetRequest
      • Bet
      • BetResponse
      • BetResult
      • GetProvablyFairResponse
      • SetClientSeedRequest
      • SetClientSeedResponse
      • RotateServerSeedResponse
      • VerifyResultRequest
      • VerifyResultResponse
      • GetServerSeedResponse
      • GetStatusResponse
      • JoinRoundResponse
      • PlaceMultiPlayerBetRequest
      • PlaceBetResponse
      • RoundResultResponse
      • SuccessResponse
      • ErrorResponse

      Ping

      GET
      /gapi/v1/ping
      Liveness check for the Game API. Returns a small JSON object without the standard envelope.
      Auth: None
      Rules
      No envelope: the body is the object itself (no code, description, traceID or data).
      No token, no rate limit and not blocked by maintenance.
      The timestamp key is literally timestamp(UTC), parentheses included; the value is UTC RFC 3339 with nanoseconds.
      Flow
      1.
      Accepts any caller.
      2.
      Reads the current server time in UTC.
      3.
      Returns the service name, "pong" and the time.

      Request

      Header Params

      Responses

      🟢200OK
      application/json
      Bodyapplication/json

      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location 'https://dev-api.ambfairgame.com/gapi/v1/gapi/v1/ping' \
      --header 'Accept-Language: th'
      Response Response Example
      Whole response body.
      {
          "service": "Game API",
          "status": "pong",
          "timestamp(UTC)": "2026-09-30T08:00:00.123456789Z"
      }
      Modified at 2026-09-30 13:23:45
      Previous
      Language List
      Next
      DemoLoginRequest
      Built with