Server Detection API
free/v1/domain/serverIdentifies 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
Vulnerability Assessment
Identify server versions to check for known vulnerabilities in deployed software.
Prioritize patching by identifying exposed server versions.
Security Hardening
Verify server headers are properly configured to not leak version information.
Reduce information disclosure that aids attackers.
Infrastructure Analysis
Understand the web server technology used by potential partners or competitors.
Inform infrastructure decisions based on market patterns.
Parameters
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
domain | query | string | Required | The 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.
| Field | Type | Description |
|---|---|---|
domain | string | The queried domain |
server | object | Server details (name, version, confidence) or null |
powered_by | string | X-Powered-By header value |
headers | object | Raw 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 --request GET 'https://api.edgedns.dev/v1/domain/server?domain=example.com' \
--header "Authorization: Bearer YOUR_API_KEY"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);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.