# DarkSearch.xyz API reference

> DarkSearch.xyz is a search index of content published on IPFS. The search API returns matching pages with their CID, title, excerpt and a public IPFS gateway link. Investigators can use it to look for phishing kits, leaked data or brand abuse published on IPFS. Calls are GET requests to /api.php.…

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

Compiled by OSINTtools.io editors from the vendor's docs, updated Nov 29, 2026. Listing: https://osinttools.io/tools/darksearch-xyz/

- Base URL: https://www.darksearch.xyz
- Authentication: No key needed.
- Free tier: yes
- Pricing: Free
- Rate limits: 10 requests per minute per IP, with a burst of 5. Over the limit returns HTTP 429 with a Retry-After header.
- Vendor docs: https://www.darksearch.xyz/security.php
- OpenAPI spec: https://www.darksearch.xyz/openapi.json

## Overview

DarkSearch.xyz is a search index of content published on IPFS. The search API returns matching pages with their CID, title, excerpt and a public IPFS gateway link. Investigators can use it to look for phishing kits, leaked data or brand abuse published on IPFS.

Calls are GET requests to `/api.php`. No key is needed. The docs state a limit of 10 requests per minute per IP with a burst of 5, and each search returns at most 10 results.

The site also offers an MCP server with one tool, `search_ipfs`, which is not an HTTP endpoint and is not documented here.

## Errors

| Status | Meaning |
| --- | --- |
| 400 | Missing q |
| 429 | Rate limited; see the Retry-After header |
| 502 | Unreadable indexer response |
| 503 | Indexer offline |

## Search

### Full-text search of content indexed from IPFS.

`GET /api.php`

- Footprint: passive (the target is not contacted)

Returns up to 10 matches with their CID, title, excerpt and a gateway URL. The docs define no pagination parameter. If the search was filtered, results is empty and a warning is set.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `q` | query | string | yes | Search words. Required unless status is set. Example: login portal |
| `limit` | query | integer | no | Number of results, 1 to 10 Example: 5 |

Response fields:

- `total` (integer): Total matches in the index
- `approximate` (boolean): Whether total is an estimate
- `results[].cid` (string): IPFS content identifier
- `results[].title` (string): Page title
- `results[].excerpt` (string): Text excerpt
- `results[].url` (string): Public IPFS gateway link
- `warning` (string): Set when the search was filtered; results is then empty

```bash
curl 'https://www.darksearch.xyz/api.php?q=login%20portal'
```

Example response (200):

```json
{
  "total": 1,
  "approximate": false,
  "results": [
    {
      "cid": "bafyexamplecid0000",
      "title": "Example page",
      "excerpt": "Example excerpt text",
      "url": "https://ipfs.example.com/ipfs/bafyexamplecid0000"
    }
  ]
}
```

## Index

### Index status: page, keyword and queue counts and indexer version.

`GET /api.php?status=1`

- Footprint: passive (the target is not contacted)

With status set, q and limit are ignored and the index status is returned instead of search results.

Response fields:

- `pages` (integer): Pages indexed
- `keywords` (integer): Keywords indexed
- `queue` (integer): Queue size
- `version` (string): Indexer version

```bash
curl 'https://www.darksearch.xyz/api.php?status=1'
```

Example response (200):

```json
{
  "pages": 1000,
  "keywords": 5000,
  "queue": 10,
  "version": "0.0.0"
}
```

---

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/
