Back to Get X (Twitter) posts and profiles

X (Twitter) profile by handle or user id

TikHub

Public X (Twitter) profile by handle or numeric id

Use this tool with your AI agent

  1. Copy the prompt
  2. Paste it into your agent
  3. 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) profile by handle or user id (tool ID: tikhub.user-profile). Ask me for the details you need, then show me the result.

Already connected
Your agent can use that connection.
New user
Your agent will guide you through setup, sign-in and authorisation.

Provider access is included.

Connect your first agent to receive $1 trial credit.

Current price
$0.0025/request
Availability
Ready to run

Tool details

About this tool

Public X (Twitter) profile by handle or numeric id 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.

Inputs and outputs

Input

rest_idstring · optional

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

minLength: 1 · maxLength: 25

screen_namestring · optional

handle from the profile URL

minLength: 1 · maxLength: 500

Output

dataobject

Returned data value.

Example request and output

Inspect returns this reviewed example, its estimated cost and the current input schema. Run calculates the estimate for your actual input.

Request

{
  "tool_id": "tikhub.user-profile",
  "input": {
    "screen_name": "elonmusk"
  }
}

Output

{
  "data": {
    "id": "44196397",
    "desc": "https://t.co/ZdBx5WABYx",
    "name": "Elon Musk",
    "status": "active",
    "profile": "elonmusk",
    "rest_id": "44196397",
    "affiliates": {
      "label": {
        "url": {
          "url": "https://twitter.com/X"
        },
        "badge": {
          "url": "https://pbs.twimg.com/profile_images/1955359038532653056/OSHY3ewP_bigger.jpg"
        },
        "description": "X"
      }
    },
    "created_at": "Tue Jun 02 20:12:29 +0000 2009",
    "media_count": 4717
  }
}
Errors and limitations
  • 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.