API docs
Search docs
Guides, operations and types

Users, query

searchUsers

Public No credentials needed.

Users whose username, display name or profile tag starts with query, exact matches first. Banned accounts are left out.

Arguments

query String! required
first Int default 8

Returns

[User!]!

id ID!
username String!

The account's name: the Twitch login with Twitch connected, else the name picked when signing up with YouTube. Stays the name for search and lookups even when a handle is set.

connections [Connection!]!

Platform accounts connected to this user (Twitch, YouTube, TikTok), at most one per platform.

handle String

Self-chosen profile tag shown instead of the username (@handle); null shows the username.

handleChangeableAt Time

When you may change your tag next; null when you can now. Only set on your own user.

displayName String!
avatarUrl String
twitchColor String

Twitch chat name color (#rrggbb) as of the last login, null if never set or without Twitch (paints then lie on a neutral color).

bio String
role Role!
USERMODERATORADMINOWNER
banned Boolean!
supporter Boolean!

Whether the user is a Supporter right now (subscription or bought/gifted time; staff perks don't count).

createdAt Time!

Emotes uploaded by this user, newest first.

emoteSets [EmoteSet!]!
channels [Channel!]!

Channels this user owns or edits, owned ones first.

paint Paint

The paint this user wears in chat by default. Supporters can wear another one per channel (outfits): chat clients look chatters up per channel, see the chat integrations guide.

ownedPaints [CosmeticGrant!]!

Paints this user owns. Public; expiresAt and note only for the user and staff.

badge Badge

The badge this user wears in chat by default; may differ per channel, like paint.

ownedBadges [CosmeticGrant!]!

Badges this user owns. Public; expiresAt and note only for the user and staff.

decoration Decoration

The frame this user wears around their profile picture by default; may differ per channel, like paint.

ownedDecorations [CosmeticGrant!]!

Avatar decorations this user owns. Public; expiresAt and note only for the user and staff.

personalSet EmoteSet

Emotes this user can use in every chat, or null if they never set any up. Supporters can pick another selection per channel; chat clients look it up per channel.

staffRoles [StaffRole!]!

Staff roles of a staff member. Only visible to staff.

roleColor String

Color of the highest staff role that has one, for the role badge; null for users and roles without a color.

roleName String

Name of the staff role the badge shows (the one roleColor comes from, else the highest); null for users without staff roles.

followerCount Int!

How many people follow this user. Always public.

followingCount Int!

How many people this user follows. Always public.

followedByViewer Boolean!

You follow this user.

followsViewer Boolean!

This user follows you.

isContact Boolean!

You follow each other.

followListsVisible Boolean!

You may see followers and following (the user allows it, or it is you, or you are staff).

followers UserConnection!

Who follows this user, newest first. Error when followListsVisible is false.

following UserConnection!

Whom this user follows, newest first. Error when followListsVisible is false.

followedBy FollowedBy!

People you follow who follow this user ("Followed by A, B and 3 others"); your contacts first. Empty when the lists are private.

Search
Find emotes or users, or jump to a page