Skip to main content
POST
/
api
/
agent
/
domain
Domain Search
curl --request POST \
  --url https://encrata.com/api/agent/domain \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "domain": "<string>"
}
'
{
  "domain": "tesla.com",
  "whois": {
    "registrar": "MarkMonitor Inc.",
    "created": "2003-07-15",
    "expires": "2027-07-15",
    "name_servers": ["a1-12.akam.net", "a10-67.akam.net"]
  },
  "dns": {
    "a": ["184.50.204.169"],
    "mx": ["tesla-com.mail.protection.outlook.com"],
    "txt": ["v=spf1 ..."]
  },
  "ssl": {
    "issuer": "DigiCert Inc",
    "valid_from": "2025-01-15",
    "valid_to": "2026-01-15",
    "subject_alt_names": ["tesla.com", "www.tesla.com"]
  },
  "threat": {
    "malicious": false,
    "categories": []
  },
  "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

domain
string
required
The domain name to search (e.g. tesla.com)

Response

Returns domain intelligence including WHOIS registration, DNS records, SSL certificate details, hosting/IP info, and threat indicators.
{
  "domain": "tesla.com",
  "whois": {
    "registrar": "MarkMonitor Inc.",
    "created": "2003-07-15",
    "expires": "2027-07-15",
    "name_servers": ["a1-12.akam.net", "a10-67.akam.net"]
  },
  "dns": {
    "a": ["184.50.204.169"],
    "mx": ["tesla-com.mail.protection.outlook.com"],
    "txt": ["v=spf1 ..."]
  },
  "ssl": {
    "issuer": "DigiCert Inc",
    "valid_from": "2025-01-15",
    "valid_to": "2026-01-15",
    "subject_alt_names": ["tesla.com", "www.tesla.com"]
  },
  "threat": {
    "malicious": false,
    "categories": []
  },
  "credits": 1
}

Credits

1 credit per request.