v1

latestOpenAPI 3.1.02026-07-1410021.9 KB

Leaderboard

Retrieves leaderboard information for one (or more) contracts

get/leaderboards

Query parameters

platformsstring required

The platforms requested, separated by a comma. Possible values are Epic, PlayStation, Steam, Switch, Xbox.

publicIdsstring required

The contract IDs, formatted as #-##-#######-##, separated by comma

Response

200

contractIdsstring[]
uniqueContractNamesstring[]
uniqueContractLocationsstring[]
accessTimestring

Example response

{
  "contractIds": [
    "1-00-0000000-00"
  ],
  "uniqueContractNames": [
    "Contract Name"
  ],
  "uniqueContractLocations": [
    "New York (Golden Handshake)"
  ],
  "entries": [
    {
      "playerId": "00000000-0000-0000-0000-000000000000",
      "playerName": "Name",
      "compositeRank": 1,
      "platformRank": 1,
      "platform": "Epic",
      "elapsedTime": "00:00:04",
      "totalScore": 209440,
      "detailedScore": {
        "silentAssassin": true,
        "starCount": 5,
        "objectivesCompleted": true,
        "noNoticedKills": true,
        "noBodiesFound": true,
        "neverSpotted": true,
        "noRecordings": true,
        "timeBonus": 109440
      }
    }
  ],
  "accessTime": "2022-02-27T21:05:57.329457Z"
}
All 10 operations