POST

Post Comments

/v1/twitter/post/comments

Fetch replies and comments on any tweet. Returns an array of posts representing the replies.

Response data is wrapped as {comments: [...], url: "...", count: int}.

Request Parameters

ParameterTypeRequiredDescription
post_urlstringYesFull tweet URL
limitintNoMax results (1-100) (default: 20)

Example

curl -X POST https://query-data-api.notpeople.ai/v1/twitter/post/comments \
  -H "X-API-Key: tw_live_your_key" \
  -H "Content-Type: application/json" \
  -d '{"post_url": "https://x.com/elonmusk/status/1234567890", "limit": 20}'

Response Schema

All responses include success, data, and usage fields.

FieldTypeDescription
data.commentsarrayArray of comment post objects
data.urlstringCanonical tweet URL
data.countintNumber of comments returned
comment.post_idstringUnique tweet ID
comment.user_idstringAuthor user ID
comment.usernamestringAuthor handle
comment.namestringAuthor display name
comment.textstringReply text content
comment.created_atstringHuman-readable timestamp
comment.timestampintUnix timestamp
comment.post_typestringtweet | retweet | reply | quote
comment.likes_countintNumber of likes
comment.retweets_countintNumber of retweets
comment.replies_countintNumber of replies
comment.views_countintNumber of views
comment.is_blue_verifiedboolAuthor verification status
comment.profile_image_urlstringAuthor profile picture URL
comment.reply_to_post_idstring | nullID of the post being replied to
comment.reply_to_userstring | nullUsername of the user being replied to
comment.reply_to_postobject | nullFull post object being replied to
comment.is_pinnedboolWhether the comment is pinned
comment.mediaarray | nullAttached media [{type, url}]
comment.quoted_postobject | nullQuoted tweet data if present

Example Response

{
  "success": true,
  "data": {
    "comments": [
      {
        "post_id": "2037089486480564357",
        "user_id": "3439026987",
        "username": "nittrou",
        "name": "Luke Goodridge",
        "text": "@adcock_brett the white house visit will get all the attention...",
        "created_at": "Thu Mar 26 08:49:15 +0000 2026",
        "timestamp": 1774514955,
        "post_type": "reply",
        "likes_count": 0,
        "retweets_count": 0,
        "replies_count": 0,
        "is_blue_verified": true,
        "profile_image_url": "https://pbs.twimg.com/profile_images/.../photo.jpg",
        "views_count": 21,
        "reply_to_post_id": "2037025177297686839",
        "reply_to_user": "adcock_brett",
        "reply_to_post": null,
        "is_pinned": false,
        "media": null,
        "quoted_post": null
      }
    ],
    "url": "https://x.com/adcock_brett/status/2037025177297686839",
    "count": 1
  },
  "usage": {
    "unique_posts": 82,
    "limit": 6000,
    "remaining": 5918
  }
}

Try this endpoint live

Sign up for free to try endpoints directly from the docs. No credit card required.

Create Free Account