# Twitter / X Replies

Extract every reply to a given tweet — each returned as a full tweet record with author profile, engagement metrics, media, mentions and quoted content. The original tweet is included too, flagged so you can tell it from the replies.

**Pricing:** $0.1 / 1k replies

**Endpoint:** `POST /api/v1/agents/twitter/replies/run`

**Auth:** `Authorization: Bearer mk_live_...`

## Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `conversation_id` | string | Yes | The tweet to fetch replies for — a tweet/status URL (https://x.com/.../status/<id>) or the bare numeric tweet ID. This is the conversation root. |
| `maxResults` | integer | No | Maximum number of replies to return per tweet. |

## Example

```bash
curl -X POST https://api.mindcase.co/api/v1/agents/twitter/replies/run \
  -H "Authorization: Bearer mk_live_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"params":{"conversation_id":"..."}}'
```

```python
import requests

resp = requests.post(
    "https://api.mindcase.co/api/v1/agents/twitter/replies/run",
    headers={"Authorization": "Bearer mk_live_YOUR_API_KEY"},
    json={"params": {
    "conversation_id": "..."
}},
)
data = resp.json()
```

## Get the results

`run` is async and returns a `job_id`. Poll until `status` is `completed`, then read the rows:

```bash
# 1) check status
curl https://api.mindcase.co/api/v1/jobs/JOB_ID \
  -H "Authorization: Bearer mk_live_YOUR_API_KEY"

# 2) when status == completed, fetch the rows
curl https://api.mindcase.co/api/v1/jobs/JOB_ID/results \
  -H "Authorization: Bearer mk_live_YOUR_API_KEY"
```

Full API reference (auth, jobs, balance, SDKs, MCP): https://mindcase.co/skills.md

## Response columns

| Field | Display name | Type |
|-------|--------------|------|
| `tweetUrl` | Tweet URL | url |
| `tweetText` | Tweet Text | text |
| `postedDate` | Posted Date | text |
| `language` | Language | text |
| `isReply` | Is Reply | boolean |
| `views` | Views | number |
| `likes` | Likes | number |
| `retweets` | Retweets | number |
| `replies` | Replies | number |
| `quotes` | Quotes | number |
| `bookmarks` | Bookmarks | number |
| `replyToHandle` | Reply To Handle | text |
| `replyToTweetUrl` | Reply To Tweet URL | url |
| `quotedTweetUrl` | Quoted Tweet URL | url |
| `quotedTweetText` | Quoted Tweet Text | text |
| `hashtags` | Hashtags | array |
| `mentions` | Mentions | object_array |
| `outboundLinks` | Outbound Links | array |
| `tweetMedia` | Tweet Media | object_array |
| `author` | Author | object |
