curl --request GET \
--url https://api.twitterapi.io/twitter/tweet/replies \
--header 'X-API-Key: <api-key>'{
"replies": [
{
"type": "tweet",
"id": "<string>",
"url": "<string>",
"text": "<string>",
"source": "<string>",
"retweetCount": 123,
"replyCount": 123,
"likeCount": 123,
"quoteCount": 123,
"viewCount": 123,
"createdAt": "<string>",
"lang": "<string>",
"bookmarkCount": 123,
"isReply": true,
"inReplyToId": "<string>",
"conversationId": "<string>",
"displayTextRange": [
123
],
"inReplyToUserId": "<string>",
"inReplyToUsername": "<string>",
"author": {
"type": "user",
"userName": "<string>",
"url": "<string>",
"id": "<string>",
"name": "<string>",
"isBlueVerified": true,
"verifiedType": "<string>",
"profilePicture": "<string>",
"coverPicture": "<string>",
"description": "<string>",
"location": "<string>",
"followers": 123,
"following": 123,
"canDm": true,
"createdAt": "<string>",
"favouritesCount": 123,
"hasCustomTimelines": true,
"isTranslator": true,
"mediaCount": 123,
"statusesCount": 123,
"withheldInCountries": [
"<string>"
],
"affiliatesHighlightedLabel": {},
"possiblySensitive": true,
"pinnedTweetIds": [
"<string>"
],
"isAutomated": true,
"automatedBy": "<string>",
"unavailable": true,
"message": "<string>",
"unavailableReason": "<string>",
"profile_bio": {
"description": "<string>",
"entities": {
"description": {
"urls": [
{
"display_url": "<string>",
"expanded_url": "<string>",
"indices": [
123
],
"url": "<string>"
}
]
},
"url": {
"urls": [
{
"display_url": "<string>",
"expanded_url": "<string>",
"indices": [
123
],
"url": "<string>"
}
]
}
}
}
},
"entities": {
"hashtags": [
{
"indices": [
123
],
"text": "<string>"
}
],
"urls": [
{
"display_url": "<string>",
"expanded_url": "<string>",
"indices": [
123
],
"url": "<string>"
}
],
"user_mentions": [
{
"id_str": "<string>",
"name": "<string>",
"screen_name": "<string>"
}
]
},
"quoted_tweet": "<unknown>",
"retweeted_tweet": "<unknown>",
"isLimitedReply": true
}
],
"has_next_page": true,
"next_cursor": "<string>",
"status": "success",
"message": "<string>"
}get tweet replies by tweet id.Each page returns up to 20 replies(Sometimes less than 20,because we will filter out ads or other not tweets). Use cursor for pagination. Order by reply time desc
curl --request GET \
--url https://api.twitterapi.io/twitter/tweet/replies \
--header 'X-API-Key: <api-key>'{
"replies": [
{
"type": "tweet",
"id": "<string>",
"url": "<string>",
"text": "<string>",
"source": "<string>",
"retweetCount": 123,
"replyCount": 123,
"likeCount": 123,
"quoteCount": 123,
"viewCount": 123,
"createdAt": "<string>",
"lang": "<string>",
"bookmarkCount": 123,
"isReply": true,
"inReplyToId": "<string>",
"conversationId": "<string>",
"displayTextRange": [
123
],
"inReplyToUserId": "<string>",
"inReplyToUsername": "<string>",
"author": {
"type": "user",
"userName": "<string>",
"url": "<string>",
"id": "<string>",
"name": "<string>",
"isBlueVerified": true,
"verifiedType": "<string>",
"profilePicture": "<string>",
"coverPicture": "<string>",
"description": "<string>",
"location": "<string>",
"followers": 123,
"following": 123,
"canDm": true,
"createdAt": "<string>",
"favouritesCount": 123,
"hasCustomTimelines": true,
"isTranslator": true,
"mediaCount": 123,
"statusesCount": 123,
"withheldInCountries": [
"<string>"
],
"affiliatesHighlightedLabel": {},
"possiblySensitive": true,
"pinnedTweetIds": [
"<string>"
],
"isAutomated": true,
"automatedBy": "<string>",
"unavailable": true,
"message": "<string>",
"unavailableReason": "<string>",
"profile_bio": {
"description": "<string>",
"entities": {
"description": {
"urls": [
{
"display_url": "<string>",
"expanded_url": "<string>",
"indices": [
123
],
"url": "<string>"
}
]
},
"url": {
"urls": [
{
"display_url": "<string>",
"expanded_url": "<string>",
"indices": [
123
],
"url": "<string>"
}
]
}
}
}
},
"entities": {
"hashtags": [
{
"indices": [
123
],
"text": "<string>"
}
],
"urls": [
{
"display_url": "<string>",
"expanded_url": "<string>",
"indices": [
123
],
"url": "<string>"
}
],
"user_mentions": [
{
"id_str": "<string>",
"name": "<string>",
"screen_name": "<string>"
}
]
},
"quoted_tweet": "<unknown>",
"retweeted_tweet": "<unknown>",
"isLimitedReply": true
}
],
"has_next_page": true,
"next_cursor": "<string>",
"status": "success",
"message": "<string>"
}The tweet ID to get. Must be an original tweet (not a reply to another tweet) and should be the first tweet in a thread.. eg. 1846987139428634858
On or after a specified unix timestamp in seconds.
Before a specified unix timestamp in seconds.
The cursor to paginate through the results. First page is "".
Tweet replies response
Array of tweets
Show child attributes
tweet The ID of the tweet
The URL of the tweet
The text of the tweet
The source of the tweet.eg. "Twitter for iPhone"
The number of times the tweet has been retweeted
The number of times the tweet has been replied to
The number of times the tweet has been liked
The number of times the tweet has been quoted
The number of times the tweet has been viewed
The date and time the tweet was created.eg. Tue Dec 10 07:00:30 +0000 2024
The language of the tweet.eg. "en".may be empty
The number of times the tweet has been bookmarked
Indicates if the tweet is a reply
The ID of the tweet being replied to.may be empty
The ID of the conversation the tweet is part of.may be empty
specifies the UTF-16 code unit indices in full_text that define the visible portion of a Tweet.eg"@jack Thanks for the update!",display_text_range is [6, 28]
The ID of the user being replied to.may be empty
The username of the user being replied to.may be empty
The user who posted the tweet
Show child attributes
user The username of the Twitter user
The x.com URL of the user's profile
The unique identifier of the user
The display name of the user
Whether the user has Twitter Blue verification
The type of verification. eg. "government" ,can be empty
URL of the user's profile picture
URL of the user's cover picture
The user's profile description
The user's location.for example: 東京の端っこ . may be empty
Number of followers
Number of accounts following
Whether the user can receive DMs
When the account was created.for example: Thu Dec 13 08:41:26 +0000 2007
Number of favorites
Whether the user has custom timelines
Whether the user is a translator
Number of media posts
Number of status updates
Countries where the account is withheld
Whether the account may contain sensitive content
IDs of pinned tweets
Whether the account is automated
The account that automated the account
Whether the account is unavailable
The message of the account.eg. "This account is unavailable" or "This account is suspended"
The reason the account is unavailable.eg. "suspended"
Show child attributes
Show child attributes
Show child attributes
Show child attributes
The entities in the tweet.eg. hashtags,urls,mentions
Show child attributes
The tweet being quoted.may be null
Show child attributes
The tweet being retweeted.may be null
Show child attributes
Whether the tweet is a limited reply. Possible restrictions: only mentioned users, verified users, or followed accounts can reply
Indicates if there are more results available. If true, use next_cursor to fetch the next page. Warning: Due to Twitter API inconsistency, has_more might return true even when no additional data exists. In such cases, subsequent requests will return empty results - this is a known platform limitation.
Cursor for fetching the next page of results
Status of the request.success or error
success, error Message of the request.error message