Skip to content

Stored captures

GET /darkcrawl/v1/search

Copy page

Search the text of the captures DarkCrawl has stored.

GET /darkcrawl/v1/search

Authentication: your key as a bearer token.

Query parameters

FieldTypeRequiredDefault
qstringRequired
hoststringOptional
sincestringOptional
jobIdstringOptional
limitintegerOptional10
offsetintegerOptional0
sourcestring Values: pages, telegramOptional"pages"
channelstringOptional

Request

bash
curl 'https://api.darkcrawl.dev/darkcrawl/v1/search?q=debian+mirror&limit=10' \
  -H "Authorization: Bearer $DARKCRAWL_API_KEY"

Response

Status 200.

Response
{
  "results": [
    {
      "captureId": "01K0EXAMPLECAPTURE0000000A",
      "url": "http://exampleonionq7x2mfk4lzr5w3ty6hbnc2jdu7avs4ekp5gw3xmlq2zr.onion/mirrors",
      "title": "Mirror list",
      "snippet": "…a plainly fictional debian mirror list…",
      "host": "exampleonionq7x2mfk4lzr5w3ty6hbnc2jdu7avs4ekp5gw3xmlq2zr.onion",
      "fetchedAt": "2026-11-26T10:00:00+00:00",
      "jobId": null
    }
  ],
  "next": null,
  "truncated": false
}

Errors

CodeStatus
BAD_REQUEST400
NOT_FOUND404
GONE410
BLOCKLIST_UNAVAILABLE503

What each code means, and what to do about it: Errors.

Notes

  • Nothing is fetched, and nobody else sees the query. This is not POST /v2/search, which can ask Ahmia.
  • One result for each page: the newest capture of its final address that holds the terms. snippet is the text around the terms.
  • next is the offset of the following page, or null. truncated is true when the answer was cut because the terms are common: narrow the query.
  • A blocked onion in the query is left out, and warning says so. host takes one exact onion host.