x-twitter-scraper MCP Server

X (Twitter) data platform skill for AI coding agents. 111 REST API endpoints, 2 MCP tools, 23 extraction types, HMAC webhooks. Read tweets from $0.00015 per call (33x cheaper than the official X API). Pay-per-use via Machine Payments Protocol or Xquik API key.

Documentation

X (Twitter) Scraper API Skill: Search Tweets, Get Profile Tweets, Followers, Posting & Replies

An AI agent skill for Xquik, a Twitter API alternative for developers who need to search tweets, get tweets from profiles, export followers, download media, monitor accounts, and automate posting workflows.

Use it for advanced Twitter search, tweet search API calls, profile tweet scraping, follower export to CSV, media download, tweet scheduling, send tweets, post replies, like, repost, follow, DM, webhooks, MCP, and official SDK workflows from AI coding agents.

Includes 100+ REST API endpoints, 2 MCP tools, HMAC webhooks, 23 bulk extraction tools, and confirmation-gated write actions.

Works with 40+ AI coding agents including Claude Code, OpenAI Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, VS Code, Cline, Roo Code, Goose, Amp, Augment, Continue, OpenHands, Trae, OpenCode, and more.

Usage Costs

This installable skill can read credit balance and estimate usage costs. Users manage plan and credit changes in the Xquik dashboard.

vs Official X API

XquikOfficial X APINotes
Access modelDashboard-managed account + usage creditsUsage-based accountThis skill reads balance and estimates cost only
Post readsMetered in usage creditsPay-per-usage resource pricingEstimate before running
User lookupMetered in usage creditsPay-per-usage resource pricingEstimate before running
Trend readsMetered in usage creditsPay-per-usage resource pricingEstimate before running
Write actionsMetered in usage creditsPay-per-usage write pricingConfirmation required
Bulk extractionMetered per result in usage creditsCharged per returned resourceBuilt-in extraction jobs are included with Xquik
Monitoring + webhooksActive monitors are metered; webhooks includedNo direct monitor product in pricing tableReal-time delivery is included
Giveaway drawsMetered per entry in usage creditsNo comparable draw productDraw engine is included
MCP serverIncludedNot listedAgent tools are included

Source: official X API pricing, which lists current pay-per-usage rates.

Per-Operation Usage Credits

OperationCredits
Read (tweet, search, timeline, bookmarks, etc.)1
Read (user profile, verified followers, followers you know)1
Read (favoriters)1
Read (trends)3
Follow check, article5
Write (tweet, like, retweet, follow, DM, etc.)10
Extraction (tweets, replies, quotes, mentions, posts, likes, media, search, favoriters, retweeters, community members, people search, list members, list followers)1/result
Extraction (followers, following, verified followers)1/result
Extraction (articles)5/result
Draw1/entry
Active monitors21/hour
Webhooks, radar, compose, drafts0

Skill Account Boundary

Only balance reads and usage estimates are in scope for this skill. Plan and credit changes are dashboard-only.

Installation

Install via the skills CLI (auto-detects your installed agents):

npx [email protected] add Xquik-dev/x-twitter-scraper

This installs the primary x-twitter-scraper skill, including SKILL.md and every file in references/.

Manual Installation

Use manual installation only when the skills CLI is unavailable. Copy the primary skill directory, not the repository root.

target_dir=".agents/skills/x-twitter-scraper"
tmp_dir="$(mktemp -d)"

git clone --depth 1 https://github.com/Xquik-dev/x-twitter-scraper.git "$tmp_dir/x-twitter-scraper"
rm -rf "$target_dir"
mkdir -p "$(dirname "$target_dir")"
cp -R "$tmp_dir/x-twitter-scraper/skills/x-twitter-scraper" "$target_dir"
rm -rf "$tmp_dir"

Target directories:

  • Codex / Cursor / Gemini CLI / GitHub Copilot / Cline / OpenCode: .agents/skills/x-twitter-scraper
  • Claude Code: .claude/skills/x-twitter-scraper
  • Windsurf: .windsurf/skills/x-twitter-scraper
  • Roo Code: .roo/skills/x-twitter-scraper
  • Continue: .continue/skills/x-twitter-scraper
  • Goose: .goose/skills/x-twitter-scraper

What This Skill Does

When installed, this skill gives your AI coding assistant deep knowledge of the Xquik platform:

  • Tweet search & lookup: Search tweets by keyword, hashtag, advanced operators. Get full engagement metrics for any tweet
  • User profile lookup: Fetch follower/following counts, bio, location, and profile data for any X account
  • User activity feeds: Get user's recent tweets, liked tweets, and media tweets
  • Tweet engagement data: Get who liked (favoriters) any tweet, mutual followers between accounts
  • Follower & following extraction: Extract complete follower lists, verified followers, and following lists
  • Reply, retweet & quote extraction: Bulk extract all replies, retweets, and quote tweets
  • Media download: Download images, videos, and GIFs with permanent hosted URLs
  • Thread & article extraction: Extract full tweet threads and linked article content
  • Community & Space data: Extract community members, moderators, posts, and Space participants
  • Bookmarks & notifications: Access bookmarks, bookmark folders, notifications, and home timeline after explicit approval
  • DM history: Retrieve conversation history with explicit approval
  • Mutual follow checker: Check if two accounts follow each other
  • X account monitoring: Track accounts for new tweets, replies, quotes, retweets with explicit approval
  • Webhook delivery: Receive HMAC-signed event notifications at your HTTPS endpoint
  • Trending topics: Get trending hashtags and topics by region
  • Radar: Trending news from supported trend and news sources. Free
  • Giveaway draws: Run transparent draws from tweet replies with configurable filters
  • Write actions: Post tweets, like, retweet, follow/unfollow, remove followers, send DMs, update profile, upload media, manage communities after explicit approval
  • Tweet composition: Algorithm-optimized tweet composer with scoring (free)
  • Usage credits: Check balance and estimate costs; dashboard handles plan and credit changes
  • Support tickets: Open and manage support tickets via API
  • MCP server: 2 tools covering 100+ endpoints for AI agent integration

Capabilities

AreaDetails
REST API100+ endpoints across 10 categories with retry logic and pagination
MCP Server2 tools (explore + xquik). StreamableHTTP, configs for 10 platforms
Data Extraction23 bulk extraction tools (replies, retweets, quotes, favoriters, threads, articles, user likes, user media, communities, lists, Spaces, people search, tweet search, mentions, posts)
X LookupsTweet, user, article, search, user tweets, user likes, user media, favoriters, mutual followers, and confirmation-gated private reads
Write ActionsConfirmation-gated post/delete tweets, like/unlike, retweet, follow/unfollow, remove followers, DM, profile update, avatar/banner, media upload, community actions
Giveaway DrawsRandom winner selection from tweet replies with 11 filter options
Account MonitoringReal-time tracking of tweets, replies, quotes, retweets with ongoing-cost confirmation
WebhooksHMAC-SHA256 signature verification in Node.js, Python, Go
Media DownloadDownload images, videos, GIFs with permanent hosted URLs
Engagement AnalyticsLikes, retweets, replies, quotes, views, bookmarks per tweet
Trending TopicsRegional trends plus supported news sources via Radar
Tweet CompositionAlgorithm-optimized tweet composer with scoring checklist (free)
Usage CreditsCheck balance and estimate costs; dashboard handles plan and credit changes
TypeScript TypesComplete type definitions for all API objects

Supported Agents

Claude Code, OpenAI Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, VS Code Copilot, Cline, Roo Code, Goose, Amp, Augment, Continue, OpenHands, Trae, OpenCode, and any agent that supports the skills.sh protocol.

API Coverage

ResourceEndpoints
X LookupsTweet, article, search, user profile, user tweets, user likes, user media, favoriters, followers you know, follow check, download media, and confirmation-gated private reads
ExtractionsCreate (23 types), estimate, list, get results, export
MonitorsCreate with confirmation, list, get, update, delete
EventsList (filtered, paginated), get single
WebhooksCreate with destination confirmation, list, update, delete, test, deliveries
TrendsRegional trending topics
RadarTrending topics & news from supported sources (free)
DrawsCreate with filters, list, get with winners, export
StylesAnalyze, save, list, get, delete, compare, performance
ComposeTweet composition (compose, refine, score)
DraftsCreate, list, get, delete
AccountGet account, update locale, set X identity
CreditsGet balance
API KeysCreate, list, revoke
X AccountsList, get, and disconnect already-connected accounts; dashboard handles connection and re-authentication
X WriteConfirmation-gated tweet, delete, like, unlike, retweet, follow, unfollow, DM, profile, avatar, banner, media upload, communities
SupportCreate ticket, list, get, update, reply

Official SDKs & Tools

Use the X Twitter Scraper API in your language of choice. All SDKs are auto-generated, kept in sync with the OpenAPI spec, and follow idiomatic conventions for each ecosystem.

RepoLanguageInstall
x-twitter-scraper-typescriptTypeScript / Node.jsnpm i x-twitter-scraper
x-twitter-scraper-pythonPythonpip install x-twitter-scraper
x-twitter-scraper-goGogo get github.com/Xquik-dev/x-twitter-scraper-go
x-twitter-scraper-rubyRubygem install x-twitter-scraper
x-twitter-scraper-javaJavaBuild from source while Maven Central publication is pending
x-twitter-scraper-kotlinKotlinBuild from source while Maven Central publication is pending
x-twitter-scraper-csharpC# / .NETdotnet add package XTwitterScraper
x-twitter-scraper-phpPHPcomposer require xquik/x-twitter-scraper
x-twitter-scraper-cliCLIBuild from source or install a pinned release tag
terraform-provider-x-twitter-scraperTerraformBuild from source (release page)
tweetclawOpenClaw pluginopenclaw plugins install @xquik/tweetclaw

Skill Structure

x-twitter-scraper/
├── skills/
│   └── x-twitter-scraper/
│       ├── SKILL.md                      # Main skill (auth, pricing, endpoints, patterns)
│       ├── metadata.json                 # Version and references
│       └── references/
│           ├── api-endpoints.md          # REST API endpoint reference
│           ├── mcp-tools.md              # MCP tool selection rules and workflow patterns
│           ├── mcp-setup.md              # MCP configs for 10 platforms (v2 + v1)
│           ├── webhooks.md               # Webhook setup & verification
│           ├── extractions.md            # 23 extraction tool types
│           ├── types.md                  # TypeScript type definitions
│           └── python-examples.md        # Python code examples
├── task-guides/                          # Public task guides, not installable skills
├── server.json                           # MCP Registry metadata
├── logo.png                              # Marketplace logo
├── LICENSE                               # MIT
└── README.md                             # This file

Links

License

MIT