Skip to main content
GET
/
user
/
profile
Get X User Profile
curl --request GET \
  --url https://api.zilodata.com/api/v1/x/user/profile \
  --header 'Authorization: Bearer <token>'
{
  "id": "1234567890",
  "username": "elonmusk",
  "displayName": "Elon Musk",
  "bio": "Tesla, SpaceX, Neuralink, Boring Company",
  "followerCount": 150000000,
  "followingCount": 100,
  "tweetCount": 25000,
  "likeCount": 500000,
  "isVerified": true,
  "isProtected": false,
  "profileImageUrl": "<string>",
  "createdAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

username
string
required

Twitter username (without @)

Response

Successful response

id
string
Example:

"1234567890"

username
string
Example:

"elonmusk"

displayName
string
Example:

"Elon Musk"

bio
string
Example:

"Tesla, SpaceX, Neuralink, Boring Company"

followerCount
integer
Example:

150000000

followingCount
integer
Example:

100

tweetCount
integer
Example:

25000

likeCount
integer
Example:

500000

isVerified
boolean
Example:

true

isProtected
boolean
Example:

false

profileImageUrl
string<uri>
createdAt
string<date-time>