API Direct
Endpoints
Twitter Tweet Details

Twitter Tweet Details

GET /v1/twitter/tweet
Documentation

Get detailed information for a single tweet by its ID. Returns the full tweet content, engagement metrics, author info, and metadata.

Cost
$0.006 per request
Free tier
50 requests/month

Parameters

tweet_id *
Numeric tweet ID
get_sentiment
Set to true to add AI emotion analysis (+$0.001/request)

Example Request

curl "https://apidirect.io/v1/twitter/tweet?tweet_id=1631781099415257088" \
  -H "X-API-Key: YOUR_API_KEY"

Example Response

{
  "tweet": {
    "title": "@username on X",
    "url": "https://twitter.com/username/status/1631781099415257088",
    "date": "2024-01-15 14:30:00",
    "author": "username",
    "source": "Twitter (X)",
    "domain": "x.com",
    "snippet": "Full tweet content here...",
    "likes": 5000,
    "retweets": 1200,
    "replies": 300,
    "quotes": 150,
    "bookmarks": 800,
    "views": 250000,
    "author_followers": 50000,
    "author_verified": true,
    "lang": "en",
    "is_reply": false,
    "is_quote": false,
    "hashtags": ["tech"],
    "user_mentions": [],
    "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"
    }
  }
}

Your Usage

Free tier this month
Loading...
Recent Activity