Skip to main content
GET
/
x
/
users
/
{id}
Get user
curl --request GET \
  --url https://api.example.com/x/users/{id} \
  --header 'x-api-key: <x-api-key>'
1 credit per call · All plans from $0.00012/credit
curl https://xquik.com/api/v1/x/users/xquikcom \
  -H "x-api-key: xq_YOUR_KEY_HERE" | jq

Path parameters

id
string
required
User ID or username (without @).

Headers

x-api-key
string
required
Your API key. Session cookie authentication is also supported.

Response

id
string
User ID.
username
string
X username.
name
string
Display name.
description
string
Profile bio. Omitted if empty.
followers
number
Follower count. Omitted if unavailable.
following
number
Following count. Omitted if unavailable.
verified
boolean
Whether the user is verified. Omitted if unavailable.
profilePicture
string
Profile picture URL. Omitted if unavailable.
location
string
Profile location. Omitted if empty.
createdAt
string
ISO 8601 account creation timestamp. Omitted if unavailable.
statusesCount
number
Total number of tweets posted. Omitted if unavailable.
coverPicture
string
Cover/banner image URL. Omitted if unavailable.
mediaCount
number
Total number of media tweets posted. Omitted if unavailable.
canDm
boolean
Whether the user accepts direct messages. Omitted if unavailable.
url
string
Website URL from profile. Omitted if empty.
favouritesCount
number
Total number of tweets liked. Omitted if unavailable.
hasCustomTimelines
boolean
Whether the user has custom timelines (lists). Omitted if unavailable.
isTranslator
boolean
Whether the user is a Twitter translator. Omitted if unavailable.
withheldInCountries
string[]
Country codes where the account is withheld. Omitted if empty.
possiblySensitive
boolean
Whether the account is flagged as possibly sensitive. Omitted if unavailable.
pinnedTweetIds
string[]
IDs of pinned tweets. Omitted if none.
isAutomated
boolean
Whether the account is marked as automated. Omitted if unavailable.
automatedBy
string
Username of the account operator if automated. Omitted if not automated.
unavailable
boolean
Whether the account is unavailable (suspended, deactivated). Omitted if available.
unavailableReason
string
Reason the account is unavailable. Omitted if available.
verifiedType
string
Verification type (e.g. Business, Government). Omitted if not verified or standard blue check.
profile_bio
object
Structured profile bio with entity annotations. Omitted if unavailable.
{
  "id": "987654321",
  "username": "xquikcom",
  "name": "Xquik",
  "description": "X real-time data platform",
  "followers": 10000,
  "following": 500,
  "verified": true,
  "profilePicture": "https://pbs.twimg.com/profile_images/xquik/photo.jpg",
  "location": "San Francisco",
  "createdAt": "2020-01-15T00:00:00.000Z",
  "statusesCount": 5000
}
Next steps: Check Follower to verify follow relationships, or Search Tweets to find tweets from this user.