User
Represents a Fortnite user.Attributes
The client instance.
The user’s account ID.
The user’s display name. Defaults to Epic Games account name, or external auth display name if no Epic account.
List of external authentication connections (e.g., Xbox, PlayStation). May be empty.
Whether the user has an Epic Games account (not just an external platform account).
The user’s XMPP JID (Jabber ID) for messaging.
Whether the account is disabled (cannot login). Other attributes may not work if
True.Methods
fetch
HTTPException- Request error
fetch_br_stats
UTC start time (epoch seconds, datetime, or
Season.start_timestamp).UTC end time (epoch seconds, datetime, or
Season.end_timestamp).Stats object for the user.
Forbidden- User has hidden stats in privacy settingsHTTPException- Request error
fetch_ranked_stats
The season to get ranks for. Defaults to current season.
List of ranks for all game modes in the season.
HTTPException- Request error
fetch_br_stats_collection
The predefined stats collection to fetch.
UTC start time.
UTC end time.
The stats collection.
Forbidden- User has hidden statsHTTPException- Request error
fetch_battlepass_level
The season to get the Battle Pass level for.
UTC start time.
UTC end time.
Battle Pass level with decimal progress.
None if no matches played.Example: 208.63 = Level 208, 63% progress to 209.HTTPException- Request error
fetch_event_tokens
List of event token strings.
HTTPException- Request error
fetch_flag
The user’s country flag enum, or
None if not set.HTTPException- Request error
block
HTTPException- Request error
add
NotFound- User does not existDuplicateFriendship- Already friendsFriendshipRequestAlreadySent- Request already pendingMaxFriendshipsExceeded- Client hit friendship limitInviteeMaxFriendshipsExceeded- User hit friendship limitInviteeMaxFriendshipRequestsExceeded- User hit request limitForbidden- Cannot send request due to user settingsHTTPException- Request error
ClientUser
Represents the client’s own user account. ExtendsUser with additional account information.
Additional Attributes
The age group of the user.
Whether the user can update their display name.
The country the user was registered in.
The user’s email address.
None for headless accounts.Number of failed login attempts.
Whether the account is headless (no Epic Games account linked).
UTC timestamp of last login.
None if never logged in.First name.
None for headless accounts.Alias for
name.Last name.
None for headless accounts.Full name (first + last).
None for headless accounts.Number of times display name has been changed.
User’s preferred language.
Whether two-factor authentication is enabled.
Whether the email has been verified.
Whether the account has been verified as run by a minor.
Whether the account is expected to be run by a minor.
The minor status of the account.
Additional Properties
The full JID including resource part (from XMPP client).
BlockedUser
Represents a blocked user. ExtendsUser.
Methods
unblock
HTTPException- Request error
UserSearchEntry
Represents a user entry from a user search. ExtendsUser.
Additional Attributes
List of (display_name, platform) tuples that matched the search.Example:
[('Tfue', UserSearchPlatform.EPIC_GAMES)]The type of match (exact, prefix, etc.).
Number of Epic Games mutual friends with the client.
SacSearchEntryUser
Represents a user from a Support-A-Creator code search. ExtendsUser.
Additional Attributes
The creator code (slug) that matched.
Whether the creator code is currently active.
Whether the creator code is verified.
ExternalAuth
Represents an external authentication connection (e.g., Xbox, PlayStation).Attributes
The client instance.
The platform type (e.g., “xbl”, “psn”).
The user’s Fortnite account ID.
The user’s ID on the external platform. May be
None.The user’s display name on the external platform. May be
None.Additional information from the API. Usually empty except for
ClientUser.