Skip to main content

Server Detection API

free
GET/v1/domain/server

Identifies the web server software running on a domain by analyzing HTTP headers. Detects server type, version when exposed, and server-side technologies.

What It Does

Analyzes HTTP response headers (Server, X-Powered-By, X-AspNet-Version, etc.) to identify web server software (Apache, nginx, IIS, LiteSpeed), application servers, and programming languages/frameworks.

Why It's Useful

Server identification helps with security assessments (version-specific vulnerabilities), competitive analysis, and ensuring server headers don't leak sensitive information.

Use Cases

Security Engineer

Vulnerability Assessment

Identify server versions to check for known vulnerabilities in deployed software.

Prioritize patching by identifying exposed server versions.

DevOps Engineer

Security Hardening

Verify server headers are properly configured to not leak version information.

Reduce information disclosure that aids attackers.

Solutions Architect

Infrastructure Analysis

Understand the web server technology used by potential partners or competitors.

Inform infrastructure decisions based on market patterns.

Parameters

NameLocationTypeRequiredDescription
domainquerystringRequiredThe domain to detect server software forExample: example.com

Response Fields

Result fields below are inside the JSON data object. Any row named meta describes the sibling response metadata object. See response and error handling for status codes and error responses. Optional observations may be absent or null; inspect warnings and partial-failure fields before treating a missing result as a negative finding.

FieldTypeDescription
domainstringThe queried domain
serverobjectServer details (name, version, confidence) or null
powered_bystringX-Powered-By header value
headersobjectRaw server-related headers (server, x_powered_by)

Code Examples

Replace YOUR_API_KEY with your API key. This endpoint requires the free plan or higher; see plans and usage limits.

cURL
curl --request GET 'https://api.edgedns.dev/v1/domain/server?domain=example.com' \
  --header "Authorization: Bearer YOUR_API_KEY"
JavaScript
const response = await fetch(
  "https://api.edgedns.dev/v1/domain/server?domain=example.com",
  {
    "method": "GET",
    "headers": {
      "Authorization": "Bearer YOUR_API_KEY"
    }
  }
);

if (!response.ok) {
  throw new Error(`EdgeDNS returned HTTP ${response.status}`);
}
const data = await response.json();
console.log(data);
Python
import requests

response = requests.request(
    'GET',
    "https://api.edgedns.dev/v1/domain/server?domain=example.com",
    headers={'Authorization': 'Bearer YOUR_API_KEY'},
    timeout=60,
)
response.raise_for_status()
data = response.json()
print(data)

Read the full Server Detection guide

Learn the concepts, choose a practical workflow, and interpret the observations from Server Detection before acting on them. Run supported checks via MCP or through REST.

Read the guide →

    Related Endpoints

    External References

    Learn more about the standards and protocols behind this endpoint.

    Try This Endpoint

    Test the Server Detection endpoint live in the playground.

    Server Detection API Reference | EdgeDNS