vladkens/twscrape
Python library and CLI for X/Twitter scraping with multi-account rotation and built-in rate-limit handling. observed · 2026-10-21
Health v2 · maintenance only
95/100
- Activity 100
- Release rhythm 92
- Longevity 90
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 23
- age_days: 1264
- days_rel: 56
- days_push: 0
- n_releases_24m: 10
Adoption not part of the score
2882 stars · 330 forks observed · 2026-10-21
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
twscrape is an async Python library and CLI for scraping X/Twitter via its Search and GraphQL endpoints using a pool of your own accounts. It stores sessions in SQLite, rotates accounts when rate-limited, and returns parsed SNScrape-style models or raw API responses.
Use cases
- scrape tweets matching a search query from X/Twitter
- fetch user profiles and followers from Twitter without the official API
- rotate multiple Twitter accounts to bypass rate limits
- collect Twitter data for social network analysis
- run concurrent async Twitter scraping jobs
- export tweets from accounts using browser cookies
When to choose
- you need programmatic access to X/Twitter data without paying for the official API
- you have multiple accounts and want automatic rate-limit-aware rotation
- you want both a Python API and a ready-made CLI
- you need SNScrape-compatible parsed models or raw GraphQL responses
When to avoid
- you have no X/Twitter accounts or cookies to supply, since the tool requires authorized accounts
- you need a fully compliant, ToS-safe official API integration
- you want scraping of platforms other than X/Twitter
- you cannot accept the risk of account suspension from scraping
Facets
library · maturity active
web-scraping http-client cli social-media crawlers developer-tools python cli cross-platform twitter x-api account-rotation rate-limit-handling snscrape async graphql sqlite-sessions data-engineering
3 sources
- readme: https://github.com/vladkens/twscrape · fetched 2026-10-21 · 2cb6a1e3fd48
- homepage: https://pypi.org/project/twscrape/ · fetched 2026-08-29 · 4b4e8fead74a
- registry_pypi: https://pypi.org/pypi/twscrape/json · fetched 2026-08-29 · 0c9d41af2004
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| vladkens/twscrape | main | 95 |
For agents
markdown · JSON · MCP: product_card(name="vladkens/twscrape")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem