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..."
    }
  ],
  "total": 1,
  "credits": 1
}

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.

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.
{
  "query": "site:example.com filetype:pdf",
  "results": [
    {
      "title": "Internal Report Q4 2025",
      "url": "https://example.com/docs/report-q4.pdf",
      "snippet": "Quarterly financial summary..."
    }
  ],
  "total": 1,
  "credits": 1
}

Credits

1 credit per search.