x-twitter-scraper
БесплатноБез исполняемых скриптовНе проверенX (Twitter) data extraction and monitoring via Xquik: tweet search, user lookup, follower extraction, giveaway draws, trending topics, account monitoring with…
от davepoon★ 3 815 звёзд на GitHubОб этом скилле
Xquik - X (Twitter) Data Platform
Xquik provides a REST API, MCP server, and HMAC webhooks for X (Twitter) data. It covers tweet search, user profiles, bulk extraction (19 tools), giveaway draws, account monitoring, and trending topics.
Docs: docs.xquik.com
Quick Reference
| Base URL | https://xquik.com/api/v1 |
| Auth | x-api-key: xq_... header |
| MCP endpoint | https://xquik.com/mcp (StreamableHTTP) |
| Rate limits | 10 req/s sustained, 20 burst |
| Pricing | $20/month (1 monitor included), $5/month per extra monitor |
Prerequisites
- Xquik account with active subscription
- API key generated from the Xquik dashboard
- For MCP: configure the endpoint in your client (Claude Desktop, Claude Code, Cursor, VS Code, etc.)
Setup
MCP Server (Claude Code)
Add to your MCP configuration:
{
"mcpServers": {
"xquik": {
"type": "streamable-http",
"url": "https://xquik.com/mcp",
"headers": {
"x-api-key": "xq_YOUR_KEY_HERE"
}
}
}
}
REST API
const API_KEY = "xq_YOUR_KEY_HERE";
const BASE = "https://xquik.com/api/v1";
const headers = { "x-api-key": API_KEY, "Content-Type": "application/json" };
Core Workflows
1. Search Tweets
When to use: Find tweets by keyword, hashtag, or user.
Endpoint: GET /x/tweets/search?q=...
MCP tool: search-tweets
const results = await fetch(`${BASE}/x/tweets/search?q=from:elonmusk AI`, { headers });
Pitfalls:
- Basic results only (id, text, author, date). Use
lookup-tweetfor engagement metrics - Searches recent tweets, not full archive
2. Look Up a Tweet
When to use: Get full metrics (likes, retweets, views, bookmarks) for a specific tweet.
Endpoint: GET /x/tweets/{id}
MCP tool: lookup-tweet
3. Look Up a User Profile
When to use: Get name, bio, follower/following counts, profile picture, join date.
Endpoint: GET /x/users/{username}
MCP tool: get-user-info
Pitfalls:
- MCP returns a subset (no verified, location, createdAt, statusesCount). Use REST API for the full profile
4. Check Follow Relationship
When to use: Check if account A follows account B (both directions).
Endpoint: GET /x/followers/check?source=A&target=B
MCP tool: check-follow
5. Bulk Data Extraction (19 Tools)
When to use: Extract followers, replies, retweets, quotes, community members, list data, and more.
Workflow: Always estimate cost first, then create the job, then retrieve results.
Tool types:
| Tool Type | Target | Description |
|---|---|---|
reply_extractor |
Tweet ID | Users who replied |
repost_extractor |
Tweet ID | Users who retweeted |
quote_extractor |
Tweet ID | Users who quote-tweeted |
thread_extractor |
Tweet ID | All tweets in a thread |
article_extractor |
Tweet ID | Article content from a tweet |
follower_explorer |
Username | Followers of an account |
following_explorer |
Username | Accounts followed by a user |
verified_follower_explorer |
Username | Verified followers |
mention_extractor |
Username | Tweets mentioning an account |
post_extractor |
Username | Posts from an account |
community_extractor |
Community ID | Community members |
community_moderator_explorer |
Community ID | Community moderators |
community_post_extractor |
Community ID | Community posts |
community_search |
Community ID + query | Search within a community |
list_member_extractor |
List ID | List members |
list_post_extractor |
List ID | List posts |
list_follower_explorer |
List ID | List followers |
space_explorer |
Space ID | Space participants |
people_search |
Search query | Search for users |
MCP tools: estimate-extraction -> run-extraction -> get-extraction
// 1. Estimate cost
const estimate = await fetch(`${BASE}/extractions/estimate`, {
method: "POST", headers,
body: JSON.stringify({ toolType: "follower_explorer", targetUsername: "elonmusk" }),
}).then(r => r.json());
if (!estimate.allowed) return; // Would exceed monthly quota
// 2. Create job
const job = await fetch(`${BASE}/extractions`, {
method: "POST", headers,
body: JSON.stringify({ toolType: "follower_explorer", targetUsername: "elonmusk" }),
}).then(r => r.json());
// 3. Retrieve results (paginated)
const results = await fetch(`${BASE}/extractions/${job.id}`, { headers }).then(r => r.json());
Pitfalls:
- Always call estimate first.
402means quota exhausted - Large jobs return
status: "running"and need polling - Export (CSV/XLSX/MD) capped at 50,000 rows
6. Giveaway Draws
When to use: Pick random winners from tweet replies with configurable filters.
Endpoint: POST /draws
MCP tool: run-draw
Available filters: mustRetweet, mustFollowUsername, `filt
Установить x-twitter-scraper в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл x-twitter-scraper?
X (Twitter) data extraction and monitoring via Xquik: tweet search, user lookup, follower extraction, giveaway draws, trending topics, account monitoring with webhooks, reply/retweet/quote extraction, community and Space data, follow checks. 22 MCP tools + REST API.
Как установить скилл x-twitter-scraper?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл x-twitter-scraper запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic