Get replies posted by a specific Twitter/X user. Returns the content of each reply along with engagement metrics. Supports pagination.
curl "https://apidirect.io/v1/twitter/user/replies?username=elonmusk&pages=1" \
-H "X-API-Key: YOUR_API_KEY"
{
"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
}