# Tweet replies

> The replies to a tweet, newest first, with each reply's author, text, counts and media.

- **Request:** `GET https://api.lurkapi.com/v1/twitter/tweet/replies`
- **Auth:** `x-api-key` header ([get a free key](https://lurkapi.com/login?next=/dashboard))
- **Cost:** 6 credits per call. Calls turned away before they reach the platform (invalid parameters, a key or balance problem, a rate limit) are free, and so are `5xx` errors. A `not_found` is charged, since the platform was checked. [How charging works](https://lurkapi.com/docs.md#credits).
- **MCP:** `twitter · replies` on `https://api.lurkapi.com/mcp`
- **Freshness:** responses are cached for up to 5 minutes
- **Try it live:** https://lurkapi.com/docs/twitter/replies#try (no signup)
- **Platform:** [X (Twitter)](https://lurkapi.com/docs/twitter.md) (x.com)
- **Web page:** https://lurkapi.com/docs/twitter/replies

## When to use this

Use it to read what people say under a post: reactions, questions, complaints. Replies to replies are included; `reply_to_id` says which tweet each one answers. About 20 a page.

**Pagination.** Pass the response's `cursor` back as `cursor` (with the same `url`) for the next page; it's null at the end.

A tweet without replies returns an empty `replies` list. Deleted tweets, tweets from protected accounts and age-restricted tweets return 404 `not_found`.

## Example request

Copy one and replace `YOUR_API_KEY` with your API key ([get one free](https://lurkapi.com/login?next=/dashboard)). The code versions read the key from the `LURKAPI_API_KEY` environment variable instead.

curl:

```bash
curl "https://api.lurkapi.com/v1/twitter/tweet/replies?url=https%3A%2F%2Fx.com%2FNASA%2Fstatus%2F2104593672624886205" \
  -H "x-api-key: YOUR_API_KEY"
```

JavaScript:

```js
const params = new URLSearchParams({
  url: "https://x.com/NASA/status/2104593672624886205",
});
const res = await fetch(`https://api.lurkapi.com/v1/twitter/tweet/replies?${params}`, {
  headers: { "x-api-key": process.env.LURKAPI_API_KEY },
});
const data = await res.json();
if (!data.success) throw new Error(`${data.code}: ${data.error}`);
console.log(data.replies);
```

Python:

```python
import os
import requests

res = requests.get(
    "https://api.lurkapi.com/v1/twitter/tweet/replies",
    params={
        "url": "https://x.com/NASA/status/2104593672624886205",
    },
    headers={"x-api-key": os.environ["LURKAPI_API_KEY"]},
    timeout=60,
)
data = res.json()
if not data["success"]:
    raise RuntimeError(f"{data['code']}: {data['error']}")
print(data["replies"])
```

## Parameters

Add them to the URL after a `?`. Join several with `&`.

| Name | Type | Required | Default | Allowed values | Description | Example |
| --- | --- | --- | --- | --- | --- | --- |
| `url` | string | yes |  |  | The tweet's URL, e.g. `https://x.com/NASA/status/2104593672624886205` (twitter.com links work too), or its numeric id. | `https://x.com/NASA/status/2104593672624886205` |
| `cursor` | string | no |  |  | The `cursor` from the previous response, to get the next page. |  |

## Example response

A real response, captured from the live API. Lists are trimmed to a couple of items, and long text such as media links is cut short with `…`.

200 OK (application/json):

```json
{
  "success": true,
  "credits_remaining": 999988,
  "credits_charged": 6,
  "replies": [
    {
      "id": "2105033581768917326",
      "url": "https://x.com/LordBoyd3/status/2105033581768917326",
      "text": "No\n\nSeen this BS ? @beno1969187",
      "created_at": "2026-09-29T20:34:50.000Z",
      "lang": "en",
      "source": "Twitter for iPhone",
      "author": {
        "id": "1313745543991001089",
        "handle": "LordBoyd3",
        "name": "Lord Boyd",
        "avatar": "https://pbs.twimg.com/profile_images/2086170079952031744/fVJhSYgo_400x400.jpg",
        "verified": false,
        "verified_type": null,
        "followers": 69
      },
      "counts": {
        "likes": 2,
        "replies": 0,
        "retweets": 1,
        "quotes": 0,
        "bookmarks": 0,
        "views": 11
      },
      "media": [
        {
          "type": "photo",
          "url": "https://pbs.twimg.com/media/HTaU4bIWcAAGRlY.jpg",
          "width": 947,
          "height": 2048,
          "duration_ms": null,
          "variants": []
        },
        {
          "type": "photo",
          "url": "https://pbs.twimg.com/media/HTaU4bGWQAAzaNQ.jpg",
          "width": 947,
          "height": 2048,
          "duration_ms": null,
          "variants": []
        },
        {
          "type": "photo",
          "url": "https://pbs.twimg.com/media/HTaU4bLXcAA6Nff.jpg",
          "width": 947,
          "height": 2048,
          "duration_ms": null,
          "variants": []
        },
        {
          "type": "photo",
          "url": "https://pbs.twimg.com/media/HTaU4bWW0AM0FGF.jpg",
          "width": 947,
          "height": 2048,
          "duration_ms": null,
          "variants": []
        }
      ],
      "hashtags": [],
      "mentions": [
        "Anastaciaa69s",
        "NASA",
        "beno1969187"
      ],
      "links": [],
      "poll": null,
      "article": null,
      "reply_to_id": "2104962061990309896",
      "reply_to_handle": "Anastaciaa69s",
      "conversation_id": "2104593672624886205",
      "quoted_id": null,
      "possibly_sensitive": false,
      "quoted_tweet": null,
      "retweeted_tweet": null
    },
    {
      "id": "2104962061990309896",
      "url": "https://x.com/Anastaciaa69s/status/2104962061990309896",
      "text": "This might be a silly question, but do any of the many satellites we hav…",
      "created_at": "2026-09-29T15:50:38.000Z",
      "lang": "en",
      "source": null,
      "author": {
        "id": "1976909196403568640",
        "handle": "Anastaciaa69s",
        "name": "Anastacia",
        "avatar": "https://pbs.twimg.com/profile_images/1976909695861309440/CmM_S1WQ_400x400.jpg",
        "verified": false,
        "verified_type": null,
        "followers": 1035
      },
      "counts": {
        "likes": 2,
        "replies": 4,
        "retweets": 0,
        "quotes": 0,
        "bookmarks": 0,
        "views": 290
      },
      "media": [],
      "hashtags": [],
      "mentions": [
        "NASA"
      ],
      "links": [],
      "poll": null,
      "article": null,
      "reply_to_id": "2104593672624886205",
      "reply_to_handle": "NASA",
      "conversation_id": "2104593672624886205",
      "quoted_id": null,
      "possibly_sensitive": false,
      "quoted_tweet": null,
      "retweeted_tweet": null
    }
  ],
  "cursor": "DAADDAABCgABHTaU48GawU4KAAIdNQTLbVdRvQAIAAIAAAACCAADAAAAAAgABAAAAAAKAAUd…"
}
```

## Response fields

Every field in a successful response, and what it means. A name with `[]` belongs to each item of a list: `replies[].id` is the `id` of every item in `replies`. `null` means there's no value.

| Field | Type | Description |
| --- | --- | --- |
| `success` | `true` | Always true here; errors have `success: false`. |
| `credits_remaining` | `number` | Your balance after this call. On anonymous playground calls: free tries left today. |
| `credits_charged` | `number` | Credits this call cost; 0 on free endpoints. On anonymous playground calls: tries used (1). |
| `replies` | `object[]` | One page of replies, newest first. |
| `replies[].id` | `string` | Tweet id, e.g. `2104593672624886205`. |
| `replies[].url` | `string` | The tweet on x.com. |
| `replies[].text` | `string` | The text as x.com shows it: long posts in full, t.co links expanded, without a reply's leading @mentions or the trailing media link. A retweet shows the original's text. Empty for media-only tweets. |
| `replies[].created_at` | `string` | When it was posted, ISO 8601. |
| `replies[].lang` | `string`, can be null | Language as X detects it, e.g. `en` (`und` when it can't tell); null if unknown. |
| `replies[].source` | `string`, can be null | The app it was posted from, e.g. `Twitter for iPhone`; null if X doesn't say. |
| `replies[].author` | `object` | Who posted it. |
| `replies[].author.id` | `string` | Numeric user id. It stays the same when the handle changes. |
| `replies[].author.handle` | `string` | Username (handle), without @. |
| `replies[].author.name` | `string` | Display name. |
| `replies[].author.avatar` | `string`, can be null | Profile picture URL, 400×400; null if none. |
| `replies[].author.verified` | `boolean` | Has the blue check (X Premium). |
| `replies[].author.verified_type` | `string`, can be null | `Business` (gold check, a verified organization) or `Government` (grey check); null otherwise. |
| `replies[].author.followers` | `number`, can be null | Followers when fetched; null when X's main source was busy and we used its embed data instead. |
| `replies[].counts` | `object` | Engagement when fetched. Exact numbers, not rounded. A retweet shows the original's, as x.com does. |
| `replies[].counts.likes` | `number` | Likes. |
| `replies[].counts.replies` | `number` | Replies. |
| `replies[].counts.retweets` | `number`, can be null | Reposts (retweets); null when X's main source was busy and we used its embed data instead. |
| `replies[].counts.quotes` | `number`, can be null | Quote posts; null when X's main source was busy and we used its embed data instead. |
| `replies[].counts.bookmarks` | `number`, can be null | Bookmarks; null when X's main source was busy and we used its embed data instead. |
| `replies[].counts.views` | `number`, can be null | Views; null on tweets from before 2023 (X didn't count them then), and null when X's main source was busy and we used its embed data instead. |
| `replies[].media` | `object[]` | Attached photos, videos and GIFs, in order. Empty if none. |
| `replies[].media[].type` | `string` | `photo`, `video` or `gif` (X plays GIFs as silent looping MP4s). |
| `replies[].media[].url` | `string` | The image; for videos and GIFs, the poster (thumbnail) image. |
| `replies[].media[].width` | `number` | Original width in pixels. |
| `replies[].media[].height` | `number` | Original height in pixels. |
| `replies[].media[].duration_ms` | `number`, can be null | Video length in milliseconds; null for photos and GIFs. |
| `replies[].media[].variants` | `object[]` | Playable files for videos and GIFs: MP4s from highest to lowest bitrate, then the HLS playlist. Empty for photos. |
| `replies[].media[].variants[].url` | `string` | File URL on video.twimg.com. |
| `replies[].media[].variants[].content_type` | `string` | `video/mp4`, or `application/x-mpegURL` for the HLS playlist. |
| `replies[].media[].variants[].bitrate` | `number`, can be null | Bits per second; null for the HLS playlist. |
| `replies[].hashtags` | `string[]` | Hashtags in the text, without #. |
| `replies[].mentions` | `string[]` | Usernames @mentioned, including the ones a reply is addressed to. |
| `replies[].links` | `string[]` | Links in the text, expanded (not t.co). The tweet's own photos and videos aren't included. |
| `replies[].poll` | `object`, can be null | The tweet's poll; null if it has none. |
| `replies[].poll.options` | `object[]` | The choices, in order. |
| `replies[].poll.options[].label` | `string` | The choice's text. |
| `replies[].poll.options[].votes` | `number`, can be null | Votes for it, exact; null if X doesn't show them. |
| `replies[].poll.ends_at` | `string`, can be null | When voting ends (or ended), ISO 8601; null if X doesn't say. |
| `replies[].poll.closed` | `boolean` | Voting has ended, so the counts are final. |
| `replies[].article` | `object`, can be null | An X Article (long-form post): title, preview, body and cover. Its tweet's `text` is just the article's link. null for other tweets. |
| `replies[].article.title` | `string` | The article's title. |
| `replies[].article.preview_text` | `string`, can be null | The opening lines X shows on the article's card; null if none. |
| `replies[].article.text` | `string`, can be null | The full body as plain text, blocks separated by blank lines. Only the tweet endpoint has it; null elsewhere, where X sends only the preview. |
| `replies[].article.cover` | `string`, can be null | Cover image URL; null if none. |
| `replies[].reply_to_id` | `string`, can be null | Id of the tweet this replies to; null if it isn't a reply. |
| `replies[].reply_to_handle` | `string`, can be null | Username of the account this replies to; null if it isn't a reply. |
| `replies[].conversation_id` | `string`, can be null | Id of the thread's first tweet (its own id if it starts one); null if X doesn't say. |
| `replies[].quoted_id` | `string`, can be null | Id of the tweet this one quotes; null if it isn't a quote. |
| `replies[].possibly_sensitive` | `boolean` | X marks the media as possibly sensitive. |
| `replies[].quoted_tweet` | `object`, can be null | The tweet this one quotes (without its own quoted or retweeted tweet); null if none or it's no longer available. |
| `replies[].quoted_tweet.id` | `string` | Tweet id, e.g. `2104593672624886205`. |
| `replies[].quoted_tweet.url` | `string` | The tweet on x.com. |
| `replies[].quoted_tweet.text` | `string` | The text as x.com shows it: long posts in full, t.co links expanded, without a reply's leading @mentions or the trailing media link. A retweet shows the original's text. Empty for media-only tweets. |
| `replies[].quoted_tweet.created_at` | `string` | When it was posted, ISO 8601. |
| `replies[].quoted_tweet.lang` | `string`, can be null | Language as X detects it, e.g. `en` (`und` when it can't tell); null if unknown. |
| `replies[].quoted_tweet.source` | `string`, can be null | The app it was posted from, e.g. `Twitter for iPhone`; null if X doesn't say. |
| `replies[].quoted_tweet.author` | `object` | Who posted it. |
| `replies[].quoted_tweet.author.id` | `string` | Numeric user id. It stays the same when the handle changes. |
| `replies[].quoted_tweet.author.handle` | `string` | Username (handle), without @. |
| `replies[].quoted_tweet.author.name` | `string` | Display name. |
| `replies[].quoted_tweet.author.avatar` | `string`, can be null | Profile picture URL, 400×400; null if none. |
| `replies[].quoted_tweet.author.verified` | `boolean` | Has the blue check (X Premium). |
| `replies[].quoted_tweet.author.verified_type` | `string`, can be null | `Business` (gold check, a verified organization) or `Government` (grey check); null otherwise. |
| `replies[].quoted_tweet.author.followers` | `number`, can be null | Followers when fetched; null when X's main source was busy and we used its embed data instead. |
| `replies[].quoted_tweet.counts` | `object` | Engagement when fetched. Exact numbers, not rounded. A retweet shows the original's, as x.com does. |
| `replies[].quoted_tweet.counts.likes` | `number` | Likes. |
| `replies[].quoted_tweet.counts.replies` | `number` | Replies. |
| `replies[].quoted_tweet.counts.retweets` | `number`, can be null | Reposts (retweets); null when X's main source was busy and we used its embed data instead. |
| `replies[].quoted_tweet.counts.quotes` | `number`, can be null | Quote posts; null when X's main source was busy and we used its embed data instead. |
| `replies[].quoted_tweet.counts.bookmarks` | `number`, can be null | Bookmarks; null when X's main source was busy and we used its embed data instead. |
| `replies[].quoted_tweet.counts.views` | `number`, can be null | Views; null on tweets from before 2023 (X didn't count them then), and null when X's main source was busy and we used its embed data instead. |
| `replies[].quoted_tweet.media` | `object[]` | Attached photos, videos and GIFs, in order. Empty if none. |
| `replies[].quoted_tweet.media[].type` | `string` | `photo`, `video` or `gif` (X plays GIFs as silent looping MP4s). |
| `replies[].quoted_tweet.media[].url` | `string` | The image; for videos and GIFs, the poster (thumbnail) image. |
| `replies[].quoted_tweet.media[].width` | `number` | Original width in pixels. |
| `replies[].quoted_tweet.media[].height` | `number` | Original height in pixels. |
| `replies[].quoted_tweet.media[].duration_ms` | `number`, can be null | Video length in milliseconds; null for photos and GIFs. |
| `replies[].quoted_tweet.media[].variants` | `object[]` | Playable files for videos and GIFs: MP4s from highest to lowest bitrate, then the HLS playlist. Empty for photos. |
| `replies[].quoted_tweet.media[].variants[].url` | `string` | File URL on video.twimg.com. |
| `replies[].quoted_tweet.media[].variants[].content_type` | `string` | `video/mp4`, or `application/x-mpegURL` for the HLS playlist. |
| `replies[].quoted_tweet.media[].variants[].bitrate` | `number`, can be null | Bits per second; null for the HLS playlist. |
| `replies[].quoted_tweet.hashtags` | `string[]` | Hashtags in the text, without #. |
| `replies[].quoted_tweet.mentions` | `string[]` | Usernames @mentioned, including the ones a reply is addressed to. |
| `replies[].quoted_tweet.links` | `string[]` | Links in the text, expanded (not t.co). The tweet's own photos and videos aren't included. |
| `replies[].quoted_tweet.poll` | `object`, can be null | The tweet's poll; null if it has none. |
| `replies[].quoted_tweet.poll.options` | `object[]` | The choices, in order. |
| `replies[].quoted_tweet.poll.options[].label` | `string` | The choice's text. |
| `replies[].quoted_tweet.poll.options[].votes` | `number`, can be null | Votes for it, exact; null if X doesn't show them. |
| `replies[].quoted_tweet.poll.ends_at` | `string`, can be null | When voting ends (or ended), ISO 8601; null if X doesn't say. |
| `replies[].quoted_tweet.poll.closed` | `boolean` | Voting has ended, so the counts are final. |
| `replies[].quoted_tweet.article` | `object`, can be null | An X Article (long-form post): title, preview, body and cover. Its tweet's `text` is just the article's link. null for other tweets. |
| `replies[].quoted_tweet.article.title` | `string` | The article's title. |
| `replies[].quoted_tweet.article.preview_text` | `string`, can be null | The opening lines X shows on the article's card; null if none. |
| `replies[].quoted_tweet.article.text` | `string`, can be null | The full body as plain text, blocks separated by blank lines. Only the tweet endpoint has it; null elsewhere, where X sends only the preview. |
| `replies[].quoted_tweet.article.cover` | `string`, can be null | Cover image URL; null if none. |
| `replies[].quoted_tweet.reply_to_id` | `string`, can be null | Id of the tweet this replies to; null if it isn't a reply. |
| `replies[].quoted_tweet.reply_to_handle` | `string`, can be null | Username of the account this replies to; null if it isn't a reply. |
| `replies[].quoted_tweet.conversation_id` | `string`, can be null | Id of the thread's first tweet (its own id if it starts one); null if X doesn't say. |
| `replies[].quoted_tweet.quoted_id` | `string`, can be null | Id of the tweet this one quotes; null if it isn't a quote. |
| `replies[].quoted_tweet.possibly_sensitive` | `boolean` | X marks the media as possibly sensitive. |
| `replies[].retweeted_tweet` | `object`, can be null | For retweets: the original tweet and its author. The retweet's own text, media, links and counts mirror it (as on x.com); its id, author and `created_at` are the retweet's. null for everything else. |
| `replies[].retweeted_tweet.id` | `string` | Tweet id, e.g. `2104593672624886205`. |
| `replies[].retweeted_tweet.url` | `string` | The tweet on x.com. |
| `replies[].retweeted_tweet.text` | `string` | The text as x.com shows it: long posts in full, t.co links expanded, without a reply's leading @mentions or the trailing media link. A retweet shows the original's text. Empty for media-only tweets. |
| `replies[].retweeted_tweet.created_at` | `string` | When it was posted, ISO 8601. |
| `replies[].retweeted_tweet.lang` | `string`, can be null | Language as X detects it, e.g. `en` (`und` when it can't tell); null if unknown. |
| `replies[].retweeted_tweet.source` | `string`, can be null | The app it was posted from, e.g. `Twitter for iPhone`; null if X doesn't say. |
| `replies[].retweeted_tweet.author` | `object` | Who posted it. |
| `replies[].retweeted_tweet.author.id` | `string` | Numeric user id. It stays the same when the handle changes. |
| `replies[].retweeted_tweet.author.handle` | `string` | Username (handle), without @. |
| `replies[].retweeted_tweet.author.name` | `string` | Display name. |
| `replies[].retweeted_tweet.author.avatar` | `string`, can be null | Profile picture URL, 400×400; null if none. |
| `replies[].retweeted_tweet.author.verified` | `boolean` | Has the blue check (X Premium). |
| `replies[].retweeted_tweet.author.verified_type` | `string`, can be null | `Business` (gold check, a verified organization) or `Government` (grey check); null otherwise. |
| `replies[].retweeted_tweet.author.followers` | `number`, can be null | Followers when fetched; null when X's main source was busy and we used its embed data instead. |
| `replies[].retweeted_tweet.counts` | `object` | Engagement when fetched. Exact numbers, not rounded. A retweet shows the original's, as x.com does. |
| `replies[].retweeted_tweet.counts.likes` | `number` | Likes. |
| `replies[].retweeted_tweet.counts.replies` | `number` | Replies. |
| `replies[].retweeted_tweet.counts.retweets` | `number`, can be null | Reposts (retweets); null when X's main source was busy and we used its embed data instead. |
| `replies[].retweeted_tweet.counts.quotes` | `number`, can be null | Quote posts; null when X's main source was busy and we used its embed data instead. |
| `replies[].retweeted_tweet.counts.bookmarks` | `number`, can be null | Bookmarks; null when X's main source was busy and we used its embed data instead. |
| `replies[].retweeted_tweet.counts.views` | `number`, can be null | Views; null on tweets from before 2023 (X didn't count them then), and null when X's main source was busy and we used its embed data instead. |
| `replies[].retweeted_tweet.media` | `object[]` | Attached photos, videos and GIFs, in order. Empty if none. |
| `replies[].retweeted_tweet.media[].type` | `string` | `photo`, `video` or `gif` (X plays GIFs as silent looping MP4s). |
| `replies[].retweeted_tweet.media[].url` | `string` | The image; for videos and GIFs, the poster (thumbnail) image. |
| `replies[].retweeted_tweet.media[].width` | `number` | Original width in pixels. |
| `replies[].retweeted_tweet.media[].height` | `number` | Original height in pixels. |
| `replies[].retweeted_tweet.media[].duration_ms` | `number`, can be null | Video length in milliseconds; null for photos and GIFs. |
| `replies[].retweeted_tweet.media[].variants` | `object[]` | Playable files for videos and GIFs: MP4s from highest to lowest bitrate, then the HLS playlist. Empty for photos. |
| `replies[].retweeted_tweet.media[].variants[].url` | `string` | File URL on video.twimg.com. |
| `replies[].retweeted_tweet.media[].variants[].content_type` | `string` | `video/mp4`, or `application/x-mpegURL` for the HLS playlist. |
| `replies[].retweeted_tweet.media[].variants[].bitrate` | `number`, can be null | Bits per second; null for the HLS playlist. |
| `replies[].retweeted_tweet.hashtags` | `string[]` | Hashtags in the text, without #. |
| `replies[].retweeted_tweet.mentions` | `string[]` | Usernames @mentioned, including the ones a reply is addressed to. |
| `replies[].retweeted_tweet.links` | `string[]` | Links in the text, expanded (not t.co). The tweet's own photos and videos aren't included. |
| `replies[].retweeted_tweet.poll` | `object`, can be null | The tweet's poll; null if it has none. |
| `replies[].retweeted_tweet.poll.options` | `object[]` | The choices, in order. |
| `replies[].retweeted_tweet.poll.options[].label` | `string` | The choice's text. |
| `replies[].retweeted_tweet.poll.options[].votes` | `number`, can be null | Votes for it, exact; null if X doesn't show them. |
| `replies[].retweeted_tweet.poll.ends_at` | `string`, can be null | When voting ends (or ended), ISO 8601; null if X doesn't say. |
| `replies[].retweeted_tweet.poll.closed` | `boolean` | Voting has ended, so the counts are final. |
| `replies[].retweeted_tweet.article` | `object`, can be null | An X Article (long-form post): title, preview, body and cover. Its tweet's `text` is just the article's link. null for other tweets. |
| `replies[].retweeted_tweet.article.title` | `string` | The article's title. |
| `replies[].retweeted_tweet.article.preview_text` | `string`, can be null | The opening lines X shows on the article's card; null if none. |
| `replies[].retweeted_tweet.article.text` | `string`, can be null | The full body as plain text, blocks separated by blank lines. Only the tweet endpoint has it; null elsewhere, where X sends only the preview. |
| `replies[].retweeted_tweet.article.cover` | `string`, can be null | Cover image URL; null if none. |
| `replies[].retweeted_tweet.reply_to_id` | `string`, can be null | Id of the tweet this replies to; null if it isn't a reply. |
| `replies[].retweeted_tweet.reply_to_handle` | `string`, can be null | Username of the account this replies to; null if it isn't a reply. |
| `replies[].retweeted_tweet.conversation_id` | `string`, can be null | Id of the thread's first tweet (its own id if it starts one); null if X doesn't say. |
| `replies[].retweeted_tweet.quoted_id` | `string`, can be null | Id of the tweet this one quotes; null if it isn't a quote. |
| `replies[].retweeted_tweet.possibly_sensitive` | `boolean` | X marks the media as possibly sensitive. |
| `cursor` | `string`, can be null | Pass as `cursor` for the next page; null on the last page. |

## Pagination

Results come in pages. For the next page, repeat the call with the same parameters and add the response's `cursor` as `cursor`. On the last page, `cursor` is `null`. Each page costs 6 credits.

The first five pages, in JavaScript:

```js
let cursor = null;
for (let page = 1; page <= 5; page++) {
  const params = new URLSearchParams({ url: "https://x.com/NASA/status/2104593672624886205" });
  if (cursor) params.set("cursor", cursor);
  const res = await fetch(`https://api.lurkapi.com/v1/twitter/tweet/replies?${params}`, {
    headers: { "x-api-key": process.env.LURKAPI_API_KEY },
  });
  const data = await res.json();
  if (!data.success) throw new Error(`${data.code}: ${data.error}`);
  console.log(data.replies);
  cursor = data.cursor;
  if (!cursor) break; // last page
}
```

## Cost and freshness

Each call costs 6 credits. Calls turned away before they reach the platform (invalid parameters, a key or balance problem, a rate limit) are free, and so are `5xx` errors. A `not_found` is charged, since the platform was checked. [How charging works](https://lurkapi.com/docs.md#credits).

Answers are cached for up to 5 minutes. A repeat call within that time can return the same data, and costs the same.

## Errors

A failed call returns `success: false`, an `error` message, a `code` your program can check, and a `docs` link. These are the errors this endpoint can return. [All error codes](https://lurkapi.com/docs.md#errors).

| Status | Code | Meaning |
| --- | --- | --- |
| 401 | `missing_api_key` | No API key was sent. Put it in the `x-api-key` header. |
| 401 | `invalid_api_key` | This key doesn't exist or was revoked. |
| 402 | `insufficient_credits` | Not enough credits for this call. Buy a pack, or wait for tomorrow's free top-up. |
| 402 | `over_max_credits` | This call would cost more than the `max_credits` you set. The error says what it needs; raise `max_credits` to allow it. Not charged. |
| 403 | `account_suspended` | This account is suspended. Email support@lurkapi.com. Not charged. |
| 404 | `not_found` | What you asked for (a post, an ad, a subreddit) doesn't exist, or there's no endpoint at that path. Charged if the platform was checked. |
| 405 | `method_not_allowed` | Endpoints only take `GET`, with parameters in the URL. |
| 429 | `rate_limited` | Too many calls in a short time. Wait as many seconds as the `retry-after` header says, then retry. |
| 500 | `internal_error` | Something broke on our side. Retry. Not charged. |
| 502 | `upstream_error` | The platform didn't send a usable answer. Retry. Not charged. |
| 503 | `upstream_busy` | All our connections to the platform are busy. Retry in a few seconds. Not charged. |
| 504 | `upstream_timeout` | The platform took over 30 seconds to answer (90 for web pages). Retry. Not charged. |

## Use it in Claude

[Connect LurkAPI to Claude](https://lurkapi.com/docs.md#claude) and ask in plain English. This endpoint is the `twitter` tool with `endpoint: "replies"`. For example:

Ask Claude:

```text
Use LurkAPI's twitter tool (replies) with url "https://x.com/NASA/status/2104593672624886205", then summarize what you find.
```

Claude calls `twitter` with arguments like these, and each call costs 6 credits:

Tool arguments:

```json
{
  "endpoint": "replies",
  "url": "https://x.com/NASA/status/2104593672624886205"
}
```

To save tokens, tool results leave out empty fields, keep one URL per image or video, and give transcripts as plain text unless you pass `timestamps=true`. A result over 45,000 characters comes in parts. Its `_note` gives the `offset` for the next part, and later parts are free for 15 minutes. Pass `trim=false` for the full response.

---

Previous: [Search tweets](https://lurkapi.com/docs/twitter/search.md) · Next: [Followers](https://lurkapi.com/docs/twitter/followers.md)
