Data API
Get Tweet Comments
Returns an array of comments for a given tweet_id. This endpoint only works for top-level tweets (i.e. this can't be used to retrieve comments posted in response to other comments).
get/twitter/tweets/{tweet_id}/comments
Path parameters
tweet_idstring required
The numerical ID of the target tweet. When using languages where the id value exceeds the default Integer type limit (e.g., JavaScript), you should store id as a String. Use the id_str property returned by the API for these values.
Query parameters
cursorstring
Cursor value obtained from next_cursor response property. Use this parameter to retrieve additional pages. Omit this parameter to retrieve the first page.
Response
Request succeeded
Example response
{
"tweets": [
{
"tweet_created_at": "2023-12-13T05:39:09.000000Z",
"id_str": "1050118621198921728",
"source": "Twitter Web Client",
"in_reply_to_status_id_str": "1051222721923756032",
"in_reply_to_user_id_str": "6253282",
"in_reply_to_screen_name": "twitterapi",
"user": {
"id_str": "6253282",
"name": "Twitter API",
"screen_name": "twitterapi",
"location": "San Francisco, CA",
"url": "https://developer.twitter.com",
"description": "The Real Twitter API.",
"protected": true,
"followers_count": 21,
"friends_count": 32,
"listed_count": 9274,
"favourites_count": 13,
"statuses_count": 42,
"created_at": "2009-06-02T20:12:29.000000Z",
"profile_banner_url": "https://si0.twimg.com/profile_banners/819797/1348102824",
"profile_image_url_https": "https://abs.twimg.com/sticky/default_profile_images/default_profile_normal.png"
},
"lang": "en",
"quoted_status_id_str": "1050119905717055488",
"quote_count": 33,
"reply_count": 30,
"retweet_count": 160,
"favorite_count": 295,
"views_count": 32377,
"bookmark_count": 19,
"entities": {
"poll": {
"end_datetime": "2025-03-12T19:47:12.000000Z",
"duration_minutes": 1440,
"choices": [
{
"label": "Yes"
}
]
}
}
}
]
}