Look up an X profile by user ID, username or profile URL.
GET/x/users/{id}
- Takes: Username
- Passive: the target is not contacted
- Cost: 1 credit per call
Returns the profile, counts, verification status and image URLs. Suspended or deactivated accounts set unavailable and unavailableReason. Omitted fields mean X did not supply them.
Path parameters
idNumeric user ID, username (with or without @), or URL-encoded profile URL
Query parameters
fieldsComma-separated fields to keep; dots address nested fields
omitComma-separated fields to drop
Response fields · 12ShowHide
id
User ID
username
Handle
name
Display name
description
Bio
followers
Follower count
following
Following count
verified
Verification status
location
Profile location
url
Profile website
createdAt
ISO 8601 creation time
statusesCount
Posts count
pinnedTweetIds
Pinned post IDs
curl 'https://xquik.com/api/v1/x/users/exampleuser' \
-H 'x-api-key: YOUR_API_KEY'{
"id": "987654321",
"username": "exampleuser",
"name": "Example User",
"description": "An example bio",
"followers": 1000,
"following": 200,
"verified": false,
"location": "Springfield",
"url": "https://example.com",
"createdAt": "2020-01-15T00:00:00.000Z",
"statusesCount": 500,
"pinnedTweetIds": [
"1234567890"
]
}