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