App Logo
x.com

Get X user info

Look up an X user's profile by handle. Returns handle, user_id, name, bio, location, website, joined, followers_count, following_count, is_verified, is_self, is_following, follows_you. Follower/following counts are exact integers, not X's abbreviated "3.7M" display text. bio and website carry the real destination URLs, with X's t.co shortlinks resolved. is_following is null on your own profile (you have no follow relationship to yourself); user_id is always present.

Input

handle required

X handle without the leading @. Case-insensitive; the result carries the canonical casing.

Output

name required
handle required

Canonical handle as returned by X (may differ in casing from the input).

is_self required

True when this profile is the signed-in viewer's own.

user_id required

Numeric rest_id. Always present, including your own profile.

follows_you required

Whether they follow you.

is_verified required

Blue/verified badge (is_blue_verified).

is_following required

Whether you follow them; null on your own profile.

bio optional

Profile bio text, with any t.co shortlinks replaced by their real destination (as the page displays them); null when empty.

joined optional

Account creation date in X's format, e.g. 'Tue Jun 02 20:12:29 +0000 2009'.

website optional

Expanded profile URL (the full destination link, not the t.co shortlink or the display text); null when the profile has none.

location optional

Profile location; null when empty.

followers_count optional

Exact follower count as an integer (not X's abbreviated '1.3M' display string).

following_count optional

Exact count of accounts this profile follows; 0 is a real value.

Start building not clicking