Load Balancer Detection API
developer/v1/domain/load-balancerDetects load balancing by analyzing DNS responses, HTTP headers, and connection patterns. Identifies load balancer types and providers.
What It Does
Analyzes multiple signals for load balancing: multiple A records in DNS (round-robin), load balancer specific headers (X-Served-By, X-Backend-Server, X-Amzn-Trace-Id), and cookie-based session affinity patterns (BIGipServer, AWSALB, ARRAffinity). Detects providers including F5 BIG-IP, AWS ELB/ALB, HAProxy, Azure LB, Google Cloud LB, Envoy, Istio, and Heroku Router.
Why It's Useful
Understanding load balancing architecture helps with infrastructure analysis, performance troubleshooting, and security assessments. It reveals deployment patterns and potential single points of failure.
Use Cases
Infrastructure Assessment
Analyze target infrastructure to understand load balancing approach.
Inform architecture decisions based on observed patterns.
Security Testing
Identify load balancing to understand potential attack surface variations.
Ensure all backend servers are tested during assessments.
Availability Analysis
Verify load balancing is properly configured for high availability.
Confirm redundancy is in place for critical services.
Parameters
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
domain | query | string | Required | The domain to detect load balancing 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 |
detected | boolean | Whether load balancing is detected |
type | string | Load balancing type: "dns-round-robin", "anycast" (multiple A records advertised via BGP-anycast by a CDN — geo-routing, not app-layer LB), "header-based", "cookie-based", or "none" |
providers | array | Detected load balancer providers with name, vendor, type, and evidence |
multipleIPs | boolean | Whether multiple IP addresses were found |
ipCount | number | Number of distinct IP addresses |
ipAddresses | array | Resolved IP addresses |
recommendations | array | Infrastructure improvement suggestions |
Code Examples
Replace YOUR_API_KEY with your API key. This endpoint requires the developer plan or higher; see plans and usage limits.
curl --request GET 'https://api.edgedns.dev/v1/domain/load-balancer?domain=example.com' \
--header "Authorization: Bearer YOUR_API_KEY"const response = await fetch(
"https://api.edgedns.dev/v1/domain/load-balancer?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/load-balancer?domain=example.com",
headers={'Authorization': 'Bearer YOUR_API_KEY'},
timeout=60,
)
response.raise_for_status()
data = response.json()
print(data)Read the full Load Balancer Detection guide
Learn the concepts, choose a practical workflow, and interpret the observations from Load Balancer 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 Load Balancer Detection endpoint live in the playground.