> ## 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.

# Google Dork Search

> Run Google dork queries to discover publicly exposed information — documents, admin panels, config files, and more.

## 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 Google dork query (e.g. `site:example.com filetype:pdf`)
</ParamField>

## Response

Returns search results matching the dork query, plus a free `enrichment` object (no extra credits) built entirely from keyless / open-source OSINT sources.

<ResponseField name="enrichment" type="object">
  Free OSINT signals attached to every `search`-type lookup. Costs no extra credits.

  <Expandable title="enrichment">
    <ResponseField name="query_type" type="string">Detected query type: `person`, `email`, `username`, `domain`, `url`, or `generic`.</ResponseField>
    <ResponseField name="dork_pack" type="object[]">Categorized, ready-to-run Google dork links tuned to the query type (social profiles, documents, code, credentials, paste sites, cloud storage, archives, domain recon).</ResponseField>
    <ResponseField name="searx_results" type="object[]">Organic results from a self-hosted SearXNG metasearch instance (only when configured server-side).</ResponseField>
    <ResponseField name="wikipedia" type="object">Wikipedia entity summary (title, extract, url, thumbnail\_url).</ResponseField>
    <ResponseField name="wikidata" type="object">Wikidata entity match (id, label, description, url).</ResponseField>
    <ResponseField name="duckduckgo" type="object">DuckDuckGo Instant Answer (heading, abstract, answer, definition, related\_topics).</ResponseField>
    <ResponseField name="wayback" type="object">Internet Archive coverage for domain/url queries (snapshot\_url, first\_capture, last\_capture).</ResponseField>
    <ResponseField name="mentions" type="object">Public mentions grouped by source: `reddit`, `hackernews`, `github`.</ResponseField>
    <ResponseField name="usernames" type="object[]">Social username presence checks (platform, url, exists) for username/email queries.</ResponseField>
  </Expandable>
</ResponseField>

<ResponseExample>
  ```json theme={"dark"}
  {
    "query": "site:example.com filetype:pdf",
    "results": [
      {
        "title": "Internal Report Q4 2025",
        "url": "https://example.com/docs/report-q4.pdf",
        "snippet": "Quarterly financial summary..."
      }
    ],
    "enrichment": {
      "query_type": "domain",
      "dork_pack": [
        {
          "category": "Domain Recon",
          "dorks": [
            { "label": "Login pages", "dork": "site:example.com inurl:login", "url": "https://www.google.com/search?q=site%3Aexample.com+inurl%3Alogin" }
          ]
        }
      ],
      "wikipedia": { "title": "Example.com", "extract": "example.com is a domain...", "url": "https://en.wikipedia.org/wiki/Example.com" },
      "wayback": { "available": true, "snapshot_url": "http://web.archive.org/web/20240101000000/http://example.com", "first_capture": "19970101000000", "last_capture": "20251201000000" },
      "mentions": { "github": [{ "source": "github", "title": "example/example", "url": "https://github.com/example/example" }] }
    },
    "total": 1,
    "credits": 1
  }
  ```
</ResponseExample>

## Credits

1 credit per search. The free OSINT `enrichment` object adds no extra cost.
