unicum.gg

Resolve a roster

GET
/{region}/resolve
array<number>
array<number>
array<string>

Everything about a set of players and clans in one call: language flags, lifetime and 30-day ratings, win rates, and the clan a player wears. Addressed by the ids a game client hands over, plus clan tags for the one roster that carries no id. Each list is optional, comma separated and capped at 100; a longer list is refused rather than truncated. An id we hold nothing for is absent from the response, while an entity we hold but have no language for is present with an empty languages. Reads cached data only, with no live Wargaming call.

Path Parameters

region*string

Game server region.

Value in

  • "eu"
  • "na"
  • "asia"

Query Parameters

players?array<number>

Account ids. Up to 100.

clans?array<number>

Clan ids. Up to 100.

tags?array<string>

Clan tags, case-insensitive. Up to 100.

Response Body

application/json

curl -X GET "https://example.com/eu/resolve"
{  "players": {    "property1": {      "nickname": "string",      "clan": {        "id": 0,        "tag": "string",        "color": "string"      },      "languages": [        "string"      ],      "countries": [        "string"      ],      "languageSource": "declared",      "ratings": {        "total": {          "wn7": 0,          "wn8": 0,          "wnx": 0,          "battles": 0,          "winrate": 0        },        "recent": {          "wn7": 0,          "wn8": 0,          "wnx": 0,          "battles": 0,          "winrate": 0        }      },      "updatedAt": "2019-08-24T14:15:22Z"    },    "property2": {      "nickname": "string",      "clan": {        "id": 0,        "tag": "string",        "color": "string"      },      "languages": [        "string"      ],      "countries": [        "string"      ],      "languageSource": "declared",      "ratings": {        "total": {          "wn7": 0,          "wn8": 0,          "wnx": 0,          "battles": 0,          "winrate": 0        },        "recent": {          "wn7": 0,          "wn8": 0,          "wnx": 0,          "battles": 0,          "winrate": 0        }      },      "updatedAt": "2019-08-24T14:15:22Z"    }  },  "clans": {    "property1": {      "tag": "string",      "name": "string",      "color": "string",      "membersCount": 0,      "languages": [        "string"      ],      "countries": [        "string"      ],      "languageSource": "declared",      "ratings": {        "total": {          "wn7": 0,          "wn8": 0,          "wnx": 0,          "battles": 0,          "winrate": 0        },        "recent": {          "wn7": 0,          "wn8": 0,          "wnx": 0,          "battles": 0,          "winrate": 0        },        "avgWinrate": 0      },      "updatedAt": "2019-08-24T14:15:22Z"    },    "property2": {      "tag": "string",      "name": "string",      "color": "string",      "membersCount": 0,      "languages": [        "string"      ],      "countries": [        "string"      ],      "languageSource": "declared",      "ratings": {        "total": {          "wn7": 0,          "wn8": 0,          "wnx": 0,          "battles": 0,          "winrate": 0        },        "recent": {          "wn7": 0,          "wn8": 0,          "wnx": 0,          "battles": 0,          "winrate": 0        },        "avgWinrate": 0      },      "updatedAt": "2019-08-24T14:15:22Z"    }  },  "tags": {    "property1": 0,    "property2": 0  }}