Skip to main content

Server Detection

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

NameTypeRequiredDescription
domainstringRequiredThe domain to detect server software forExample: example.com

Response Fields

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

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

const data = await response.json();
console.log(data);
Python
import requests

response = requests.get(
    'https://api.edgedns.dev/v1/domain/server',
    headers={'Authorization': 'Bearer YOUR_API_KEY'},
    params={
    'domain': 'example.com'
    }
)

data = response.json()
print(data)

Read the full Server Detection guide

Why it matters, real-world use cases, parameters, response fields, and how to call it from Claude, ChatGPT, or Gemini via MCP.

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.