X Twitter Scraper

X/Twitter automation skill for tweet search, follower export, posting, DMs, webhooks, MCP, SDKs, Hermes Tweet, and TweetClaw.

Published by @sickn33 and contributors·0 agent reads / 30d·0 saves·

X (Twitter) Scraper - Xquik

Overview

Gives AI agents X (Twitter) data and automation workflows through the Xquik platform. Covers tweet search, advanced Twitter search, profile tweets, user lookup, follower export, media download, posting, replies, DMs, giveaway draws, account monitoring, webhooks, 23 bulk extraction tools, MCP, official SDKs, the Hermes Tweet Hermes Agent plugin, and the TweetClaw OpenClaw plugin.

This repository entry is documentation-only: it does not include an executable scraper, binary, package, or vendored runtime code. The external Xquik, Hermes Tweet, and TweetClaw tools referenced below must be reviewed and installed separately 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 wants the Hermes Tweet Hermes Agent plugin with tweet_explore, tweet_read, and approval-gated tweet_action
  • User wants the TweetClaw OpenClaw plugin instead of direct REST or MCP setup
  • 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 Hermes Agent Plugin

For Hermes Agent runtime tools, install Hermes Tweet. It wraps the same Xquik API with tweet_explore for endpoint discovery, tweet_read for read-only calls, and approval-gated tweet_action for writes and private actions.

hermes plugins install Xquik-dev/hermes-tweet --enable

Use Hermes Tweet when a Hermes Agent should search Twitter/X, read tweet replies, look up users, export followers, monitor tweets, post tweets, post replies, send DMs, or automate X actions with explicit approval gates.

Use the OpenClaw Plugin

For OpenClaw runtime tools, install TweetClaw. It wraps the same Xquik API with explore for endpoint discovery and tweetclaw for approved calls.

openclaw plugins install @xquik/tweetclaw

Use TweetClaw when the agent should search tweets, post tweets, post replies, send DMs, export followers, download media, create monitors, deliver webhooks, or run giveaway draws from OpenClaw.

Get an API Key

  1. Sign up at xquik.com
  2. Generate an API key from the dashboard
  3. Set it as an environment variable or pass it directly
export XQUIK_API_KEY="xq_YOUR_KEY_HERE"

Capabilities

CapabilityDescription
Tweet SearchFind tweets by keyword, hashtag, from:user, "exact phrase", and advanced operators
User LookupProfile info, bio, follower/following counts
Tweet LookupFull metrics: likes, retweets, replies, quotes, views, bookmarks
Follow CheckCheck if A follows B (both directions)
Trending TopicsTop trends by region (free, no quota)
Account MonitoringTrack new tweets, replies, retweets, quotes, follower changes
WebhooksHMAC-signed real-time event delivery to your endpoint
Giveaway DrawsRandom winner selection from tweet replies with filters
23 Extraction ToolsFollowers, following, verified followers, mentions, posts, replies, reposts, quotes, threads, articles, communities, lists, Spaces, people search, media, likes, and more
Write ActionsSend tweets, post replies, like, repost, follow, unfollow, and send DMs after explicit approval
SDKsOfficial TypeScript, Python, Ruby, Go, Kotlin, Java, PHP, C#, CLI, and Terraform clients
MCP ServerStreamableHTTP endpoint for AI-native integrations
Hermes Tweet Hermes Agent PluginInstallable hermes-tweet runtime with tweet_explore, tweet_read, and approval-gated tweet_action tools
TweetClaw OpenClaw PluginInstallable @xquik/tweetclaw runtime with explore and tweetclaw tools

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"

Use Hermes Agent:

"Use Hermes Tweet to search Twitter/X for this launch, read the tweet replies, and prepare a draft reply for approval"

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

EndpointMethodPurpose
/x/tweets/{id}GETSingle tweet with full metrics
/x/tweets/searchGETSearch tweets
/x/users/{username}GETUser profile
/x/followers/checkGETFollow relationship
/trendsGETTrending topics
/monitorsPOSTCreate monitor
/eventsGETPoll monitored events
/webhooksPOSTRegister webhook
/drawsPOSTRun giveaway draw
/extractionsPOSTStart bulk extraction
/extractions/estimatePOSTEstimate extraction cost
/draftsPOSTCreate tweet drafts
/stylesPOSTAnalyze or apply tweet style
/accountGETAccount & 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

Hermes Tweet Hermes Agent plugin: https://github.com/Xquik-dev/hermes-tweet

TweetClaw OpenClaw plugin: https://github.com/Xquik-dev/tweetclaw

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.

Bundled with this artifact

2 files

Reference files that ship alongside this artifact. Agents pull these in only when the task needs them.

More on the bench

SKILL0

Zustand Store Ts

Create Zustand stores following established patterns with proper TypeScript types and middleware.

ai-prompt-engineering+3
0
SKILL0

Zoom Automation

Automate Zoom meeting creation, management, recordings, webinars, and participant tracking via Rube MCP (Composio). Always search tools first for current schemas.

ai-prompt-engineering+3
0
SKILL0

Zoho Crm Automation

Automate Zoho CRM tasks via Rube MCP (Composio): create/update records, search contacts, manage leads, and convert leads. Always search tools first for current schemas.

ai-prompt-engineering+3
0