技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
x-twitter-scraper【数据与研究】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.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
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 access private data and automate authenticated X/Twitter account actions, treat it as critical-risk guidance. Only use it with accounts and targets you are authorized to operate. Require explicit user approval before private reads, writes, persistent monitors, webhook delivery, or metered bulk jobs.
Do not install a moving branch directly into an active agent directory. First ask the user to approve network access to the named repository. Clone the reviewed revision to a temporary directory and inspect every bundled file:
review_dir="$(mktemp -d)"
git clone --filter=blob:none https://github.com/Xquik-dev/x-twitter-scraper.git "$review_dir/x-twitter-scraper"
git -C "$review_dir/x-twitter-scraper" checkout --detach 0aa909b40f341b28d8b58766e251e44e080df998
git -C "$review_dir/x-twitter-scraper" ls-files
Read the skill and all bundled files; check package scripts, hooks, symlinks, network calls, credential handling, and account-write actions. Show the findings and exact commit to the user. Copy only the reviewed files into the chosen host directory after explicit approval. Re-review any newer revision before updating.
For JavaScript or TypeScript integrations, install the validated SDK package:
npm install x-twitter-scraper@0.12.1
x-twitter-scraper is the typed application SDK. x-developer@2.6.5 is the separate Skill and plugin bundle, not the TypeScript SDK. 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.
read -rsp "X API key: " XQUIK_API_KEY
echo
export XQUIK_API_KEY
| 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 | Metered regional trends for plans with access |
| 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 |
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"
| Endpoint | Method | Purpose |
|---|---|---|
/x/tweets/{id} | GET | Single tweet with full metrics |
/x/tweets/search | GET | Search tweets |
/x/users/{id} | GET | User profile by username or numeric ID |
/x/followers/check | GET | Follow relationship |
/x/trends | GET | Trending topics; /trends is an alias |
/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)
https://github.com/Xquik-dev/x-twitter-scraper
Maintained By: Xquik
XQUIK_API_KEY. Never request X passwords, 2FA codes, cookies, session tokens, or recovery codes.Idempotency-Key. Do not retry writes unless the response marks them safe to retry and the user approves.explore before unfamiliar or metered work.