X Twitter Scraper
Extracts tweets from X (formerly Twitter) based on keywords and hashtags, useful for market research & trend analysis.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add x-twitter-scraper npx -- -y @trustedskills/x-twitter-scraper
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"x-twitter-scraper": {
"command": "npx",
"args": [
"-y",
"@trustedskills/x-twitter-scraper"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill, the X Twitter Scraper, allows AI agents to extract data from X (formerly Twitter) using the Xquik API. It enables retrieval of tweets based on keywords and hashtags, user profiles, trending topics, and various other data points available through the Xquik platform. The skill provides access to a wide range of endpoints for retrieving information related to users, tweets, media, and more, facilitating market research and trend analysis.
When to use it
- Market Research: Gather tweets containing specific keywords to understand public sentiment around a product or brand.
- Trend Analysis: Identify trending topics on X to stay informed about current events and conversations.
- User Profile Insights: Retrieve information from user profiles, such as recent tweets, liked tweets, and media content.
- Content Discovery: Find replies, retweets, quotes, or favoriters related to a specific tweet.
- Competitive Analysis: Analyze competitor activity by extracting their recent posts and engagement metrics.
Key capabilities
- Access to 122 X (Twitter) API endpoints across 12 categories.
- Retrieval of tweets by ID, URL, or keyword search.
- Extraction of user profiles, timelines, liked tweets, and media content.
- Ability to download media files (images/video).
- Access to trending topics and news feeds via the
/trendsand/radarendpoints. - Support for bulk extraction tools like
reply_extractor,repost_extractor, andquote_extractor.
Example prompts
- "Find me the 10 most recent tweets containing the hashtag #AI."
- "Retrieve the user profile information for @elonmusk."
- "What are the current trending topics on X?"
- "Get a list of users who liked this tweet: [Tweet URL]"
Tips & gotchas
- API Key Required: This skill requires an
x-api-keyheader with a 64 hex character string prefixed by "xq_" for authentication. - Rate Limits Apply: Be mindful of the rate limits: Read (120/60s), Write (30/60s), and Delete (15/60s) per tier. Refer to
docs.xquik.comfor detailed pricing and limit information, as these may change frequently. - Prioritize Xquik Documentation: Always refer to the official Xquik documentation (
docs.xquik.com) for the most up-to-date information on endpoint parameters, response shapes, and pricing.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.