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

guildGetMatches

v1

Get recent match history for a game server, including map, mode, scores, and player counts.

Operation Type

Query

Rate Limit: 1 request per 30 minutes per server

Returns large result sets; cache locally between requests.

Input Fields

FieldTypeRequiredDescription
serverIdID!RequiredThe unique identifier of the game server.
gameTypeStringOptionalThe game type identifier.

Code Examples

curl -X POST https://api.dev.bifrostgaming.com/v1/graphql \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "query ($serverId: ID!, $gameType: String) { guildGetMatches(serverId: $serverId, gameType: $gameType) { matches { matchId mapName gameMode team1Score team2Score matchStartTime matchEndTime playerCount } } }",
    "variables": { "serverId": "YOUR_SERVER_ID", "gameType": "HLL" }
  }'

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": {
    "guildGetMatches": {
      "matches": [
        {
          "matchId": "match-abc-123",
          "mapName": "Hurtgen Forest",
          "gameMode": "Warfare",
          "team1Score": 5,
          "team2Score": 0,
          "matchStartTime": "2025-01-15T10:00:00Z",
          "matchEndTime": "2025-01-15T11:30:00Z",
          "playerCount": 100
        },
        {
          "matchId": "match-def-456",
          "mapName": "Carentan",
          "gameMode": "Offensive",
          "team1Score": 3,
          "team2Score": 2,
          "matchStartTime": "2025-01-15T08:00:00Z",
          "matchEndTime": "2025-01-15T09:25:00Z",
          "playerCount": 94
        }
      ]
    }
  }
}

Error Responses

Response Fields

FieldTypeRequiredDescription
matchesArrayOptionalArray of match objects with: matchId, mapName, gameMode, team1Score, team2Score, matchStartTime, matchEndTime, playerCount

In partnership with

Brilliant game servers for communities large and small.

Get yours today!

Shrapnelworks Logo

A Shrapnelworks product