X (Twitter) user's posts by handle or user id

Recent posts of an X (Twitter) user

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

Example

You ask your agent

“Show me @elonmusk's latest posts on X.”

You get

Name
Elon Musk
Profile
elonmusk
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.user-posts",
  "input": {
    "screen_name": "elonmusk"
  }
}

Response

{
  "data": {
    "user": {
      "id": "44196397",
      "name": "Elon Musk",
      "profile": "elonmusk"
    },
    "status": "ok",
    "timeline": [
      {
        "text": "RT @_MaxQ_: Starship transiting the Sun this morning during Flight 14 — prior to this morning's mission, this has never been captured befor…",
        "tweet_id": "2104716406516228196",
        "created_at": "Mon Sep 28 23:34:29 +0000 2026"
      }
    ]
  }
}

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) user's posts by handle or user id (tool ID: tikhub.user-posts). 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) user's posts by handle or user 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

Recent posts of an X (Twitter) user 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. A post may omit quoted posts, reposts, mentions and media. These content-dependent fields are optional; the example retains the user identity and post ID, text and timestamp.

All inputs and outputs

Input

cursorstring · optional

pagination cursor from the previous response

minLength: 1 · maxLength: 4096

rest_idstring · optional

Numeric X user ID, supplied as a string to preserve every digit.

minLength: 1 · maxLength: 25

screen_namestring · optional

minLength: 1 · maxLength: 500

Output

dataobject

Main result payload.

Errors and limits
  • invalid_input: The lookup fields or limits are invalid.example: {"screen_name":"elonmusk"}
  • 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.