# OnionSearch

> Python script that queries many .onion search engines for a term and saves the returned links to CSV.

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

- **Inputs:** Name
- **Category:** Dark web and breaches
- **Pricing:** Open source (Free and open source (GPL-3.0).)
- **Footprint:** passive (does not contact the target)
- **Account required:** no
- **API:** no public API
- **Platforms:** Python CLI
- **Website:** https://github.com/megadose/OnionSearch
- **GitHub:** megadose/OnionSearch, 1,850 stars · Python · GPL-3.0 · last commit 2023-12-29 · dormant (no commit on the default branch in 18 months)
- **Listed:** Nov 23
- **Last verified by an editor:** Nov 23, 2026

## What it does

OnionSearch sends a search term to a list of Tor search engines such as Ahmia, Phobos and Tor66 through a Tor proxy, then collects the result titles and URLs into a CSV file.

Researchers use it to gather candidate onion links for a keyword in one run instead of searching each engine by hand, then review the links manually.

Footprint is passive: it reads its own index or third-party records and does not contact the target. No account is needed. There is no public API.

## Features

- Queries many onion search engines
- Engine include and exclude lists
- Page limit per engine
- CSV output with selectable fields
- Multiprocessing

## Pros

- Saves time compared with searching each engine separately
- Installable from PyPI
- Output is easy to filter and share

## Cons

- Onion search engines go offline or change often, so some engine scrapers may fail
- Requires a running Tor proxy
- Returns links only; content must be reviewed separately and lawfully

## When to use it

- Use it when you want a list of onion sites mentioning a keyword or brand.
- Use it when seeding a dark web monitoring or research list.

## Quick start

Terminal · Python 3:

```
pip3 install onionsearch
onionsearch "computer"
```

## Alternatives

- [Robin](https://osinttools.io/tools/robin/): Dark web search assistant that uses an LLM to refine queries, filter Tor search engine results and summarise findings. (Open source · Name · active · 8,093 GitHub stars)
- [Ahmia](https://osinttools.io/tools/ahmia/): Search engine for Tor onion services that filters out known abuse material. (Free · Name, URL · passive)
- [Darkdump](https://osinttools.io/tools/darkdump/): Searches Tor search engines for a query and can scrape results for emails, metadata, documents and images. (Open source · Name, Email, Domain · active · 1,827 GitHub stars)
- [Snusbase](https://osinttools.io/tools/snusbase/): Paid breach-data search engine for leaked records by email, username, name, IP, password or hash. (Paid · Email, Username, Name, IP address, Domain · passive)
- [Dehashed](https://osinttools.io/tools/dehashed/): Paid breach-data search engine for querying leaked records by email, username, name, phone, IP or domain. (Paid · Email, Username, Name, Phone number, IP address, Domain · passive)
- [Leak-Lookup](https://osinttools.io/tools/leak-lookup/): Breach-data search engine for emails, usernames, IPs, phones, domains, names and passwords, with free redacted results. (Freemium · Email, Username, IP address, Phone number, Domain, Name · passive)

All alternatives to OnionSearch in one table: https://osinttools.io/tools/onionsearch/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/
