# Find SecureDrop Onion Sites in Ahmia

**Use case:** 

Search Ahmia for SecureDrop listings and return index metadata for journalists and newsroom security teams. Results include titles, onion URLs, ranks, snippets, and last-seen claims. Change searchQueries to search other terms and maxResultsPerQuery to adjust results per query.

## Input

```json
{
  "mode": "search",
  "source": "onionTree",
  "categories": [],
  "searchQueries": [
    "securedrop"
  ],
  "maxResultsPerQuery": 20,
  "startUrls": [],
  "maxItems": 20,
  "maxPages": 1,
  "verifyLiveness": false,
  "livenessTimeoutSecs": 8,
  "includeUnreachable": true,
  "extractEmails": false,
  "extractPhones": false,
  "extractSocialHandles": false,
  "extractPgpContacts": false
}
```

## Output

```json
{
  "name": {
    "label": "Name",
    "format": "text"
  },
  "onionUrl": {
    "label": "Onion URL",
    "format": "text"
  },
  "categories": {
    "label": "Categories",
    "format": "text"
  },
  "source": {
    "label": "Source",
    "format": "text"
  },
  "status": {
    "label": "Measured status",
    "format": "text"
  },
  "description": {
    "label": "Description",
    "format": "text"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Tor Hidden Service Crawler & Contact Extractor Actor is ready to run with the inputs already set for "Find SecureDrop Onion Sites in Ahmia". [Sign up or log in](https://console.apify.com/create-task-from-example/3W2xWrl4ljJuTgX09) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Find SecureDrop Onion Sites in Ahmia" task

The Tor Hidden Service Crawler & Contact Extractor Actor will start running based on the input automatically. You can also change all the input fields, like mode, directory source, and more, to match your specific use case.

### 3. Receive the "Find SecureDrop Onion Sites in Ahmia" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as name, onion url, categories, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Find SecureDrop Onion Sites in Ahmia" task via API](https://apify.com/xyrelith-data/tor-hidden-service-crawler-and-contact-extractor.md).

## FAQ

### What data does the SecureDrop onion site search include?

The SecureDrop search task returns Ahmia index metadata such as name, onionUrl, source, status and description in the dataset overview. Search records can also include title, rank, snippet and a last-seen claim.

### How many SecureDrop onion search results can one run return?

The SecureDrop search task is capped at 20 results for this run. Ahmia results are capped at 20 per query, and maxItems sets the overall output cap.

### How do I search Ahmia for other onion site keywords?

To use different terms in the SecureDrop search task, change the search queries; each term makes one Ahmia request. You can adjust the per-query cap, while the overall cap still applies.

### Can I export the SecureDrop search results to CSV or Excel?

After running the SecureDrop search task, you can download its dataset as CSV, Excel, JSON, XML, RSS or an HTML table, or read it through the Apify API.

### How much does it cost to search for SecureDrop onion sites?

The SecureDrop search task charges a $0.10 start event on the Free plan, plus at most $0.02 for up to 20 results; Apify compute usage is extra. Start-event pricing varies by plan.

### Can I schedule the SecureDrop onion site search or run it through an API?

You can run the SecureDrop search task on an Apify schedule, through the Apify API, or from integrations such as Zapier, Make and n8n.

## About this Actor

This example demonstrates how to use [Tor Hidden Service Crawler & Contact Extractor](https://apify.com/xyrelith-data/tor-hidden-service-crawler-and-contact-extractor.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/xyrelith-data/tor-hidden-service-crawler-and-contact-extractor.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/xyrelith-data/tor-hidden-service-crawler-and-contact-extractor.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
