https://api.dev.bifrostgaming.com/v1/graphqlguildGetPlayers
v1Returns a snapshot of every player currently on the specified server, enriched with per-player scoring (combat / offense / defense / support), role, squad, team, faction, VIP status, and any active Bifrost flags assigned by your guild. Backed by the in-game RCON session feed; the snapshot timestamp tells you how fresh the data is (typically under 30s old).
Operation Type
Query
Rate Limit: 1 request per 30 seconds per server
Designed for near real-time polling of player lists.
Input Fields
| Field | Type | Required | Description |
|---|---|---|---|
serverId | ID! | Required | Unique server identifier (UUID). |
gameType | String | Optional | Game type code. Defaults to "HLL". |
Code Examples
curl -X POST https://api.dev.bifrostgaming.com/v1/graphql \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-d '{
"query": "query { guildGetPlayers(serverId: \"YOUR_SERVER_ID\", gameType: \"HLL\") { timestamp totalCount roles { roleIndex roleName } players { eosId playerId playerName playerClanTag platform level squad role team faction isVip flags { flagId flagName flagSource flagColor flagNote createdAt } combatScore offenseScore defenseScore supportScore kills deaths teamkills } } }"
}'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
- Open Postman and click Import (top-left)
- Drag and drop the downloaded
.jsonfile, or click Upload Files and select it - Click Import to confirm
- The collection appears in your sidebar — expand it and select the request
- In the Body tab, update the placeholder values (
your-partner-id, etc.) with your actual credentials - 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": {
"guildGetPlayers": {
"timestamp": "2026-05-24T14:08:14Z",
"totalCount": 2,
"roles": [
{ "roleIndex": 0, "roleName": "Rifleman" },
{ "roleIndex": 9, "roleName": "Squad Leader" },
{ "roleIndex": 13, "roleName": "Commander" }
],
"players": [
{
"eosId": "0002503284224769bfb8a580c9d43ef1",
"playerId": "76561198012345678",
"playerName": "ExamplePlayerOne",
"playerClanTag": "DSS",
"platform": "steam",
"level": 78,
"squad": "ABLE",
"role": "Squad Leader",
"team": "Allies",
"faction": "Soviets",
"isVip": false,
"flags": [],
"combatScore": 1243,
"offenseScore": 400,
"defenseScore": 380,
"supportScore": 165,
"kills": 58,
"deaths": 12,
"teamkills": 0
},
{
"eosId": null,
"playerId": "76561198087654321",
"playerName": "ExamplePlayerTwo",
"playerClanTag": "",
"platform": "steam",
"level": 145,
"squad": "FOX",
"role": "Rifleman",
"team": "Axis",
"faction": "Germany",
"isVip": true,
"flags": [
{
"flagId": "a1b2c3d4-5678-90ab-cdef-1234567890ab",
"flagName": "Watchlist",
"flagSource": "guild",
"flagColor": "#FFA500",
"flagNote": "Reported by mod team 2026-04-12",
"createdAt": "2026-04-12T18:23:11Z"
}
],
"combatScore": 324,
"offenseScore": 200,
"defenseScore": 520,
"supportScore": 475,
"kills": 34,
"deaths": 8,
"teamkills": 0
}
]
}
}
}Error Responses
Response Fields
| Field | Type | Required | Description |
|---|---|---|---|
roles | [GuildPlayerRole!]! | Required | All player roles defined for the requested gameType (not just roles currently present on the server). Use to translate role indices to names. |
players | [GuildEnrichedPlayer!]! | Required | Enriched player records. Empty array when the server is empty. |
timestamp | String! | Required | ISO 8601 timestamp of when the underlying RCON snapshot was captured. |
totalCount | Int! | Required | Equals players.length. |
roles[].roleIndex | Int! | Required | Numeric role index used by the game engine (e.g. 0 = Rifleman, 9 = Squad Leader, 13 = Commander for HLL). |
roles[].roleName | String! | Required | Human-readable role name (e.g. "Rifleman", "Squad Leader", "Tank Commander"). |
players[].playerId | String! | Required | Platform-specific player ID. Steam64 (17-digit numeric) for Steam; hex string for PSN / Xbox. |
players[].playerName | String! | Required | In-game display name. |
players[].eosId | String | Optional | Epic Online Services ID (cross-platform). Null when the server has not reported one. |
players[].playerClanTag | String | Optional | Clan tag (e.g. "13SNC"). Empty string when the player has none set. |
players[].platform | String | Optional | Player platform. One of "steam", "psn", "xbl". Null if unreported. |
players[].level | Int | Optional | Player level in the game. Null if unreported. |
players[].squad | String | Optional | Squad name (e.g. "ABLE", "DOG"). Empty string when the player is not in a squad. |
players[].role | String | Optional | Human-readable role name (matches roles[].roleName). Null if the player's role index is unknown or unreported. |
players[].team | String | Optional | One of "Allies" or "Axis". Null if current game state has not been resolved for this server. |
players[].faction | String | Optional | Faction name for the player's team on the current map (e.g. "Soviets", "Germany", "US"). Null if game state or map metadata is unavailable. |
players[].isVip | Boolean! | Required | True if this player has an active VIP entitlement recorded in your guild for this server. |
players[].flags | [GuildPlayerFlag!]! | Required | Active Bifrost flags assigned to this player by your guild. Empty array when none. |
players[].combatScore | Int | Optional | Current-match combat score reported by the game. Null if unreported. |
players[].offenseScore | Int | Optional | Current-match offense score. Null if unreported. |
players[].defenseScore | Int | Optional | Current-match defense score. Null if unreported. |
players[].supportScore | Int | Optional | Current-match support score. Null if unreported. |
players[].kills | Int | Optional | Current-match infantry kill count (does not include vehicle kills). Null if unreported. |
players[].deaths | Int | Optional | Current-match death count. Null if unreported. |
players[].teamkills | Int | Optional | Current-match team-kill count. Null if unreported. |
players[].flags[].flagId | String | Optional | Flag identifier. For guild custom flags this is the guild-custom flag UUID; for system flags this is the system flag ID. Null if neither resolves. |
players[].flags[].flagName | String! | Required | Human-readable flag name (e.g. "Cheater", "Watchlist", "Banned Elsewhere"). |
players[].flags[].flagSource | String! | Required | Origin of the flag. One of "system" (Bifrost-wide) or "guild" (your guild's custom flag). |
players[].flags[].flagColor | String | Optional | Hex color (e.g. "#FFA500") used for UI rendering. Null if not set. |
players[].flags[].flagNote | String | Optional | Optional free-form note attached when the flag was raised. |
players[].flags[].createdAt | String! | Required | ISO 8601 timestamp when the flag was raised. |
A Shrapnelworks product