Bifrost Bifrost
POSThttps://api.dev.bifrostgaming.com/v1/graphql

partnerGetLiveServerData

v1

Returns real-time live match data for a specific server, including current map, scores, time remaining, and all connected players with their stats. Data is sourced from the live game state and is updated approximately every 15 seconds by the RCON data collection worker.

Operation Type

Query

Rate Limit: No rate limit (testing)

Rate limiting is currently disabled during the testing phase. This will be enforced in production. We recommend polling no more frequently than once every 3 minutes.

Important usage notes

  • This endpoint does NOT require an encrypted payload. Pass your partnerId and partnerEncryptionKey directly as query variables.
  • Returns null (not an error) if the server ID does not exist, is inactive, or has no live match data.
  • Data is sourced from the live Redis game state, updated approximately every 15 seconds by the RCON worker.
  • The faction field returns the actual faction name (e.g. "USA", "Germany", "Soviets", "UK") based on the current map, while team returns "Allies" or "Axis".
  • We recommend polling no more frequently than once every 3 minutes per server.
  • Use partnerGetLiveServerIds first to discover available server IDs, then call this endpoint for each server you want to monitor.
  • Rate limiting is currently disabled during the testing phase.

Input Fields

FieldTypeRequiredDescription
partnerIdString!RequiredYour unique partner identifier, provided when your partner account was created.
partnerEncryptionKeyString!RequiredYour partner encryption key (Base64-encoded). Used to verify your identity.
serverIdString!RequiredThe UUID of the server to fetch live data for. Obtain server IDs from partnerGetLiveServerIds.

Code Examples

# Get live data for a specific server
curl -X POST https://api.dev.bifrostgaming.com/v1/graphql \
  -H "Content-Type: application/json" \
  -d '{
    "query": "query PartnerGetLiveServerData($partnerId: String!, $partnerEncryptionKey: String!, $serverId: String!) { partnerGetLiveServerData(partnerId: $partnerId, partnerEncryptionKey: $partnerEncryptionKey, serverId: $serverId) { serverId serverName updatedAt timeRemainingSeconds currentMapRcon currentMapFriendly totalPlayers alliedScore axisScore players { playerId playerName team faction kills deaths teamkills combat offensive defensive support } } }",
    "variables": {
      "partnerId": "your-partner-id",
      "partnerEncryptionKey": "your-base64-encryption-key",
      "serverId": "f90167a4-6b2f-4a3d-bb1c-aee247041afb"
    }
  }'

Postman Collection

Download a ready-to-use Postman collection for this endpoint. Import it into Postman to start testing immediately.

How to import into Postman
  1. Open Postman and click Import (top-left)
  2. Drag and drop the downloaded .json file, or click Upload Files and select it
  3. Click Import to confirm
  4. The collection appears in your sidebar — expand it and select the request
  5. In the Body tab, update the placeholder values (your-partner-id, etc.) with your actual credentials
  6. Click Send

The collection uses Postman's GraphQL body type, which provides syntax highlighting and variable editing. Make sure your Postman version is 7.2+ for GraphQL support.

Success Response200

{
  "data": {
    "partnerGetLiveServerData": {
      "serverId": "f90167a4-6b2f-4a3d-bb1c-aee247041afb",
      "serverName": "79th ID | New Players Welcome | discord.gg/79th",
      "updatedAt": "2026-03-30T08:58:22Z",
      "timeRemainingSeconds": 3989,
      "currentMapRcon": "kursk_warfare",
      "currentMapFriendly": "Kursk (Day)",
      "totalPlayers": 98,
      "alliedScore": 1,
      "axisScore": 4,
      "players": [
        {
          "playerId": "e993f1cecdc1ea3dc1494d01ab40496c",
          "playerName": "Mr Swein",
          "team": "Axis",
          "faction": "Germany",
          "kills": 15,
          "deaths": 3,
          "teamkills": 0,
          "combat": 144,
          "offensive": 0,
          "defensive": 380,
          "support": 150
        },
        {
          "playerId": "730f28322a6dee466512006e0e5caae3",
          "playerName": "SpaceAcid_SW",
          "team": "Allies",
          "faction": "Soviets",
          "kills": 2,
          "deaths": 4,
          "teamkills": 0,
          "combat": 19,
          "offensive": 220,
          "defensive": 140,
          "support": 85
        }
      ]
    }
  }
}

Error Responses

Response Fields

FieldTypeRequiredDescription
serverIdStringRequiredThe server UUID.
serverNameStringRequiredThe friendly display name of the server.
updatedAtStringRequiredISO 8601 timestamp of when the game state was last updated.
timeRemainingSecondsIntOptionalSeconds remaining in the current match. May be null if not available.
currentMapRconStringRequiredThe RCON identifier for the current map (e.g. "kursk_warfare").
currentMapFriendlyStringRequiredHuman-readable map name (e.g. "Kursk (Day)").
totalPlayersIntRequiredTotal number of players currently connected to the server.
alliedScoreIntRequiredCurrent score for the Allied team.
axisScoreIntRequiredCurrent score for the Axis team.
players[PartnerLivePlayer]RequiredArray of all connected players with their current stats.
players[].playerIdStringRequiredUnique player identifier (Steam ID or platform ID).
players[].playerNameStringRequiredCurrent in-game display name of the player.
players[].teamStringRequiredThe team the player is on: "Allies" or "Axis".
players[].factionStringRequiredThe faction name for the player's team (e.g. "USA", "Germany", "Soviets", "UK").
players[].killsIntRequiredInfantry kills in the current match.
players[].deathsIntRequiredDeaths in the current match.
players[].teamkillsIntRequiredTeam kills (friendly fire) in the current match.
players[].combatIntRequiredCombat score in the current match.
players[].offensiveIntRequiredOffensive score in the current match.
players[].defensiveIntRequiredDefensive score in the current match.
players[].supportIntRequiredSupport score in the current match.

In partnership with

Brilliant game servers for communities large and small.

Get yours today!

Shrapnelworks Logo

A Shrapnelworks product