Skip to main content
GET
/
v1
/
twitter
/
fetch_tweet_detail
cURL
curl --request GET \
  --url 'https://api.keyapi.ai/v1/twitter/fetch_tweet_detail?tweet_id=1808168603721650364' \
  --header 'Authorization: Bearer <YOUR_API_KEY>'
{
  "code": 0,
  "message": "success",
  "data": {
    "likes": 290650,
    "created_at": "Tue Jul 02 15:59:23 +0000 2024",
    "status": "active",
    "text": "The New York Times is attacking *your* freedom of speech! https://t.co/TRIa13TWdY",
    "display_text": "The New York Times is attacking *your* freedom of speech!",
    "urls": [],
    "retweets": 54428,
    "bookmarks": 6826,
    "quotes": 3934,
    "reply_to": null,
    "replies": 27119,
    "lang": "en",
    "in_reply_to_screen_name": null,
    "in_reply_to_status_id_str": null,
    "in_reply_to_user_id_str": null,
    "sensitive": false,
    "views": "53714572",
    "conversation_id": "1808168603721650364",
    "entities": {
      "hashtags": [],
      "media": [
        {
          "display_url": "pic.x.com/TRIa13TWdY",
          "expanded_url": "https://x.com/elonmusk/status/1808168603721650364/photo/1",
          "ext_media_availability": {
            "status": "Available"
          },
          "features": {
            "large": {
              "faces": []
            },
            "medium": {
              "faces": []
            },
            "orig": {
              "faces": []
            },
            "small": {
              "faces": []
            }
          },
          "id_str": "1808168600894689280",
          "indices": [
            58,
            81
          ],
          "media_key": "3_1808168600894689280",
          "media_results": {
            "result": {
              "media_key": "3_1808168600894689280"
            }
          },
          "media_url_https": "https://pbs.twimg.com/media/GRfnwy5X0AAwIK2.jpg",
          "original_info": {
            "focus_rects": [
              {
                "h": 355,
                "w": 634,
                "x": 20,
                "y": 0
              },
              {
                "h": 355,
                "w": 355,
                "x": 160,
                "y": 0
              },
              {
                "h": 355,
                "w": 311,
                "x": 182,
                "y": 0
              },
              {
                "h": 355,
                "w": 178,
                "x": 248,
                "y": 0
              },
              {
                "h": 355,
                "w": 712,
                "x": 0,
                "y": 0
              }
            ],
            "height": 355,
            "width": 712
          },
          "sizes": {
            "large": {
              "h": 355,
              "resize": "fit",
              "w": 712
            },
            "medium": {
              "h": 355,
              "resize": "fit",
              "w": 712
            },
            "small": {
              "h": 339,
              "resize": "fit",
              "w": 680
            },
            "thumb": {
              "h": 150,
              "resize": "crop",
              "w": 150
            }
          },
          "type": "photo",
          "url": "https://t.co/TRIa13TWdY"
        }
      ],
      "symbols": [],
      "timestamps": [],
      "urls": [],
      "user_mentions": []
    },
    "initial_tweets": null,
    "author": {
      "rest_id": "44196397",
      "name": "Elon Musk",
      "screen_name": "elonmusk",
      "image": "https://pbs.twimg.com/profile_images/2008546467615580160/57KcqsTA_normal.jpg",
      "blue_verified": true,
      "verification": null,
      "sub_count": 236275111
    },
    "media": {
      "photo": [
        {
          "media_url_https": "https://pbs.twimg.com/media/GRfnwy5X0AAwIK2.jpg",
          "id": "1808168600894689280"
        }
      ]
    },
    "id": "1808168603721650364"
  },
  "requestId": "67e0d743-ada5-4f4a-81bd-018bd9169589"
}
πŸͺ™1 creditper request

Copy for AI

πŸ€– Why Code When AI Can Do It For You?

Stop writing code like it’s 1970! Let AI do the heavy lifting - click the sparkles to copy a perfectly formatted prompt for ChatGPT, Claude, or your favorite AI assistant.

Authorizations

Authorization
string
header
required

API key for authentication. Format: sk_live_xxxxxxxxxxxxx Get your API key from the Dashboard.

Query Parameters

tweet_id
string
required

Tweet ID, obtainable from the tweet URL For example: https://x.com/elonmusk/status/1808168603721650364 β€” the ID is 1808168603721650364.

Example:

"1808168603721650364"

Response

The response is of type object.