# Twint

> Python tool that scraped Tweets, followers and following lists from Twitter without the official API.

Source: https://osinttools.io/tools/twint/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

- **Inputs:** Username
- **Category:** Social media intelligence
- **Pricing:** Open source (Free and open source (MIT).)
- **Footprint:** active (contacts the target or the services it checks)
- **Account required:** no
- **API:** yes
- **Platforms:** Python CLI · Python library
- **Website:** https://github.com/twintproject/twint
- **GitHub:** twintproject/twint, 16,414 stars · Python · MIT · last commit 2021-03-02 · archived
- **Listed:** Nov 23
- **Last verified by an editor:** Nov 23, 2026

## What it does

Twint is a Python scraper that used Twitter's search operators to collect Tweets from a profile, a keyword or hashtag search, or a geographic radius, and could also pull a user's followers, following and likes without signing in.

Researchers used it to archive an account's timeline or a topic for later analysis, exporting to CSV, JSON, SQLite or Elasticsearch. It can be driven from the command line or imported as a Python module.

Footprint is active: it contacts the target or the services it is checking, which can be logged on the other side. No account is needed. There is an API.

## Features

- Timeline and keyword search scraping
- Followers, following and likes collection
- Geographic radius search
- Date range filters
- CSV, JSON, SQLite and Elasticsearch output
- Python module interface

## Pros

- No Twitter account or API key needed when it worked
- Flexible search filters and output formats
- Usable both as a CLI and a library

## Cons

- The repository is archived (read-only) and no longer maintained.
- It has had no code changes since February 2023 and is unlikely to work against the current X/Twitter site.
- Scraping depends on the platform's undocumented endpoints, so any site change breaks it.

## When to use it

- Use it when studying how older Twitter scraping workflows were built.
- Use it when reprocessing datasets that were originally collected with Twint.

## Quick start

Terminal · Python 3.6+:

```
pip3 install twint
twint -u username -o tweets.csv --csv
```

## Alternatives

- [Sherlock](https://osinttools.io/tools/sherlock/): Command-line tool that checks hundreds of websites for an account with a given username. (Open source · Username · active · 116,927 GitHub stars)
- [GoSearch](https://osinttools.io/tools/gosearch/): Go username checker that searches hundreds of sites and can query breach data sources for the same handle. (Open source · Username · active · 3,924 GitHub stars)
- [Instaloader](https://osinttools.io/tools/instaloader/): Python tool and library that downloads Instagram posts, stories, captions, comments and profile metadata. (Open source · Username · active · 14,001 GitHub stars)
- [Linkook](https://osinttools.io/tools/linkook/): Finds social accounts for a username, then follows links between profiles to related accounts and emails. (Open source · Username · active · 1,040 GitHub stars)
- [Maigret](https://osinttools.io/tools/maigret/): Username search tool, forked from Sherlock, that checks thousands of sites and parses profile pages for extra identifiers. (Open source · Username · active · 41,237 GitHub stars)
- [Namechk](https://osinttools.io/tools/namechk/): Web tool that checks whether a username is taken on social platforms and whether matching domain names are free. (Free · Username · active)

All alternatives to Twint in one table: https://osinttools.io/tools/twint/alternatives/

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
