GET Premier Roster Public Info

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

Get public info for a Premier roster by roster ID, including members, customization, and detailed season match/tournament data.

Headers

URL Parameters

Other Variables

Response

type PremierRosterPublicInfoResponse = {
    /** UUID */
    rosterId: 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;
    }[];
    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", "FIRST", "COMPETITOR" */
        crest: string;
        /** e.g. "BASIC", "QUALIFIED" */
        plating: string;
        matches?: {
            [x: string]: {
                /** UUID */
                matchId: string;
                /** UUID */
                seasonId: string;
                /** UUID */
                eventId: string;
                /** Milliseconds since epoch */
                startTime: number;
                pointDeltas: {
                    before: number;
                    after: number;
                    earned: number;
                };
                /** e.g. "win", "loss" */
                outcome: string;
                /** UUID */
                opponentRosterID: string;
            };
        } | undefined;
        tournaments?: {
            [x: string]: {
                /** UUID */
                tournamentId: string;
                placement: number;
                /** Unix timestamp (seconds) */
                startTime: number;
                pointDeltas: {
                    before: number;
                    after: number;
                    earned: number;
                };
                matches: {
                    [x: string]: {
                        points: number;
                        roundNumber: number;
                        totalRounds: number;
                        /** e.g. "WINNERS", "LOSERS" */
                        bracketType: string;
                    };
                };
            };
        } | undefined;
        hasEarnedPromotionForNextSeason: boolean;
        hasEarnedPrestige: boolean;
    };
    version: {
        socialVersion: number;
        premierVersion: 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", "FIRST", "COMPETITOR" */
            crest: string;
            /** e.g. "BASIC", "QUALIFIED" */
            plating: string;
            matches?: {
                [x: string]: {
                    /** UUID */
                    matchId: string;
                    /** UUID */
                    seasonId: string;
                    /** UUID */
                    eventId: string;
                    /** Milliseconds since epoch */
                    startTime: number;
                    pointDeltas: {
                        before: number;
                        after: number;
                        earned: number;
                    };
                    /** e.g. "win", "loss" */
                    outcome: string;
                    /** UUID */
                    opponentRosterID: string;
                };
            } | undefined;
            tournaments?: {
                [x: string]: {
                    /** UUID */
                    tournamentId: string;
                    placement: number;
                    /** Unix timestamp (seconds) */
                    startTime: number;
                    pointDeltas: {
                        before: number;
                        after: number;
                        earned: number;
                    };
                    matches: {
                        [x: string]: {
                            points: number;
                            roundNumber: number;
                            totalRounds: number;
                            /** e.g. "WINNERS", "LOSERS" */
                            bracketType: string;
                        };
                    };
                };
            } | undefined;
            hasEarnedPromotionForNextSeason: boolean;
            hasEarnedPrestige: boolean;
        };
    };
};