API Direct
Endpoints
Twitter User Replies

Twitter User Replies

GET /v1/twitter/user/replies
Documentation

Get replies posted by a specific Twitter/X user. Returns the content of each reply along with engagement metrics. Supports pagination.

Cost
$0.006 per page
Free tier
50 requests/month

Parameters

username *
Twitter username (without @, max 50 characters)
pages
Number of pages to fetch, 1-10 (default: 1)
get_sentiment
Set to true to add AI emotion analysis (+$0.001/page)

Example Request

curl "https://apidirect.io/v1/twitter/user/replies?username=elonmusk&pages=1" \
  -H "X-API-Key: YOUR_API_KEY"

Example Response

{
  "replies": [
    {
      "title": "@elonmusk on X",
      "url": "https://twitter.com/elonmusk/status/...",
      "date": "2024-03-01 15:20:00",
      "author": "elonmusk",
      "source": "Twitter (X)",
      "domain": "x.com",
      "snippet": "@user Indeed, that is correct",
      "likes": 5000,
      "retweets": 200,
      "replies": 300,
      "quotes": 50,
      "bookmarks": 100,
      "views": 500000,
      "author_followers": 235918920,
      "author_verified": true,
      "lang": "en",
      "is_reply": true,
      "is_quote": false,
      "hashtags": [],
      "user_mentions": ["user"],
      "sentiment": {
        "emotions": {
          "joy": 40,
          "trust": 55,
          "fear": 0,
          "surprise": 10,
          "sadness": 0,
          "disgust": 0,
          "anger": 0,
          "anticipation": 30
        },
        "dominant_emotion": "trust",
        "emotional_intensity": 5,
        "polarity": "positive"
      }
    }
  ],
  "username": "elonmusk",
  "pages": 1,
  "count": 20
}

Your Usage

Free tier this month
Loading...
Recent Activity