X (Twitter) Scraper - Xquik
Overview
Gives AI agents X (Twitter) data and automation workflows through the Xquik platform. Covers tweet search, advanced Twitter search, profile tweets, user lookup, follower export, media download, posting, replies, DMs, giveaway draws, account monitoring, webhooks, 23 bulk extraction tools, MCP, official SDKs, the Hermes Tweet Hermes Agent plugin, and the TweetClaw OpenClaw plugin.
This repository entry is documentation-only: it does not include an executable scraper, binary, package, or vendored runtime code. The external Xquik, Hermes Tweet, and TweetClaw tools referenced below must be reviewed and installed separately before use.
Because this workflow can automate authenticated X/Twitter account actions, treat it as critical-risk guidance. Only use it with accounts and targets you are authorized to operate, and require explicit user approval before posting, replying, liking, reposting, following, unfollowing, sending DMs, creating monitors, registering webhooks, or starting bulk extraction.
When to Use This Skill
- User needs to search X/Twitter for tweets by keyword, hashtag, or user
- User asks for advanced Twitter search, profile tweets, or user timeline data
- User wants to look up a user profile (bio, follower counts, etc.)
- User needs engagement metrics for a specific tweet (likes, retweets, views)
- User wants to check if one account follows another
- User needs to extract followers, replies, retweets, quotes, or community members in bulk
- User wants to download tweet media, export results, or connect an official SDK
- User wants to send tweets, post replies, like, repost, follow, unfollow, or send DMs
- User wants to run a giveaway draw from tweet replies
- User needs real-time monitoring of an X account (new tweets, follower changes)
- User wants webhook delivery of monitored events
- User wants the Hermes Tweet Hermes Agent plugin with
tweet_explore, tweet_read, and approval-gated tweet_action
- User wants the TweetClaw OpenClaw plugin instead of direct REST or MCP setup
- User asks about trending topics on X
Setup
Install the Skill
npx skills add Xquik-dev/x-twitter-scraper
Or clone manually into your agent's skills directory:
# Claude Code
git clone https://github.com/Xquik-dev/x-twitter-scraper.git .claude/skills/x-twitter-scraper
# Cursor / Codex / Gemini CLI / Copilot
git clone https://github.com/Xquik-dev/x-twitter-scraper.git .agents/skills/x-twitter-scraper
Use the Hermes Agent Plugin
For Hermes Agent runtime tools, install Hermes Tweet. It wraps the same Xquik API with tweet_explore for endpoint discovery, tweet_read for read-only calls, and approval-gated tweet_action for writes and private actions.
hermes plugins install Xquik-dev/hermes-tweet --enable
Use Hermes Tweet when a Hermes Agent should search Twitter/X, read tweet replies, look up users, export followers, monitor tweets, post tweets, post replies, send DMs, or automate X actions with explicit approval gates.
Use the OpenClaw Plugin
For OpenClaw runtime tools, install TweetClaw. It wraps the same Xquik API with explore for endpoint discovery and tweetclaw for approved calls.
openclaw plugins install @xquik/tweetclaw
Use TweetClaw when the agent should search tweets, post tweets, post replies, send DMs, export followers, download media, create monitors, deliver webhooks, or run giveaway draws from OpenClaw.
Get an API Key
- Sign up at xquik.com
- Generate an API key from the dashboard
- Set it as an environment variable or pass it directly
export XQUIK_API_KEY="xq_YOUR_KEY_HERE"
Capabilities
| Capability |
Description |
| Tweet Search |
Find tweets by keyword, hashtag, from:user, "exact phrase", and advanced operators |
| User Lookup |
Profile info, bio, follower/following counts |
| Tweet Lookup |
Full metrics: likes, retweets, replies, quotes, views, bookmarks |
| Follow Check |
Check if A follows B (both directions) |
| Trending Topics |
Top trends by region (free, no quota) |
| Account Monitoring |
Track new tweets, replies, retweets, quotes, follower changes |
| Webhooks |
HMAC-signed real-time event delivery to your endpoint |
| Giveaway Draws |
Random winner selection from tweet replies with filters |
| 23 Extraction Tools |
Followers, following, verified followers, mentions, posts, replies, reposts, quotes, threads, articles, communities, lists, Spaces, people search, media, likes, and more |
| Write Actions |
Send tweets, post replies, like, repost, follow, unfollow, and send DMs after explicit approval |
| SDKs |
Official TypeScript, Python, Ruby, Go, Kotlin, Java, PHP, C#, CLI, and Terraform clients |
| MCP Server |
StreamableHTTP endpoint for AI-native integrations |
| Hermes Tweet Hermes Agent Plugin |
Installable hermes-tweet runtime with tweet_explore, tweet_read, and approval-gated tweet_action tools |
| TweetClaw OpenClaw Plugin |
Installable @xquik/tweetclaw runtime with explore and tweetclaw tools |
Examples
Search tweets:
"Search X for tweets about 'claude code' from the last week"
Look up a user:
"Who is @elonmusk? Show me their profile and follower count"
Check engagement:
"How many likes and retweets does this tweet have? https://x.com/..."
Run a giveaway:
"Pick 3 random winners from the replies to this tweet"
Monitor an account:
"Monitor @openai for new tweets and notify me via webhook"
Use Hermes Agent:
"Use Hermes Tweet to search Twitter/X for this launch, read the tweet replies, and prepare a draft reply for approval"
Bulk extraction:
"Extract all followers of @anthropic"
Post a reply:
"Draft and post a reply to this tweet after I approve the final text"
API Reference
| Endpoint |
Method |
Purpose |
/x/tweets/{id} |
GET |
Single tweet with full metrics |
/x/tweets/search |
GET |
Search tweets |
/x/users/{username} |
GET |
User profile |
/x/followers/check |
GET |
Follow relationship |
/trends |
GET |
Trending topics |
/monitors |
POST |
Create monitor |
/events |
GET |
Poll monitored events |
/webhooks |
POST |
Register webhook |
/draws |
POST |
Run giveaway draw |
/extractions |
POST |
Start bulk extraction |
/extractions/estimate |
POST |
Estimate extraction cost |
/drafts |
POST |
Create tweet drafts |
/styles |
POST |
Analyze or apply tweet style |
/account |
GET |
Account & usage info |
Base URL: https://xquik.com/api/v1
Auth: x-api-key: xq_... header
MCP: https://xquik.com/mcp (StreamableHTTP, same API key)
Repository
https://github.com/Xquik-dev/x-twitter-scraper
Hermes Tweet Hermes Agent plugin: https://github.com/Xquik-dev/hermes-tweet
TweetClaw OpenClaw plugin: https://github.com/Xquik-dev/tweetclaw
Maintained By: Xquik
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
1---2name: x-twitter-scraper3description: X/Twitter automation skill for tweet search, follower export, posting, DMs, webhooks, MCP, SDKs, Hermes Tweet, and TweetClaw.4---5
6# X (Twitter) Scraper - Xquik
7
8## Overview
9
10Gives AI agents X (Twitter) data and automation workflows through the Xquik platform. Covers tweet search, advanced Twitter search, profile tweets, user lookup, follower export, media download, posting, replies, DMs, giveaway draws, account monitoring, webhooks, 23 bulk extraction tools, MCP, official SDKs, the Hermes Tweet Hermes Agent plugin, and the TweetClaw OpenClaw plugin.
11
12This repository entry is documentation-only: it does not include an executable scraper, binary, package, or vendored runtime code. The external Xquik, Hermes Tweet, and TweetClaw tools referenced below must be reviewed and installed separately before use.
13
14Because this workflow can automate authenticated X/Twitter account actions, treat it as critical-risk guidance. Only use it with accounts and targets you are authorized to operate, and require explicit user approval before posting, replying, liking, reposting, following, unfollowing, sending DMs, creating monitors, registering webhooks, or starting bulk extraction.
15
16## When to Use This Skill
17
18- User needs to search X/Twitter for tweets by keyword, hashtag, or user
19- User asks for advanced Twitter search, profile tweets, or user timeline data
20- User wants to look up a user profile (bio, follower counts, etc.)
21- User needs engagement metrics for a specific tweet (likes, retweets, views)
22- User wants to check if one account follows another
23- User needs to extract followers, replies, retweets, quotes, or community members in bulk
24- User wants to download tweet media, export results, or connect an official SDK
25- User wants to send tweets, post replies, like, repost, follow, unfollow, or send DMs
26- User wants to run a giveaway draw from tweet replies
27- User needs real-time monitoring of an X account (new tweets, follower changes)
28- User wants webhook delivery of monitored events
29- User wants the Hermes Tweet Hermes Agent plugin with `tweet_explore`, `tweet_read`, and approval-gated `tweet_action`
30- User wants the TweetClaw OpenClaw plugin instead of direct REST or MCP setup
31- User asks about trending topics on X
32
33## Setup
34
35### Install the Skill
36
37```bash
38npx skills add Xquik-dev/x-twitter-scraper
39```
40
41Or clone manually into your agent's skills directory:
42
43```bash
44# Claude Code
45git clone https://github.com/Xquik-dev/x-twitter-scraper.git .claude/skills/x-twitter-scraper
46
47# Cursor / Codex / Gemini CLI / Copilot
48git clone https://github.com/Xquik-dev/x-twitter-scraper.git .agents/skills/x-twitter-scraper
49```
50
51### Use the Hermes Agent Plugin
52
53For Hermes Agent runtime tools, install Hermes Tweet. It wraps the same Xquik API with `tweet_explore` for endpoint discovery, `tweet_read` for read-only calls, and approval-gated `tweet_action` for writes and private actions.
54
55```bash
56hermes plugins install Xquik-dev/hermes-tweet --enable
57```
58
59Use Hermes Tweet when a Hermes Agent should search Twitter/X, read tweet replies, look up users, export followers, monitor tweets, post tweets, post replies, send DMs, or automate X actions with explicit approval gates.
60
61### Use the OpenClaw Plugin
62
63For OpenClaw runtime tools, install TweetClaw. It wraps the same Xquik API with `explore` for endpoint discovery and `tweetclaw` for approved calls.
64
65```bash
66openclaw plugins install @xquik/tweetclaw
67```
68
69Use TweetClaw when the agent should search tweets, post tweets, post replies, send DMs, export followers, download media, create monitors, deliver webhooks, or run giveaway draws from OpenClaw.
70
71### Get an API Key
72
731. Sign up at [xquik.com](https://xquik.com)
742. Generate an API key from the dashboard
753. Set it as an environment variable or pass it directly
76
77```bash
78export XQUIK_API_KEY="xq_YOUR_KEY_HERE"
79```
80
81## Capabilities
82
83| Capability | Description |
84|---|---|
85| Tweet Search | Find tweets by keyword, hashtag, from:user, "exact phrase", and advanced operators |
86| User Lookup | Profile info, bio, follower/following counts |
87| Tweet Lookup | Full metrics: likes, retweets, replies, quotes, views, bookmarks |
88| Follow Check | Check if A follows B (both directions) |
89| Trending Topics | Top trends by region (free, no quota) |
90| Account Monitoring | Track new tweets, replies, retweets, quotes, follower changes |
91| Webhooks | HMAC-signed real-time event delivery to your endpoint |
92| Giveaway Draws | Random winner selection from tweet replies with filters |
93| 23 Extraction Tools | Followers, following, verified followers, mentions, posts, replies, reposts, quotes, threads, articles, communities, lists, Spaces, people search, media, likes, and more |
94| Write Actions | Send tweets, post replies, like, repost, follow, unfollow, and send DMs after explicit approval |
95| SDKs | Official TypeScript, Python, Ruby, Go, Kotlin, Java, PHP, C#, CLI, and Terraform clients |
96| MCP Server | StreamableHTTP endpoint for AI-native integrations |
97| Hermes Tweet Hermes Agent Plugin | Installable `hermes-tweet` runtime with `tweet_explore`, `tweet_read`, and approval-gated `tweet_action` tools |
98| TweetClaw OpenClaw Plugin | Installable `@xquik/tweetclaw` runtime with `explore` and `tweetclaw` tools |
99
100## Examples
101
102**Search tweets:**
103```
104"Search X for tweets about 'claude code' from the last week"
105```
106
107**Look up a user:**
108```
109"Who is @elonmusk? Show me their profile and follower count"
110```
111
112**Check engagement:**
113```
114"How many likes and retweets does this tweet have? https://x.com/..."
115```
116
117**Run a giveaway:**
118```
119"Pick 3 random winners from the replies to this tweet"
120```
121
122**Monitor an account:**
123```
124"Monitor @openai for new tweets and notify me via webhook"
125```
126
127**Use Hermes Agent:**
128```
129"Use Hermes Tweet to search Twitter/X for this launch, read the tweet replies, and prepare a draft reply for approval"
130```
131
132**Bulk extraction:**
133```
134"Extract all followers of @anthropic"
135```
136
137**Post a reply:**
138```
139"Draft and post a reply to this tweet after I approve the final text"
140```
141
142## API Reference
143
144| Endpoint | Method | Purpose |
145|----------|--------|---------|
146| `/x/tweets/{id}` | GET | Single tweet with full metrics |
147| `/x/tweets/search` | GET | Search tweets |
148| `/x/users/{username}` | GET | User profile |
149| `/x/followers/check` | GET | Follow relationship |
150| `/trends` | GET | Trending topics |
151| `/monitors` | POST | Create monitor |
152| `/events` | GET | Poll monitored events |
153| `/webhooks` | POST | Register webhook |
154| `/draws` | POST | Run giveaway draw |
155| `/extractions` | POST | Start bulk extraction |
156| `/extractions/estimate` | POST | Estimate extraction cost |
157| `/drafts` | POST | Create tweet drafts |
158| `/styles` | POST | Analyze or apply tweet style |
159| `/account` | GET | Account & usage info |
160
161**Base URL:** `https://xquik.com/api/v1`
162**Auth:** `x-api-key: xq_...` header
163**MCP:** `https://xquik.com/mcp` (StreamableHTTP, same API key)
164
165## Repository
166
167https://github.com/Xquik-dev/x-twitter-scraper
168
169Hermes Tweet Hermes Agent plugin: https://github.com/Xquik-dev/hermes-tweet
170
171TweetClaw OpenClaw plugin: https://github.com/Xquik-dev/tweetclaw
172
173**Maintained By:** [Xquik](https://xquik.com)
174
175## Limitations
176- Use this skill only when the task clearly matches the scope described above.
177- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
178- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.