Skip to main content
GET
User Tweets
💳 1 credit per request

Authorizations

X-API-Key
string
header
required

API key for authentication. Format: sk_live_xxxxxxxxxxxxx

Get your API key from the Dashboard.

Query Parameters

handle
string
required

Twitter handle

Example:

"levelsio"

trim
boolean

Set to true for a trimmed down version of the response

Example:

false

Response

Successful response

Key Response Fields:

  • tweets[0].rest_id: Tweet ID string
  • tweets[0].legacy.full_text: Full tweet text content
  • tweets[0].legacy.created_at: Tweet creation timestamp
  • tweets[0].legacy.favorite_count: Like count
  • tweets[0].legacy.retweet_count: Retweet count
  • tweets[0].legacy.reply_count: Reply count
  • tweets[0].legacy.quote_count: Quote tweet count
  • tweets[0].legacy.bookmark_count: Bookmark count
  • tweets[0].views.count: Total view count
  • tweets[0].legacy.entities.media: Attached photos/videos
  • tweets[0].url: Direct URL to the tweet on x.com
  • tweets[0].core.user_results.result.core.screen_name: Author @handle
  • Use trim=true for a leaner response without nested user objects