X user profile by handle or ID: name, bio, counts, badge type, location and website
GET/v1/x/users/get
- Takes: Username
- Passive: the target is not contacted
- Cost: $0.0004 per item returned, at least $0.0004 and at most $0.04 per call
- Plan: Any plan (prepaid balance)
Give exactly one of id or username (a POST batch form takes up to 100 IDs). The full view adds ext.verified_type (business or government badge), ext.location and ext.website as written on the profile.
Query parameters
usernameX handle, without the @ (give this or id)
idX user ID, a string of digits
viewHow much of each item: compact (most used fields, long text cut short), standard, or full (adds the platform's own fields under ext)
fieldsReturn only these fields of each item, by path, comma-separated
Response fields · 13ShowHide
id
Account ID on the platform
username
Handle
name
Display name
url
Link to the profile
bio
Bio
verified
Whether the account is verified (standard view and up)
created_at
When the account was created (standard view and up)
followers
Followers
following
Following
posts
Posts published
amount
What the call was charged, in US dollars
location
Location given on the profile, any text (full view)
website
Website given on the profile, full address (full view)
curl 'https://api.dataxapi.com/v1/x/users/get' \
-H 'Authorization: Bearer YOUR_API_KEY'{
"code": "ok",
"request_id": "3f2b9c1e-0a4d-4e8b-9c7f-1d2e3f4a5b6c",
"data": {
"item": {
"id": "1234567890",
"username": "examplegroup",
"name": "Example Research Group",
"url": "https://example.com/examplegroup",
"bio": "Notes on open-source research.",
"avatar_url": "https://example.com/avatar.jpg",
"verified": false,
"created_at": "2015-03-14T09:00:00Z",
"metrics": {
"followers": 1520,
"following": 180,
"posts": 342
},
"ext": {
"verified_type": null,
"location": "Example City",
"website": "https://example.org"
}
}
},
"warnings": [],
"meta": {
"capability": "x.users.get",
"result_status": "complete",
"fetched_at": "2026-11-20T10:00:00Z",
"cached": false,
"replayed": false,
"unavailable": {},
"billing": {
"amount": "0.0004",
"currency": "USD",
"balance_after": "9.998"
}
}
}