GET Roster

https://pd.{shard}.a.pvp.net/premier/v2/rosters/{rosterid}

Get Premier roster (team) data by roster ID, including members, customization, and seasonal stats.

Headers

URL Parameters

Other Variables

Response

type RosterResponse = {
    /** UUID */
    rosterId: string;
    /** Region affinity, e.g. "eu", "na" */
    affinity: string;
    name: string;
    tag: string;
    customization: {
        /** UUID */
        icon: string;
        /** Unreal Engine color string */
        primaryColor: string;
        secondaryColor: string;
        tertiaryColor: string;
    };
    members: {
        /** Player UUID */
        puuid: string;
        role: "OWNER" | "MEMBER";
        roleId: number;
        /** Unix timestamp (seconds) */
        createdAt: number;
    }[];
    invites: unknown[];
    locks: unknown[];
    season: {
        /** UUID */
        id: string;
        isEnrolled: boolean;
        conference: string;
        division: number;
        isProvisionalDivision: boolean;
        promotionApplied: boolean;
        points: number;
        wins: number;
        gamesPlayed: number;
        seasonMatchRoundWins: number;
        seasonMatchRoundsPlayed: number;
        /** e.g. "NONE", "COMPETITOR", "PLAYOFFS" */
        crest: string;
        hasEarnedPromotionForNextSeason: boolean;
        hasEarnedPrestige: boolean;
    };
    minimumRequiredMembersForEnrollment: number;
    matchesSinceReset: number;
    tournamentsSinceReset: number;
    version: {
        socialVersion: number;
        premierVersion: number;
    };
    /** Unix timestamp (seconds) */
    updatedAt: number;
    /** Unix timestamp (seconds) */
    createdAt: number;
    seasonalInfoBySeasonID: {
        [x: string]: {
            /** UUID */
            id: string;
            isEnrolled: boolean;
            conference: string;
            division: number;
            isProvisionalDivision: boolean;
            promotionApplied: boolean;
            points: number;
            wins: number;
            gamesPlayed: number;
            seasonMatchRoundWins: number;
            seasonMatchRoundsPlayed: number;
            /** e.g. "NONE", "COMPETITOR", "PLAYOFFS" */
            crest: string;
            hasEarnedPromotionForNextSeason: boolean;
            hasEarnedPrestige: boolean;
        };
    };
    prestige: {
        earnedPrestige: boolean;
        plating: string;
    };
};