# Twitter (X) User Tweet Replies API

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

Source: https://www.sandbase.ai/apis/twitter/web/user-tweet-replies
API reference: https://www.sandbase.ai/apis/twitter/web/user-tweet-replies/docs

## Facts

- Provider: Twitter
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/twitter/web/user-tweet-replies`
- Price: $0.0015 per call
- Free allowance: 100 calls per organization per UTC day, shared across eligible APIs
- Capabilities: api, twitter
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/twitter/web/user-tweet-replies` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `screen_name` | string | yes |  |
| `cursor` | string | no |  |

## 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.

## 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

```bash
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

| Name | Type | Required | Description |
|---|---|---|---|
| `screen_name` | string | Yes | Screen Name, for example: elonmusk, can be obtained from the user's homepage link, for example: elonmusk in https://twitter.com/elonmusk |
| `cursor` | string | No | Cursor, 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.

```json
{
  "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

- [Twitter (X) Latest Tweet Comments](/model/twitter/web/latest-post-comments): Returns recent replies and comment timelines for a specific post using its tweet ID, with cursor support for multi-page results.
- [Twitter (X) Tweet Comments](/model/twitter/web/post-comments): Returns comment threads and replies under a specified tweet.
- [Twitter (X) Retweet User List](/model/twitter/web/retweet-user-list): Returns a list of users who reposted a specific post using its tweet ID, including follower counts, media counts, and user identifiers.
