Skip to main content
POST
/
api
/
agent
/
google
Google Dork Search
curl --request POST \
  --url https://encrata.com/api/agent/google \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "query": "<string>"
}
'
{
  "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
}

Authentication

Requires an API key in the Authorization header.
Authorization: Bearer YOUR_API_KEY

Request

query
string
required
The Google dork query (e.g. site:example.com filetype:pdf)

Response

Returns search results matching the dork query, plus a free enrichment object (no extra credits) built entirely from keyless / open-source OSINT sources.
enrichment
object
Free OSINT signals attached to every search-type lookup. Costs no extra credits.
{
  "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
}

Credits

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