Tweets
GET
/tw-v2/user/tweetsDescription
Retrieve tweets posted by a specific user. Returns a paginated timeline of original tweets (no replies).
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| userId | string | required | Unique Twitter/X user ID (e.g., '44196397') |
| cursor | string | optional | Pagination cursor for fetching next page of results. Obtained from previous response. |
Code Examples
const params = new URLSearchParams({
userId: '44196397'
});
const response = await fetch(`https://api.tweetapi.com/tw-v2/user/tweets?${params}`, {
method: 'GET',
headers: {
'X-API-Key': 'YOUR_API_KEY'
}
});
const data = await response.json();
console.log(data);
Response
Success Response (200 OK)
200
{
"data": [
{
"id": "1973625945480429602",
"conversationId": "1973625945480429602",
"text": "It should be criminal to target and groom children into the gender cult. Big thank you to @libsoftiktok for fighting this from the beginning.",
"displayTextRange": [
0,
140
],
"author": {
"id": "44196397",
"username": "elonmusk",
"name": "Elon Musk",
"bio": "https://t.co/9qhgzJ69UQ",
"location": null,
"website": null,
"pinnedTweetIds": [
"1973288477988143277"
],
"avatar": "https://pbs.twimg.com/profile_images/1936002956333080576/kqqe2iWO_400x400.jpg",
"banner": "https://pbs.twimg.com/profile_banners/44196397/1739948056/1500x500",
"profileImageShape": "Circle",
"verified": false,
"isBlueVerified": true,
"verifiedType": null,
"verifiedSince": null,
"isIdentityVerified": false,
"isProtected": false,
"possiblySensitive": false,
"profileInterstitialType": null,
"withheldInCountries": [],
"professional": {
"type": "Creator",
"category": [],
"restId": "1679729435447275522"
},
"businessAccount": null,
"creatorSubscriptionsCount": 0,
"hasHiddenSubscriptions": false,
"highlightsInfo": null,
"hasGraduatedAccess": true,
"isProfileTranslatable": false,
"hasCustomTimelines": true,
"isTranslator": false,
"affiliatesHighlightedLabel": {
"label": {
"url": {
"url": "https://twitter.com/X",
"urlType": "DeepLink"
},
"badge": {
"url": "https://pbs.twimg.com/profile_images/1955359038532653056/OSHY3ewP_bigger.jpg"
},
"description": "X",
"userLabelType": "BusinessLabel",
"userLabelDisplayType": "Badge"
}
},
"defaultProfile": false,
"defaultProfileImage": false,
"followerCount": 226995942,
"followingCount": 1218,
"tweetCount": 86746,
"listedCount": 164447,
"mediaCount": 4162,
"favoritesCount": 174839,
"createdAt": "2009-06-02T20:12:29.000Z"
},
"source": null,
"type": "retweet",
"replyTo": null,
"quotedTweet": null,
"retweetedTweet": null,
"likeCount": 0,
"retweetCount": 308,
"replyCount": 0,
"quoteCount": 0,
"bookmarkCount": 0,
"viewCount": 0,
"media": [],
"poll": null,
"card": null,
"hashtags": [],
"mentions": [
"SethDillon",
"libsoftiktok"
],
"urls": [],
"symbols": [],
"possiblySensitive": false,
"limitedActions": null,
"isEdited": false,
"editControl": null,
"isTranslatable": false,
"lang": "en",
"translatedText": null,
"hasBirdwatchNotes": false,
"birdwatchPivot": null,
"conversationControl": null,
"isPromoted": false,
"promotedMetadata": null,
"createdAt": "2025-10-02T05:47:48.000Z",
"place": null,
"communityId": null,
"communityResults": null
},
{
"id": "1973579201715511323",
"conversationId": "1973579201715511323",
"text": "Cancel Netflix",
"displayTextRange": [
0,
14
],
"author": {
"id": "44196397",
"username": "elonmusk",
"name": "Elon Musk",
"bio": "https://t.co/9qhgzJ69UQ",
"location": null,
"website": null,
"pinnedTweetIds": [
"1973288477988143277"
],
"avatar": "https://pbs.twimg.com/profile_images/1936002956333080576/kqqe2iWO_400x400.jpg",
"banner": "https://pbs.twimg.com/profile_banners/44196397/1739948056/1500x500",
"profileImageShape": "Circle",
"verified": false,
"isBlueVerified": true,
"verifiedType": null,
"verifiedSince": null,
"isIdentityVerified": false,
"isProtected": false,
"possiblySensitive": false,
"profileInterstitialType": null,
"withheldInCountries": [],
"professional": {
"type": "Creator",
"category": [],
"restId": "1679729435447275522"
},
"businessAccount": null,
"creatorSubscriptionsCount": 0,
"hasHiddenSubscriptions": false,
"highlightsInfo": null,
"hasGraduatedAccess": true,
"isProfileTranslatable": false,
"hasCustomTimelines": true,
"isTranslator": false,
"affiliatesHighlightedLabel": {
"label": {
"url": {
"url": "https://twitter.com/X",
"urlType": "DeepLink"
},
"badge": {
"url": "https://pbs.twimg.com/profile_images/1955359038532653056/OSHY3ewP_bigger.jpg"
},
"description": "X",
"userLabelType": "BusinessLabel",
"userLabelDisplayType": "Badge"
}
},
"defaultProfile": false,
"defaultProfileImage": false,
"followerCount": 226995942,
"followingCount": 1218,
"tweetCount": 86746,
"listedCount": 164447,
"mediaCount": 4162,
"favoritesCount": 174839,
"createdAt": "2009-06-02T20:12:29.000Z"
},
"source": null,
"type": "quote",
"replyTo": null,
"quotedTweet": {
"id": "1973538358556266987",
"conversationId": "1973538358556266987",
"text": "Done https://t.co/IZ6RBzsBAa",
"displayTextRange": [
0,
4
],
"author": {
"id": "7076492",
"username": "Glinner",
"name": "Graham Linehan 🎗️",
"bio": "Substack https://t.co/C5bDlddFJx YouTube https://t.co/KxvlEmE8G3 BuyMeACoffee https://t.co/SFz8dFE7Bp",
"location": "Norwich",
"website": null,
"pinnedTweetIds": [
"1973507606330446311"
],
"avatar": "https://pbs.twimg.com/profile_images/1275451851920404487/33tfznq2_400x400.jpg",
"banner": "https://pbs.twimg.com/profile_banners/7076492/1757876134/1500x500",
"profileImageShape": "Circle",
"verified": false,
"isBlueVerified": true,
"verifiedType": null,
"verifiedSince": null,
"isIdentityVerified": false,
"isProtected": false,
"possiblySensitive": false,
"profileInterstitialType": null,
"withheldInCountries": [],
"professional": null,
"businessAccount": null,
"creatorSubscriptionsCount": 0,
"hasHiddenSubscriptions": false,
"highlightsInfo": null,
"hasGraduatedAccess": true,
"isProfileTranslatable": false,
"hasCustomTimelines": true,
"isTranslator": false,
"affiliatesHighlightedLabel": {},
"defaultProfile": false,
"defaultProfileImage": false,
"followerCount": 672408,
"followingCount": 3478,
"tweetCount": 267584,
"listedCount": 4978,
"mediaCount": 15841,
"favoritesCount": 96203,
"createdAt": "2007-06-25T21:03:36.000Z"
},
"source": null,
"type": "quote",
"replyTo": null,
"quotedTweet": null,
"retweetedTweet": null,
"likeCount": 6504,
"retweetCount": 493,
"replyCount": 303,
"quoteCount": 2,
"bookmarkCount": 259,
"viewCount": 13373944,
"media": [
{
"id": "1973538336896851979",
"key": "3_1973538336896851979",
"type": "photo",
"url": "https://pbs.twimg.com/media/G2NqqUFaIAsA8QP.jpg",
"displayUrl": "pic.x.com/IZ6RBzsBAa",
"expandedUrl": "https://x.com/Glinner/status/1973538358556266987/photo/1",
"thumbnailUrl": "https://pbs.twimg.com/media/G2NqqUFaIAsA8QP.jpg",
"width": 631,
"height": 664,
"aspectRatio": [
631,
664
],
"sizes": {
"thumb": {
"width": 150,
"height": 150,
"resize": "crop"
},
"small": {
"width": 631,
"height": 664,
"resize": "fit"
},
"medium": {
"width": 631,
"height": 664,
"resize": "fit"
},
"large": {
"width": 631,
"height": 664,
"resize": "fit"
},
"original": {
"width": 631,
"height": 664,
"resize": "fit"
}
},
"duration": null,
"bitrate": null,
"videoInfo": null,
"altText": null,
"sensitiveMedia": false,
"features": {
"all": [],
"large": [],
"medium": [],
"small": [],
"orig": [
{
"faces": [
{
"x": 0,
"y": 239,
"width": 631,
"height": 353
},
{
"x": 0,
"y": 33,
"width": 631,
"height": 631
},
{
"x": 0,
"y": 0,
"width": 582,
"height": 664
},
{
"x": 0,
"y": 0,
"width": 332,
"height": 664
},
{
"x": 0,
"y": 0,
"width": 631,
"height": 664
}
]
}
]
},
"mediaAvailability": {
"status": "Available",
"reason": null
},
"allowDownload": true,
"mediaStats": null,
"processingInfo": null,
"sourceStatusId": null,
"sourceUserId": null,
"stickers": null
}
],
"poll": null,
"card": null,
"hashtags": [],
"mentions": [],
"urls": [],
"symbols": [],
"possiblySensitive": false,
"limitedActions": null,
"isEdited": false,
"editControl": null,
"isTranslatable": false,
"lang": "en",
"translatedText": null,
"hasBirdwatchNotes": false,
"birdwatchPivot": null,
"conversationControl": null,
"isPromoted": false,
"promotedMetadata": null,
"createdAt": "2025-10-01T23:59:45.000Z",
"place": null,
"communityId": null,
"communityResults": null
},
"retweetedTweet": null,
"likeCount": 133058,
"retweetCount": 12364,
"replyCount": 8555,
"quoteCount": 838,
"bookmarkCount": 2775,
"viewCount": 13154390,
"media": [],
"poll": null,
"card": null,
"hashtags": [],
"mentions": [],
"urls": [],
"symbols": [],
"possiblySensitive": false,
"limitedActions": null,
"isEdited": false,
"editControl": null,
"isTranslatable": false,
"lang": "en",
"translatedText": null,
"hasBirdwatchNotes": false,
"birdwatchPivot": null,
"conversationControl": null,
"isPromoted": false,
"promotedMetadata": null,
"createdAt": "2025-10-02T02:42:03.000Z",
"place": null,
"communityId": null,
"communityResults": null
}
],
"pagination": {
"nextCursor": "DAAHCgABG2O6blp__-sLAAIAAAATMTk3MzQ5NjkzNDM4MDk5OTA3OQgAAwAAAAIAAA",
"prevCursor": "DAAHCgABG2O6blqAJxELAAIAAAATMTk3MzYyNTk0NTQ4MDQyOTYwMggAAwAAAAEAAA"
}
}API Playground
GET
/tw-v2/user/tweetsPress ⌘ + Enter to execute
curl -X GET "https://api.tweetapi.com/tw-v2/user/tweets" \
-H "X-API-Key: YOUR_API_KEY"Response
Click "Try It!" to see the response