Back to Hub
Tony Costanzo
X Get Tweet
HTTP Official APILook up a single tweet by ID on X (Twitter). Returns full tweet text, author info, and engagement metrics.
0 installs
v1.0.0
Mar 31, 2026
Workspace secrets required
This tool references workspace secrets. After installing, you'll need to configure the required secrets in Settings → Integrations and create a new secret for the tool to work.
X Get Tweet
Official Look up a single tweet by ID with full details and engagement metrics.
What this tool does: Retrieves a specific tweet by its ID using the X API v2. Returns the full tweet text, author info (name, username, verified status), timestamp, conversation ID, and public engagement metrics. Useful when an agent needs to analyze a tweet someone shared a link to.
Setup
Follow the setup in X Search Tweets if you haven't already. This tool uses the same X_API_KEY secret.
Never paste API keys directly into tool definitions. Always use workspace secrets.
Parameters
| Parameter | Required | Description |
|---|---|---|
tweet_id | Yes | The numeric tweet ID — found in the URL after /status/ (e.g., 1234567890) |
Example Prompts
Try these with your agent:
- "Look up this tweet: https://x.com/user/status/1234567890"
- "Get the engagement stats on tweet ID 1234567890"
- "What does this tweet say? 1876543210987654321"
Notes
Tip: The conversation ID field lets you identify which thread a tweet belongs to. If the conversation ID matches the tweet ID, it's the root of a thread.
Tool Definition
Input Parameters
tweet_idstringThe numeric ID of the tweet to look up. Found in the tweet URL after /status/ (e.g., '1234567890').HTTP Configuration
Method: GET
URL: https://api.twitter.com/2/tweets/{{input.tweet_id}}?tweet.fields=created_at,public_metrics,lang,conversation_id&expansions=author_id&user.fields=name,username,verified