Skip to content

Get an X user's public profile

POST/v1/tools/x.user.profile/callsNeeds an API key

Returns an X user's public profile, with bio, follower count and post count. Use it to look up an account.

Tool x.user.profile on X (Twitter). Contract version 1, released 2026-10-27.

Over REST, send the input in the body. Over MCP, pass the same input to call_tool.

Both return the full response: the call's ID, status and cost, with this tool's result in output.

Input

usernamestringRequired

The user's handle, without the @.

Output

A successful call returns these blocks in its output. A field not marked required can be null.

user

One object. Can be null.

idstring

X's numeric identifier of the user, as a string.

usernamestringRequired

The user's handle, without the @. The profile is at https://x.com/ followed by it.

namestring

The user's display name.

biostring

The text of the user's profile.

bio_linkstring

The link on the user's profile.

locationstring

Where the user says they are, as they wrote it.

image_urlstring

Address of the user's profile picture.

banner_image_urlstring

Address of the image across the top of the user's profile.

verifiedboolean

Whether X marks the user as verified.

privateboolean

Whether the account is protected, its posts shown only to approved followers.

created_atstring

When the account was created, in ISO 8601.

follower_countinteger
following_countinteger

Number of accounts the user follows.

post_countinteger

Number of posts the user published, reposts and replies included.

like_countinteger

Number of posts the user liked.