c70f0e286159

OpenAPI 3.1.02026-08-0412793496.7 KB
Tweets

Get tweet with full text, author, metrics and media

Get tweet with full text, author, metrics and media.

get/api/v1/x/tweets/{id}

Path parameters

idstring required

Numeric tweet ID, 15-20 digits

Response

Tweet with author

Example response

{
  "tweet": {
    "id": "1234567890",
    "text": "Just launched our new feature!",
    "createdAt": "2025-01-15T12:00:00Z",
    "conversationId": "1234567890",
    "source": "Twitter Web App",
    "type": "tweet",
    "url": "https://x.com/example_user/status/1234567890",
    "lang": "en",
    "inReplyToId": "1234567890",
    "inReplyToUserId": "9876543210",
    "inReplyToUsername": "example_user",
    "displayTextRange": [
      0,
      31
    ],
    "contentDisclosure": {
      "advertising": {
        "isPaidPromotion": true
      },
      "aiGenerated": {
        "detectionSource": "UserDeclared",
        "hasAiGeneratedMedia": true
      }
    },
    "quoted_tweet": {
      "contentDisclosure": {
        "advertising": {
          "isPaidPromotion": true
        },
        "aiGenerated": {
          "detectionSource": "UserDeclared",
          "hasAiGeneratedMedia": true
        }
      },
      "author": {
        "id": "9876543210",
        "username": "elonmusk",
        "name": "Elon Musk",
        "description": "CEO of Tesla, SpaceX, and X",
        "followers": 150000000,
        "following": 500,
        "verified": true,
        "isBlueVerified": true,
        "isVerified": true,
        "profilePicture": "https://pbs.twimg.com/profile_images/example.jpg",
        "coverPicture": "https://pbs.twimg.com/profile_banners/example.jpg",
        "profileBannerUrl": "https://pbs.twimg.com/profile_banners/example.jpg",
        "location": "Austin, TX",
        "createdAt": "2009-06-02T20:12:29Z",
        "statusesCount": 35000,
        "mediaCount": 1200,
        "url": "https://xquik.com",
        "favouritesCount": 18000,
        "hasCustomTimelines": true,
        "withheldInCountries": [
          "DE"
        ],
        "pinnedTweetIds": [
          "1234567890"
        ],
        "automatedBy": "example_user",
        "unavailableReason": "suspended",
        "verifiedType": "Business",
        "communityRole": "Member",
        "profile_bio": {
          "description": "CEO of Tesla, SpaceX, and X",
          "entities": {
            "urls": []
          }
        }
      }
    },
    "retweeted_tweet": {
      "contentDisclosure": {
        "advertising": {
          "isPaidPromotion": true
        },
        "aiGenerated": {
          "detectionSource": "UserDeclared",
          "hasAiGeneratedMedia": true
        }
      },
      "author": {
        "id": "9876543210",
        "username": "elonmusk",
        "name": "Elon Musk",
        "description": "CEO of Tesla, SpaceX, and X",
        "followers": 150000000,
        "following": 500,
        "verified": true,
        "isBlueVerified": true,
        "isVerified": true,
        "profilePicture": "https://pbs.twimg.com/profile_images/example.jpg",
        "coverPicture": "https://pbs.twimg.com/profile_banners/example.jpg",
        "profileBannerUrl": "https://pbs.twimg.com/profile_banners/example.jpg",
        "location": "Austin, TX",
        "createdAt": "2009-06-02T20:12:29Z",
        "statusesCount": 35000,
        "mediaCount": 1200,
        "url": "https://xquik.com",
        "favouritesCount": 18000,
        "hasCustomTimelines": true,
        "withheldInCountries": [
          "DE"
        ],
        "pinnedTweetIds": [
          "1234567890"
        ],
        "automatedBy": "example_user",
        "unavailableReason": "suspended",
        "verifiedType": "Business",
        "communityRole": "Member",
        "profile_bio": {
          "description": "CEO of Tesla, SpaceX, and X",
          "entities": {
            "urls": []
          }
        }
      }
    },
    "author": {
      "id": "9876543210",
      "username": "elonmusk",
      "name": "Elon Musk",
      "followers": 150000000,
      "verified": true
    },
    "retweetCount": 5,
    "replyCount": 3,
    "likeCount": 42,
    "quoteCount": 1,
    "viewCount": 1500,
    "bookmarkCount": 2
  },
  "author": {
    "id": "9876543210",
    "username": "elonmusk",
    "name": "Elon Musk",
    "followers": 150000000,
    "verified": true
  }
}