Skip to content

Documentation

Introduction

Copy page

What DarkCrawl is, how to get it, and how to send a first request.

DarkCrawl is an API that reads .onion sites over Tor. It returns each page as Markdown, links and metadata, with the indicators it found and an evidence record of the capture.

It speaks a subset of the Firecrawl v2 API, so the official Firecrawl SDKs work with it when you change only the base URL.

There are two ways to get it. The hosted API is by application: ask for access. Or run it yourself on your own machine, with Docker (a licence is needed).

Send the address you want read to POST /v2/scrape. The key is read from the DARKCRAWL_API_KEY environment variable. The page comes back as Markdown in data.markdown.

bash
curl -X POST https://api.darkcrawl.dev/v2/scrape \
  -H "Authorization: Bearer $DARKCRAWL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"http://exampleonionq7x2mfk4lzr5w3ty6hbnc2jdu7avs4ekp5gw3xmlq2zr.onion/notice","formats":["markdown","html"],"onlyMainContent":true,"timeout":120000}'
Send JSON to the API with any HTTP client.
Endpoint What it does
POST /v2/scrape Reads one page
POST /v2/crawl Reads a site, page by page
POST /v2/batch/scrape Reads many pages as one job
POST /v2/map Lists a site’s URLs
POST /v2/search Searches the pages DarkCrawl has stored, and Ahmia when the server is set up to ask it
POST /v2/parse Reads the text of a file you upload
POST /v2/agent Asks Kipp, the agent, to answer a prompt
POST /v2/monitor Watches pages for changes