POST

User Profile

/v1/twitter/user

Get a complete Twitter user profile including follower counts, bio, verification status, profile image, and more.

Request Parameters

ParameterTypeRequiredDescription
usernamestringYesTwitter username (without @)

Example

curl -X POST https://query-data-api.notpeople.ai/v1/twitter/user \
  -H "X-API-Key: tw_live_your_key" \
  -H "Content-Type: application/json" \
  -d '{"username": "elonmusk"}'

Response Schema

All responses include success, data, and usage fields.

FieldTypeDescription
user_idstringUnique Twitter user ID
usernamestringTwitter handle
namestringDisplay name
biostringProfile biography
followers_countintNumber of followers
following_countintNumber of accounts followed
tweets_countintTotal number of tweets
verifiedboolWhether the user is verified
profile_image_urlstringURL to the profile picture
created_atstringAccount creation date string
relationshipobject | nullRelationship status (following, followed_by, blocking, muting)

Example Response

{
  "success": true,
  "data": {
    "user_id": "44196397",
    "username": "elonmusk",
    "name": "Elon Musk",
    "bio": "https://t.co/dDtDyVssfm",
    "followers_count": 237483553,
    "following_count": 1304,
    "tweets_count": 100088,
    "verified": true,
    "profile_image_url": "https://pbs.twimg.com/profile_images/.../photo.jpg",
    "created_at": "Tue Jun 02 20:12:29 +0000 2009",
    "relationship": null
  },
  "usage": {
    "unique_posts": 81,
    "limit": 6000,
    "remaining": 5919
  }
}

Try this endpoint live

Sign up for free to try endpoints directly from the docs. No credit card required.

Create Free Account