Twitter (X) User Tweet Replies

https://api.sandbase.ai/v1/api/twitter/web/user-tweet-replies

Returns a timeline of replies posted by a specific Twitter user. Filter by username and paginate through responses using cursor tokens.

Price
$0.0015USD / callFirst 100 calls per day free (shared per organization)
Method
POST
Response
JSON
Parameters
1 required · 1 optional
Production route

Try the model

Playground

Open playground
Input
Cursor, default is None, used for paging, obtained from the last request
Screen Name, for example: elonmusk, can be obtained from the user's homepage link, for example: elonmusk in https://twitter.com/elonmusk
OutputExample
Responseoutputs · 44.8 KB · 1,186 lines
[
  {
    "data": {
      "next_cursor": null,
      "timeline": [
        {
          "author": {
            "avatar": "https://pbs.twimg.com/profile_images/1694731396730789888/gEfNsQnC_normal.jpg",
            "blue_verified": null,
            "favorites_count": 13886,
            "followers_count": 1409009,
            "name": "example",
            "rest_id": "16542877",
            "screen_name": "example"
          },
          "bookmarks": 1,
          "conversation_id": "1824146406040539301",
          "created_at": "Thu Aug 15 18:09:28 +0000 2024",
          "entities": [],
          "favorites": 44,
          "in_reply_to_status_id_str": null,
          "lang": "en",
          "media": {
            "video": [
              {
                "aspect_ratio": [
                  9,
                  16
                ],
                "duration": 19200,
                "id": "1824146306576625664",
                "media_url_https": "https://pbs.twimg.com/amplify_video_thumb/1824146306576625664/img/CEMOPLxEFPYSSyGk.jpg",
                "original_info": {
                  "focus_rects": [],
                  "height": 1920,
                  "width": 1080
                },
                "variants": [
                  {
                    "content_type": "application/x-mpegURL",
                    "url": "https://video.twimg.com/amplify_video/1824146306576625664/pl/X715wXSSX4F7Y7z1.m3u8?tag=16&v=bee"
                  },
                  {
                    "bitrate": 632000,
                    "content_type": "video/mp4",
                    "url": "https://video.twimg.com/amplify_video/1824146306576625664/vid/avc1/320x568/kvDXEu-pxpPbZdgB.mp4?tag=16"
                  },
                  {
                    "bitrate": 950000,
                    "content_type": "video/mp4",
                    "url": "https://video.twimg.com/amplify_video/1824146306576625664/vid/avc1/480x852/QvHWpyXRbFOF6QtI.mp4?tag=16"
                  },
                  {
                    "bitrate": 2176000,
                    "content_type": "video/mp4",
                    "url": "https://video.twimg.com/amplify_video/1824146306576625664/vid/avc1/720x1280/SF_9v6sPUvxRIb0x.mp4?tag=16"
                  },
                  {
                    "bitrate": 10368000,
                    "content_type": "video/mp4",
                    "url": "https://video.twimg.com/amplify_video/1824146306576625664/vid/avc1/1080x1920/q55fW2jWaa0UMxAU.mp4?tag=16"
                  }
                ]
              }
            ]
          },
          "quotes": 1,
          "replies": 15,
          "retweets": 5,
          "source": null,
          "text": "Vibe Chemistry x Local x Elro X Window Kid x Example\n\n‘RUNNY EGG’\n\nOUT AT MIDNIGHT. Everywhere … 🍳 https://t.co/rtBHL7w8pC",
          "tweet_id": "1824146406040539301",
          "views": "46510"
        },
        {
          "author": {
            "avatar": "https://pbs.twimg.com/profile_images/1694731396730789888/gEfNsQnC_normal.jpg",
            "blue_verified": null,
            "favorites_count": 13886,
            "followers_count": 1409009,
            "name": "example",
            "rest_id": "16542877",
            "screen_name": "example"
          },
          "bookmarks": 0,
          "conversation_id": "1819422918192853128",
          "created_at": "Fri Aug 02 17:20:01 +0000 2024",
          "entities": {
            "urls": [
              {
                "display_url": "staneric.lnk.to/Skyscanner",
                "expanded_url": "https://staneric.lnk.to/Skyscanner",
                "url": "https://t.co/J56RHJkryd"
              }
            ],
            "user_mentions": [
              {
                "id_str": "16542877",
                "name": "example",
                "screen_name": "example"
              },
              {
                "id_str": "1356609029989138434",
                "name": "Beyond Chicago",
                "screen_name": "BeyondChicago1"
              }
            ]
          },
          "favorites": 0,
          "in_reply_to_status_id_str": null,
          "lang": "en",
          "media": {
            "video": [
              {
                "aspect_ratio": [
                  9,
                  16
                ],
                "duration": 29500,
                "id": "1819286991659261952",
                "media_url_https": "https://pbs.twimg.com/amplify_video_thumb/1819286991659261952/img/g0CAUQtaodIuqE4W.jpg",
                "original_info": {
                  "focus_rects": [],
                  "height": 1920,
                  "width": 1080
                },
                "variants": [
                  {
                    "content_type": "application/x-mpegURL",
                    "url": "https://video.twimg.com/amplify_video/1819286991659261952/pl/0CaNcUnf1UXhEtSX.m3u8?tag=16&v=4ce"
                  },
                  {
                    "bitrate": 632000,
                    "content_type": "video/mp4",
                    "url": "https://video.twimg.com/amplify_video/1819286991659261952/vid/avc1/320x568/_Zulr8uSwdu0W2qI.mp4?tag=16"
                  },
                  {
                    "bitrate": 950000,
                    "content_type": "video/mp4",
                    "url": "https://video.twimg.com/amplify_video/1819286991659261952/vid/avc1/480x852/0ub9ND1YGgQhZBwf.mp4?tag=16"
                  },
                  {
                    "bitrate": 2176000,
                    "content_type": "video/mp4",
                    "url": "https://video.twimg.com/amplify_video/1819286991659261952/vid/avc1/720x1280/wr7qa7f06TvYPSHW.mp4?tag=16"
                  },
                  {
                    "bitrate": 10368000,
                    "content_type": "video/mp4",
                    "url": "https://video.twimg.com/amplify_video/1819286991659261952/vid/avc1/1080x1920/OZk5x9uDud_uwnEA.mp4?tag=16"
                  }
                ]
              }
            ]
          },
          "quotes": 0,
          "replies": 0,
          "retweeted": {
            "id": "1819287109712146478"
          },
          "retweeted_tweet": {
            "author": {
              "avatar": "https://pbs.twimg.com/profile_images/1694731396730789888/gEfNsQnC_normal.jpg",
              "blue_verified": true,
              "name": "example",
              "rest_id": "16542877",
              "screen_name": "example"
            },
            "bookmarks": 11,
            "conversation_id": "1819287109712146478",
            "created_at": "Fri Aug 02 08:20:22 +0000 2024",
            "entities": {
              "urls": [
                {
                  "display_url": "staneric.lnk.to/Skyscanner",
                  "expanded_url": "https://staneric.lnk.to/Skyscanner",
                  "indices": [
                    64,
                    87
                  ],
                  "url": "https://t.co/J56RHJkryd"
                }
              ],
              "user_mentions": [
                {
                  "id_str": "1356609029989138434",
                  "indices": [
                    37,
                    52
                  ],
                  "name": "Beyond Chicago",
                  "screen_name": "BeyondChicago1"
                }
              ]
            },
            "favorites": 83,
            "lang": "en",
            "media": {
              "video": [
                {
                  "aspect_ratio": [
                    9,
                    16
                  ],
                  "duration": 29500,
                  "id": "1819286991659261952",
                  "media_url_https": "https://pbs.twimg.com/amplify_video_thumb/1819286991659261952/img/g0CAUQtaodIuqE4W.jpg",
                  "original_info": {
                    "focus_rects": [],
                    "height": 1920,
                    "width": 1080
                  },
                  "variants": [
                    {
                      "content_type": "application/x-mpegURL",
                      "url": "https://video.twimg.com/amplify_video/1819286991659261952/pl/0CaNcUnf1UXhEtSX.m3u8?tag=16&v=4ce"
                    },
                    {
                      "bitrate": 632000,
                      "content_type": "video/mp4",
                      "url": "https://video.twimg.com/amplify_video/1819286991659261952/vid/avc1/320x568/_Zulr8uSwdu0W2qI.mp4?tag=16"
                    },
                    {
                      "bitrate": 950000,
                      "content_type": "video/mp4",
                      "url": "https://video.twimg.com/amplify_video/1819286991659261952/vid/avc1/480x852/0ub9ND1YGgQhZBwf.mp4?tag=16"
                    },
                    {
                      "bitrate": 2176000,
                      "content_type": "video/mp4",
                      "url": "https://video.twimg.com/amplify_video/1819286991659261952/vid/avc1/720x1280/wr7qa7f06TvYPSHW.mp4?tag=16"
                    },
                    {
                      "bitrate": 10368000,
                      "content_type": "video/mp4",
                      "url": "https://video.twimg.com/amplify_video/1819286991659261952/vid/avc1/1080x1920/OZk5x9uDud_uwnEA.mp4?tag=16"
                    }
                  ]
                }
              ]
            },
            "quotes": 5,
            "replies": 7,
            "retweets": 23,
            "text": "‘Skyscanner’ - new one from me & @BeyondChicago1 - OUT NOW\n\nhttps://t.co/J56RHJkryd https://t.co/KO9WG8CIlo",
            "tweet_id": "1819287109712146478",
            "views": null
          },
          "retweets": 23,
          "source": null,
          "text": "RT @example: ‘Skyscanner’ - new one from me & @BeyondChicago1 - OUT NOW\n\nhttps://t.co/J56RHJkryd https://t.co/KO9WG8CIlo",
          "tweet_id": "1819422918192853128",
          "views": "1"
        },
        {
          "author": {
            "avatar": "https://pbs.twimg.com/profile_images/1694731396730789888/gEfNsQnC_normal.jpg",
            "blue_verified": null,
            "favorites_count": 13886,
            "followers_count": 1409009,
            "name": "example",
            "rest_id": "16542877",
            "screen_name": "example"
          },
          "bookmarks": 11,
          "conversation_id": "1819287109712146478",
          "created_at": "Fri Aug 02 08:20:22 +0000 2024",
          "entities": {
            "urls": [
              {
                "display_url": "staneric.lnk.to/Skyscanner",
                "expanded_url": "https://staneric.lnk.to/Skyscanner",
                "url": "https://t.co/J56RHJkryd"
              }
            ],
            "user_mentions": [
              {
                "id_str": "1356609029989138434",
                "name": "Beyond Chicago",
                "screen_name": "BeyondChicago1"
              }
            ]
          },
          "favorites": 83,
          "in_reply_to_status_id_str": null,
          "lang": "en",
          "media": {
            "video": [
              {
                "aspect_ratio": [
                  9,
                  16
                ],
                "duration": 29500,
                "id": "1819286991659261952",
                "media_url_https": "https://pbs.twimg.com/amplify_video_thumb/1819286991659261952/img/g0CAUQtaodIuqE4W.jpg",
                "original_info": {
                  "focus_rects": [],
                  "height": 1920,
                  "width": 1080

Examples

Select an example to load its inputs and result into the playground.

Model card

Specifications

Pricing

Base price
$0.0015 / run
Daily free calls
First 100 calls per day free (shared per organization)

Request & response

Method
POST
Request body
application/json
Response
application/json
Execution
sync

Parameters

screen_name
string · required
cursor
string · optional

Access

Provider
Twitter
API
Platform API
Base URL
https://api.sandbase.ai
Endpoint
/v1/api/twitter/web/user-tweet-replies
Authentication
Bearer API key

API README

Twitter (X) User Tweet Replies API

Retrieve reply tweets from a designated account using the screen_name parameter. Pass a cursor value to paginate through earlier reply history.

Use cases

  • Monitor conversational engagement from a brand or competitor profile.
  • Archive customer support responses and thread interactions for a user.
  • Analyze communication patterns and reply volume across accounts.

Request

curl -X POST "https://api.sandbase.ai/v1/api/twitter/web/user-tweet-replies" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"screen_name": "NASA"}'

Parameters

NameTypeRequiredDescription
screen_namestringYesScreen Name, for example: elonmusk, can be obtained from the user's homepage link, for example: elonmusk in https://twitter.com/elonmusk
cursorstringNoCursor, default is None, used for paging, obtained from the last request

Example response

Real response for the request above, trimmed to the main fields. User names and long IDs are masked.

{
  "timeline": [
    {
      "conversation_id": "2107095768821576019",
      "in_reply_to_status_id_str": "2107095768821576019",
      "text": "@NASA I know this is a replay. My brain still does the little 'please work' thing.",
      "tweet_id": "2107144593343189432",
      "views": "4115",
      "author": {
        "blue_verified": true,
        "name": "Mohammed Siddiq",
        "rest_id": "1913390828405628928",
        "screen_name": "<user>"
      }
    }
  ]
}

Notes

  • screen_name can be extracted directly from a profile URL (for example, elonmusk from https://twitter.com/elonmusk).
  • Use the cursor returned from the prior response to navigate pagination.

Related APIs

Start building

Send your first request

Platform API endpoint with unified authentication and usage tracking.

Production API
Platform API endpoint
https://api.sandbase.ai/v1/api/twitter/web/user-tweet-replies
Authorization header
Authorization: Bearer $SANDBASE_API_KEY
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/api/twitter/web/user-tweet-replies" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "screen_name": "example"
}
SANDBASE_JSON
)
printf '%s\n' "$result"

Explore more

Related APIs

All APIs
APIPriceResponseReleased
Twitter$0.0015 per callJSONJul 31, 2026
Twitter$0.0015 per callJSONJul 31, 2026
Twitter$0.0015 per callJSONJul 31, 2026
Twitter$0.0015 per callJSONJul 31, 2026
Twitter$0.0015 per callJSONJul 31, 2026
Twitter$0.0015 per callJSONJul 31, 2026

Questions

FAQ

How do I use the Twitter (X) User Tweet Replies API?

Send a POST request to https://api.sandbase.ai/v1/api/twitter/web/user-tweet-replies with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

How much does the Twitter (X) User Tweet Replies API cost?

$0.0015 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

What parameters does the Twitter (X) User Tweet Replies API accept?

Required: screen_name (string). Optional: cursor (string). The Parameters table and the Playground on this page list every field.

What does the Twitter (X) User Tweet Replies API return?

A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.

Do I need a Twitter developer account or API key?

No. Twitter (X) User Tweet Replies runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Twitter API access separately.