X (Twitter) post comments by tweet id

Twitter: fetch post comments (web)

by TikHubReady to run$0.0025 per request · $0.25 per 100 requests

Example

You ask your agent

“Show me the replies to Elon Musk's post congratulating the Tesla cell team.”

You get

Text
Congratulations Tesla cell team!
Views
57916879
Quotes
257
Status
active
Thread
@elonmusk By buying Twitter, Elon saved freedom of speech. By endorsing Trump, Elon is helping SAVE AMERICA! Thank…
Replies
3489
Retweets
7456
Bookmarks
1613
What your agent sends and gets back (JSON)

Your agent works out the exact inputs, such as IDs, dates and settings, from what you ask.

Request

{
  "tool_id": "tikhub.twitter-web-fetch-post-comments",
  "input": {
    "tweet_id": "1835124037934367098"
  }
}

Response

{
  "data": {
    "id": "1835124037934367098",
    "text": "Congratulations Tesla cell team!",
    "views": "57916879",
    "author": {
      "name": "Elon Musk",
      "rest_id": "44196397",
      "screen_name": "elonmusk"
    },
    "quoted": {
      "text": "Produced our 100 millionth 4680 cell across all our factories! https://t.co/3P2dO35OWJ",
      "media": {
        "photo": [
          {
            "id": "1835019788181008385"
          }
        ]
      },
      "views": "59671219",
      "author": {
        "name": "Tesla",
        "rest_id": "13298072",
        "screen_name": "Tesla"
      },
      "quotes": 600,
      "replies": 861,
      "retweets": 2279,
      "tweet_id": "1835019793688048054",
      "bookmarks": 522,
      "favorites": 17923,
      "created_at": "Sat Sep 14 18:16:26 +0000 2024"
    },
    "quotes": 257,
    "status": "active",
    "thread": [
      {
        "id": "1835124568618680425",
        "text": "@elonmusk By buying Twitter, Elon saved freedom of speech.\n\nBy endorsing Trump, Elon is helping SAVE AMERICA!\n\nThank you, Elon, for giving us back free speech.\n\nX is better than Twitter EVER WAS!",
        "views": "30060",
        "author": {
          "name": "Bo Loudon",
          "rest_id": "862718426757779457",
          "screen_name": "BoLoudon"
        },
        "quotes": 2,
        "status": "active",
        "replies": 28,
        "entities": {
          "user_mentions": [
            {
              "name": "Elon Musk",
              "screen_name": "elonmusk"
            }
          ]
        },
        "retweets": 66,
        "bookmarks": 6,
        "created_at": "Sun Sep 15 01:12:46 +0000 2024",
        "display_text": "By buying Twitter, Elon saved freedom of speech.\n\nBy endorsing Trump, Elon is helping SAVE AMERICA!\n\nThank you, Elon, for giving us back free speech.\n\nX is better than Twitter EVER WAS!"
      }
    ],
    "replies": 3489,
    "retweets": 7456,
    "bookmarks": 1613,
    "created_at": "Sun Sep 15 01:10:40 +0000 2024",
    "display_text": "Congratulations Tesla cell team!"
  }
}

Use it with your agent

Copy the prompt and paste it into your agent, then tell it what you need.

Read https://scrollport.com/start. Use my existing Scrollport connection, or help me connect if needed. Help me use X (Twitter) post comments by tweet id (tool ID: tikhub.twitter-web-fetch-post-comments). Ask me for the details you need, then show me the result.

Provider access is included. If your agent isn't connected to Scrollport yet, it will help you set that up.

Other tools for this job

Compare all 14 →

Questions

Is X (Twitter) post comments by tweet id (TikHub) free?

Scrollport has no free tier: it costs $0.0025 per request ($0.25 per 100 requests), paid per use from a prepaid wallet with no subscription. Connecting your first agent adds $1 of trial credit, so you can try it before adding funds.

Do I need an API key from TikHub?

No. Your agent runs it through your Scrollport connection (MCP, the Scrollport CLI or the HTTP API), and Scrollport handles access to TikHub, so you don't sign up with TikHub or manage an API key.

Details

About this tool

Twitter: fetch post comments (web) Retrieve one bounded result or page. Pagination is explicit; each follow-up page is another call. The catalog price is the maximum per request. Quotes use the selected limits. Completed requests cost their quote, including valid empty pages and no-match answers. Failed requests are uncharged. Read public social data without a connected social account. Results include reviewed business data and available pagination. The worked example shows selected fields from a recorded response, with at most one selected item from each list.

All inputs and outputs

Input

cursorstring · optional

Cursor

minLength: 1 · maxLength: 4096

tweet_idstring · required

Tweet ID

minLength: 1 · maxLength: 500

Output

dataobject

Main result payload.

Errors and limits
  • invalid_input: The lookup fields or limits are invalid.example: {"tweet_id":"1835124037934367098"}
  • upstream_error: The provider could not complete a verified result; the wallet was not charged.Check the documented fields and contact Scrollport support with the run ID if needed.