x-twitter-scraper
X API & Twitter scraper skill for AI coding agents. Builds integrations with the Xquik REST API, MCP server & webhooks: tweet search, user lookup, follower…
от eric861129★ 52 звезды на GitHub
Установить x-twitter-scraper в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Xquik API Integration
Xquik is an X (Twitter) real-time data platform providing a REST API, HMAC webhooks, and an MCP server for AI agents. It covers account monitoring, bulk data extraction (20 tools), giveaway draws, tweet/user lookups, media downloads, follow checks, trending topics, write actions (tweet, like, retweet, follow, DM, profile, media upload, communities), and Telegram integrations.
Quick Reference
| Base URL | https://xquik.com/api/v1 |
| Auth | x-api-key: xq_... header (64 hex chars after xq_ prefix) |
| MCP endpoint | https://xquik.com/mcp (StreamableHTTP, same API key) |
| Rate limits | 10 req/s sustained, 20 burst (API); 60 req/s sustained, 100 burst (general) |
| Pricing | $20/month base (1 monitor included), $5/month per extra monitor |
| Quota | Monthly usage cap. 402 when exhausted. Enable extra usage from dashboard for overage (tiered spending limits: $5/$7/$10/$15/$25) |
| Docs | docs.xquik.com |
| HTTPS only | Plain HTTP gets 301 redirect |
Authentication
Every request requires an API key via the x-api-key header. Keys start with xq_ and are generated from the Xquik dashboard. The key is shown only once at creation; store it securely.
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" };
For Python examples, see references/python-examples.md.
Choosing the Right Endpoint
| Goal | Endpoint | Notes |
|---|---|---|
| Get a single tweet by ID/URL | GET /x/tweets/{id} |
Full metrics: likes, retweets, views, bookmarks, author info |
| Search tweets by keyword/hashtag | GET /x/tweets/search?q=... |
Tweet info with optional engagement metrics (likeCount, retweetCount, replyCount) |
| Get a user profile | GET /x/users/{username} |
Name, bio, follower/following counts, profile picture, location, created date, statuses count |
| Check follow relationship | GET /x/followers/check?source=A&target=B |
Both directions |
| Get trending topics | GET /trends?woeid=1 |
Regional trends by WOEID. Metered |
| Get radar (trending news) | GET /radar?source=hacker_news |
Free, 7 sources: Google Trends, Hacker News, Polymarket, TrustMRR, Wikipedia, GitHub, Reddit |
| Monitor an X account | POST /monitors |
Track tweets, replies, quotes, retweets, follower changes |
| Update monitor event types | PATCH /monitors/{id} |
Change subscribed events or pause/resume |
| Poll for events | GET /events |
Cursor-paginated, filter by monitorId/eventType |
| Receive events in real time | POST /webhooks |
HMAC-signed delivery to your HTTPS endpoint |
| Update webhook | PATCH /webhooks/{id} |
Change URL, event types, or pause/resume |
| Run a giveaway draw | POST /draws |
Pick random winners from tweet replies |
| Download tweet media | POST /x/media/download |
Single (tweetInput) or bulk (tweetIds[], up to 50). Returns gallery URL. First download metered, cached free |
| Extract bulk data | POST /extractions |
20 tool types, always estimate cost first |
| Check account/usage | GET /account |
Plan status, monitors, usage percent |
| Link your X identity | PUT /account/x-identity |
Required for own-account detection in style analysis |
| Analyze tweet style | POST /styles |
Cache recent tweets for style reference |
| Save custom style | PUT /styles/{username} |
Save custom style from tweet texts (free) |
| Get cached style | GET /styles/{username} |
Retrieve previously cached tweet style |
| Compare styles | GET /styles/compare?username1=A&username2=B |
Side-by-side comparison of two cached styles |
| Get tweet performance | GET /styles/{username}/performance |
Live engagement metrics for cached tweets |
| Save a tweet draft | POST /drafts |
Store drafts for later |
| List/manage drafts | GET /drafts, DELETE /drafts/{id} |
Retrieve and delete saved drafts |
| Compose a tweet | POST /compose |
3-step workflow (compose, refine, score). Free, algorithm-backed |
| Connect an X account | POST /x/accounts |
Credentials encrypted at rest. Required for write actions |
| List connected accounts | GET /x/accounts |
Free |
| Re-authenticate account | POST /x/accounts/{id}/reauth |
When session expires |
| Post a tweet | POST /x/tweets |
From a connected account. Supports replies, media, note tweets, communities |
| Delete a tweet | DELETE /x/tweets/{id} |
Must own the tweet via connected account |
| Like / Unlike a tweet | POST / DELETE /x/tweets/{id}/like |
Metered |
| Retweet | POST /x/tweets/{id}/retweet |
Metered |
| Follow / Unfollow a user | POST / DELETE /x/users/{id}/follow |
Metered |
| Send a DM | POST /x/dm/{userId} |
Text, media, reply to message |
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- metadata.json
- references/api-endpoints.md
- references/extractions.md
- references/mcp-setup.md
- references/mcp-tools.md
- references/python-examples.md
- references/types.md
- references/webhooks.md
FAQ
Что делает скилл x-twitter-scraper?
X API & Twitter scraper skill for AI coding agents. Builds integrations with the Xquik REST API, MCP server & webhooks: tweet search, user lookup, follower extraction, engagement metrics, giveaway contest draws, trending topics, account monitoring, reply/retweet/quote extraction, community & Space data, mutual follow checks, write actions (tweet, like, retweet, follow, DM, profile, media upload, communities), Telegram integrations. Works with Claude Code, Cursor, Codex, Copilot, Windsurf & 40+ agents.
Как установить скилл x-twitter-scraper?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл x-twitter-scraper запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate 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…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…