> ## Documentation Index
> Fetch the complete documentation index at: https://docs.encrata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Dark Web Search

> Search dark web intelligence for credential leaks, forum posts, market listings, chat/IRC/paste mentions. Returns full content and rich metadata.

## Authentication

Requires an API key in the `Authorization` header.

```bash theme={"dark"}
Authorization: Bearer YOUR_API_KEY
```

## Request

<ParamField body="query" type="string" required>
  The search query — an email address, domain, IP address, or free-text keywords.
</ParamField>

<ParamField body="offset" type="number">
  Pagination offset. Each page returns 20 results. Default: `0`.
</ParamField>

## Response

Returns dark web intelligence results with full body content, emails, IPs, CVEs, and nested objects (leak, chat, IRC, paste, forum, market data).

<ResponseExample>
  ```json theme={"dark"}
  {
    "query": "user@example.com",
    "total": 42,
    "result_count": 20,
    "credits": 1,
    "results": [
      {
        "source": "telegram",
        "title": "Combo List Drop",
        "body": "user@example.com:p@ssw0rd...",
        "domain": "t.me",
        "hackishness": 0.85,
        "crawl_date": "2026-05-10T14:30:00Z",
        "emails": ["user@example.com"],
        "leak": {
          "name": "ComboList2026",
          "host": "example.com"
        },
        "chat": {
          "channel": {"name": "dark-dumps", "id": "ch_123"},
          "users": [{"name": "seller_bot", "id": "u_456"}]
        }
      }
    ]
  }
  ```
</ResponseExample>

## Credits

1 credit per 100-result page. A search returning 250 results costs 3 credits total.

## Result Types

Each result may include nested objects depending on the source:

* **`leak`** — Credential leak info (name, host, actors, affected records)
* **`chat`** — Chat platform details (server, channel, users)
* **`irc`** — IRC channel and server info
* **`paste`** — Paste site details (author, key, syntax)
* **`forum`** — Forum thread and post info
* **`market`** — Dark market listing (vendor, price, category)
