CDN Detection
free/v1/domain/cdnIdentifies the Content Delivery Network (CDN) provider serving a domain by analyzing HTTP headers, DNS records, and response patterns.
What It Does
Examines HTTP response headers (CF-Ray, X-Amz-Cf-Id, X-Fastly-Request-Id, X-Vercel-Id, etc.) and DNS CNAME records (e.g. *.cloudfront.net, *.akamaiedge.net) to identify CDN providers. Detects 19 providers including Cloudflare, CloudFront, Akamai, Fastly, Google Cloud CDN, Azure CDN, Vercel, Netlify, Bunny CDN, Edgio, Alibaba Cloud CDN, and more.
Why It's Useful
CDN identification reveals infrastructure choices, potential DDoS protection levels, and helps understand caching behavior. It's useful for competitive analysis and security assessments.
Use Cases
Infrastructure Analysis
Analyze competitor CDN choices to inform your own infrastructure decisions.
Make informed CDN selection based on market leader choices.
DDoS Assessment
Identify CDN-based DDoS protection during security assessments.
Understand target's DDoS protection capabilities.
Performance Debugging
Identify CDN in use to properly interpret cache headers and optimize performance.
Debug caching issues with CDN-specific knowledge.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
domain | string | Required | The domain to detect CDN forExample: example.com |
Response Fields
| Field | Type | Description |
|---|---|---|
domain | string | The queried domain |
detected | boolean | Whether a CDN was detected |
cdn | object | CDN details (name, confidence, evidence) or null |
cname | string | CNAME record if present |
Code Examples
curl "https://api.edgedns.dev/v1/domain/cdn" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d "domain=example.com"const response = await fetch(
'https://api.edgedns.dev/v1/domain/cdn?domain=example.com',
{
headers: {
'Authorization': 'Bearer YOUR_API_KEY'
}
}
);
const data = await response.json();
console.log(data);import requests
response = requests.get(
'https://api.edgedns.dev/v1/domain/cdn',
headers={'Authorization': 'Bearer YOUR_API_KEY'},
params={
'domain': 'example.com'
}
)
data = response.json()
print(data)Read the full CDN 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 CDN Detection endpoint live in the playground.