Get an X profile
x_user_getA public X profile: bio, follower and post counts, verification, pinned post.
A public profile by handle: name, bio, location, website, created_at, follower/following/post counts, checkmark type, and the pinned post in includes.tweets. Suspended or missing accounts answer target_not_found. Use x_user_tweets for the posts.
Cost: 1 credit per call, refunded automatically if the call fails. Read-only, public data only. Results include cost_credits and credits_remaining.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"username": "<username>"
},
"name": "x_user_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| username | Yes | Handle, with or without the @, or a profile URL. |