curl --request POST \
--url https://api.twexapi.io/twitter/tweets/{tweet_id}/replies/page \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"next_cursor": "<string>",
"sort_by": "Recency"
}
'{
"data": [
{
"tweet_id": "1803006263529541838",
"text": "<string>",
"is_paid_promotion": true,
"created_at": "Mon Jun 17 03:51:48 +0000 2024",
"created_at_datetime": "2024-06-17T03:51:48.000Z",
"bookmark_count": 0,
"bookmarked": false,
"community_note": "<string>",
"edit_tweet_ids": [],
"editable_until_msecs": "<string>",
"edits_remaining": "<string>",
"favorite_count": 0,
"favorited": false,
"full_text": "<string>",
"has_card": false,
"has_community_notes": false,
"hashtags": [
"AI",
"Python"
],
"cashtags": [
"$TSLA"
],
"id": "<string>",
"in_reply_to": "<string>",
"in_reply_to_user_id": "<string>",
"in_reply_to_screen_name": "<string>",
"is_edit_eligible": false,
"is_quote_status": false,
"quoted_status_id_str": "<string>",
"is_translatable": false,
"lang": "en",
"media": [],
"place": "<string>",
"poll": "<string>",
"possibly_sensitive": true,
"possibly_sensitive_editable": true,
"quote": "<unknown>",
"quote_count": 0,
"related_tweets": [],
"replies": [],
"reply_count": 0,
"reply_to": "<unknown>",
"retweet_count": 0,
"retweeted_tweet": "<unknown>",
"thread": [
"<unknown>"
],
"thumbnail_title": "<string>",
"thumbnail_url": "<string>",
"urls": [],
"user": {
"id": "1717001045992251392",
"name": "Cryptoklepto",
"screen_name": "CK_Cryptoklepto",
"created_at": "Mon Oct 28 02:32:47 +0000 2024",
"created_at_datetime": "2024-10-28T02:32:47.000Z",
"can_dm": false,
"can_media_tag": false,
"default_profile": false,
"default_profile_image": false,
"description": "",
"description_urls": [],
"urls": [
{
"url": "https://www.google.com",
"expanded_url": "https://www.google.com",
"display_url": "www.google.com"
}
],
"fast_followers_count": 0,
"favourites_count": 0,
"followers_count": 0,
"following_count": 0,
"has_custom_timelines": false,
"is_blue_verified": false,
"verified_type": "government",
"is_verified": false,
"profile_image_shape": "Circle",
"is_translator": false,
"listed_count": 0,
"location": "New York, USA",
"media_count": 0,
"normal_followers_count": 0,
"pinned_tweet_ids": [],
"possibly_sensitive": false,
"profile_banner_url": "<string>",
"profile_image_url": "<string>",
"protected": false,
"statuses_count": 0
},
"view_count": "<string>",
"view_count_state": "<string>",
"status": {},
"target_count": 123
}
],
"has_next_page": true,
"code": 200,
"msg": "success",
"root_tweet": {
"tweet_id": "1803006263529541838",
"text": "<string>",
"is_paid_promotion": true,
"created_at": "Mon Jun 17 03:51:48 +0000 2024",
"created_at_datetime": "2024-06-17T03:51:48.000Z",
"bookmark_count": 0,
"bookmarked": false,
"community_note": "<string>",
"edit_tweet_ids": [],
"editable_until_msecs": "<string>",
"edits_remaining": "<string>",
"favorite_count": 0,
"favorited": false,
"full_text": "<string>",
"has_card": false,
"has_community_notes": false,
"hashtags": [
"AI",
"Python"
],
"cashtags": [
"$TSLA"
],
"id": "<string>",
"in_reply_to": "<string>",
"in_reply_to_user_id": "<string>",
"in_reply_to_screen_name": "<string>",
"is_edit_eligible": false,
"is_quote_status": false,
"quoted_status_id_str": "<string>",
"is_translatable": false,
"lang": "en",
"media": [],
"place": "<string>",
"poll": "<string>",
"possibly_sensitive": true,
"possibly_sensitive_editable": true,
"quote": "<unknown>",
"quote_count": 0,
"related_tweets": [],
"replies": [],
"reply_count": 0,
"reply_to": "<unknown>",
"retweet_count": 0,
"retweeted_tweet": "<unknown>",
"thread": [
"<unknown>"
],
"thumbnail_title": "<string>",
"thumbnail_url": "<string>",
"urls": [],
"user": {
"id": "1717001045992251392",
"name": "Cryptoklepto",
"screen_name": "CK_Cryptoklepto",
"created_at": "Mon Oct 28 02:32:47 +0000 2024",
"created_at_datetime": "2024-10-28T02:32:47.000Z",
"can_dm": false,
"can_media_tag": false,
"default_profile": false,
"default_profile_image": false,
"description": "",
"description_urls": [],
"urls": [
{
"url": "https://www.google.com",
"expanded_url": "https://www.google.com",
"display_url": "www.google.com"
}
],
"fast_followers_count": 0,
"favourites_count": 0,
"followers_count": 0,
"following_count": 0,
"has_custom_timelines": false,
"is_blue_verified": false,
"verified_type": "government",
"is_verified": false,
"profile_image_shape": "Circle",
"is_translator": false,
"listed_count": 0,
"location": "New York, USA",
"media_count": 0,
"normal_followers_count": 0,
"pinned_tweet_ids": [],
"possibly_sensitive": false,
"profile_banner_url": "<string>",
"profile_image_url": "<string>",
"protected": false,
"statuses_count": 0
},
"view_count": "<string>",
"view_count_state": "<string>",
"status": {},
"target_count": 123
},
"next_cursor": "<string>"
}Get Replies by Page (Recommended)
Recommended for fetching tweet replies. Uses cursor-based pagination and avoids timeouts on large threads. The first request (omit next_cursor) returns root_tweet plus the first batch of replies. Pass next_cursor from the previous response to fetch the next page until has_next_page is false. Pricing: $0.14 per 1,000 replies.
curl --request POST \
--url https://api.twexapi.io/twitter/tweets/{tweet_id}/replies/page \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"next_cursor": "<string>",
"sort_by": "Recency"
}
'{
"data": [
{
"tweet_id": "1803006263529541838",
"text": "<string>",
"is_paid_promotion": true,
"created_at": "Mon Jun 17 03:51:48 +0000 2024",
"created_at_datetime": "2024-06-17T03:51:48.000Z",
"bookmark_count": 0,
"bookmarked": false,
"community_note": "<string>",
"edit_tweet_ids": [],
"editable_until_msecs": "<string>",
"edits_remaining": "<string>",
"favorite_count": 0,
"favorited": false,
"full_text": "<string>",
"has_card": false,
"has_community_notes": false,
"hashtags": [
"AI",
"Python"
],
"cashtags": [
"$TSLA"
],
"id": "<string>",
"in_reply_to": "<string>",
"in_reply_to_user_id": "<string>",
"in_reply_to_screen_name": "<string>",
"is_edit_eligible": false,
"is_quote_status": false,
"quoted_status_id_str": "<string>",
"is_translatable": false,
"lang": "en",
"media": [],
"place": "<string>",
"poll": "<string>",
"possibly_sensitive": true,
"possibly_sensitive_editable": true,
"quote": "<unknown>",
"quote_count": 0,
"related_tweets": [],
"replies": [],
"reply_count": 0,
"reply_to": "<unknown>",
"retweet_count": 0,
"retweeted_tweet": "<unknown>",
"thread": [
"<unknown>"
],
"thumbnail_title": "<string>",
"thumbnail_url": "<string>",
"urls": [],
"user": {
"id": "1717001045992251392",
"name": "Cryptoklepto",
"screen_name": "CK_Cryptoklepto",
"created_at": "Mon Oct 28 02:32:47 +0000 2024",
"created_at_datetime": "2024-10-28T02:32:47.000Z",
"can_dm": false,
"can_media_tag": false,
"default_profile": false,
"default_profile_image": false,
"description": "",
"description_urls": [],
"urls": [
{
"url": "https://www.google.com",
"expanded_url": "https://www.google.com",
"display_url": "www.google.com"
}
],
"fast_followers_count": 0,
"favourites_count": 0,
"followers_count": 0,
"following_count": 0,
"has_custom_timelines": false,
"is_blue_verified": false,
"verified_type": "government",
"is_verified": false,
"profile_image_shape": "Circle",
"is_translator": false,
"listed_count": 0,
"location": "New York, USA",
"media_count": 0,
"normal_followers_count": 0,
"pinned_tweet_ids": [],
"possibly_sensitive": false,
"profile_banner_url": "<string>",
"profile_image_url": "<string>",
"protected": false,
"statuses_count": 0
},
"view_count": "<string>",
"view_count_state": "<string>",
"status": {},
"target_count": 123
}
],
"has_next_page": true,
"code": 200,
"msg": "success",
"root_tweet": {
"tweet_id": "1803006263529541838",
"text": "<string>",
"is_paid_promotion": true,
"created_at": "Mon Jun 17 03:51:48 +0000 2024",
"created_at_datetime": "2024-06-17T03:51:48.000Z",
"bookmark_count": 0,
"bookmarked": false,
"community_note": "<string>",
"edit_tweet_ids": [],
"editable_until_msecs": "<string>",
"edits_remaining": "<string>",
"favorite_count": 0,
"favorited": false,
"full_text": "<string>",
"has_card": false,
"has_community_notes": false,
"hashtags": [
"AI",
"Python"
],
"cashtags": [
"$TSLA"
],
"id": "<string>",
"in_reply_to": "<string>",
"in_reply_to_user_id": "<string>",
"in_reply_to_screen_name": "<string>",
"is_edit_eligible": false,
"is_quote_status": false,
"quoted_status_id_str": "<string>",
"is_translatable": false,
"lang": "en",
"media": [],
"place": "<string>",
"poll": "<string>",
"possibly_sensitive": true,
"possibly_sensitive_editable": true,
"quote": "<unknown>",
"quote_count": 0,
"related_tweets": [],
"replies": [],
"reply_count": 0,
"reply_to": "<unknown>",
"retweet_count": 0,
"retweeted_tweet": "<unknown>",
"thread": [
"<unknown>"
],
"thumbnail_title": "<string>",
"thumbnail_url": "<string>",
"urls": [],
"user": {
"id": "1717001045992251392",
"name": "Cryptoklepto",
"screen_name": "CK_Cryptoklepto",
"created_at": "Mon Oct 28 02:32:47 +0000 2024",
"created_at_datetime": "2024-10-28T02:32:47.000Z",
"can_dm": false,
"can_media_tag": false,
"default_profile": false,
"default_profile_image": false,
"description": "",
"description_urls": [],
"urls": [
{
"url": "https://www.google.com",
"expanded_url": "https://www.google.com",
"display_url": "www.google.com"
}
],
"fast_followers_count": 0,
"favourites_count": 0,
"followers_count": 0,
"following_count": 0,
"has_custom_timelines": false,
"is_blue_verified": false,
"verified_type": "government",
"is_verified": false,
"profile_image_shape": "Circle",
"is_translator": false,
"listed_count": 0,
"location": "New York, USA",
"media_count": 0,
"normal_followers_count": 0,
"pinned_tweet_ids": [],
"possibly_sensitive": false,
"profile_banner_url": "<string>",
"profile_image_url": "<string>",
"protected": false,
"statuses_count": 0
},
"view_count": "<string>",
"view_count_state": "<string>",
"status": {},
"target_count": 123
},
"next_cursor": "<string>"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The ID of the tweet to get replies for.
"1803006263529541838"
Body
Response
Current page replies, optional root_tweet on first page, and pagination metadata.
Replies on the current page.
Show child attributes
Show child attributes
Whether another page is available.
HTTP status code
Response message
The focal tweet. Only present on the first page (when next_cursor is omitted).
Show child attributes
Show child attributes
Use this cursor to fetch the next page when has_next_page is true.