twitter-x-scraping

Scrape public X/Twitter timelines and lists via Nitter mirrors without API credentials.

154|9|Updated Mar 27, 2026
One-click install
npx skills add https://github.com/swyxio/skills --skill twitter-x-scraping
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: twitter-x-scraping
Source: https://github.com/swyxio/skills/tree/main/twitter-x-scraping
Command: npx skills add https://github.com/swyxio/skills --skill twitter-x-scraping

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the barrier of requiring a paid Twitter API key to collect public X/Twitter timeline and list data, making social media data accessible for research, analysis, and development use cases without incurring high API costs.

Core Features & Use Cases

  • No-API Scraping: Collects public tweets from X profiles and lists via open-source Nitter mirrors, no official API credentials required.
  • Anti-Bot Resilience: Automatically falls back from plain HTTP requests to headed Playwright browser sessions when encountering anti-bot challenges, with exponential backoff retries for rate-limited responses.
  • Efficient Pagination: Uses cursor-based pagination with date-bound stopping to avoid unnecessary fetches, and automatically skips pinned posts to ensure accurate date cutoffs.
  • Use Case: A market researcher can use this Skill to gather all public tweets from a competitor's account over a 6-month period to analyze product sentiment and feature mentions.

Quick Start

Use the twitter-x-scraping skill to collect all public tweets from the X list with ID 1585430245762441216 published between April 1 and April 15, 2026, and save the parsed results to a local JSON file.

Frequently Asked Questions about twitter-x-scraping

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scrape Twitter data without an API key?

You can scrape public X/Twitter timeline and list data without an API key by routing requests through open-source Nitter mirrors. This approach bypasses official credentials to collect public tweets for research and sentiment tracking.

What is the best way to collect public tweets from an X list without official credentials?

The best way to collect public tweets from an X list without official credentials is using Nitter mirror instances. This method applies cursor-based pagination and date-bound stopping to efficiently aggregate tweets from specific lists.

Does Nitter scraping handle anti-bot challenges automatically?

Nitter scraping handles anti-bot challenges by falling back from plain HTTP requests to headed Playwright browser sessions. It also applies exponential backoff retries to manage rate-limited responses.

Can I stop tweet collection at a specific past date?

You can stop tweet collection at a specific past date using date-bound stopping. The scraper automatically skips pinned posts and uses cursor-based pagination to ensure accurate date cutoffs without unnecessary fetches.

Why does my Twitter scraper hit rate limits and how can I avoid it?

Twitter scrapers hit rate limits when making rapid sequential requests to social media data mirrors. You can avoid this by implementing exponential backoff retries and using headed Playwright fallbacks during anti-bot challenges.

What are the limitations of using Nitter mirrors for social media data collection?

The main limitation of using Nitter mirrors for social media data collection is encountering anti-bot challenges and rate limiting. Additionally, this approach is restricted to public timelines and lists, meaning private data remains inaccessible.