Twitter User Tweets
Get tweets posted by a specific Twitter/X user. Returns tweet content with engagement metrics (likes, retweets, replies, quotes, bookmarks, views), author info, language, hashtags, and user mentions. Supports pagination.
Price: $0.006 per page. Free tier: 50 requests/month.
Request
- Base URL: https://apidirect.io
- URL: https://apidirect.io/v1/twitter/user/tweets
- Auth: API key in header X-API-Key
Query parameters
Twitter username without the @ symbol (max 50 characters). A leading @ is accepted and stripped.
Number of pages to fetch and merge into one response (1-20, billed per page). Fetching stops early when there are no more results.
Set to true to add AI emotion analysis to each tweet. Adds a sentiment object containing emotions (joy, trust, fear, surprise, sadness, disgust, anger and anticipation, each scored 0-100), dominant_emotion, emotional_intensity (0-10), and polarity (positive, negative or neutral). Any tweet that cannot be scored returns sentiment: null.
Response
Successful response
Changes
No recorded changes to this operation across all 1 revision of this API.