x_profile
Retrieve public profile details for an X account by username, including bio, images, verification flags, and follower metrics. Returns 404 if profile is not public.
Instructions
Retrieve an X profile. Returns the public profile of an X account by username, with or without a leading @: name, description, location, avatar and banner images, creation date, verification flags, and metrics for followers, following, posts, likes, listed and media. verified_type and affiliate_label appear only when the account has them. Returns 404 when the profile is not public.
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_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| username | Yes | X username |