Domain Compare API
pro/v1/domain/compareCompare up to 10 domains side-by-side on ranking, WSA (Website Authority) scores, domain age, category, and more. Powered by the WebsiteLaunches Top 100M dataset.
What It Does
Accepts a comma-separated list of domains and returns comparative data including global ranking, rank tier, WSA authority score, domain age, category classification, and descriptions. Results are sorted by rank.
Why It's Useful
Essential for competitor benchmarking, brand portfolio analysis, and investment due diligence. Quickly see how domains stack up against each other in terms of authority and traffic ranking.
Use Cases
Competitor Benchmarking
Compare your domain ranking and authority against top competitors to identify gaps and opportunities.
Data-driven competitive intelligence for SEO and marketing strategy.
Domain Portfolio Valuation
Compare multiple domains in a portfolio to assess relative authority and market value.
Quick portfolio assessment using authoritative ranking data.
Brand Monitoring
Compare your main domain against brand variations and competitor domains to track market position.
Ongoing visibility into brand domain authority versus competitors.
Parameters
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
domains | query | string | Required | Comma-separated list of domains to compare (2-10)Example: google.com,facebook.com,twitter.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 |
|---|---|---|
domains | array | Array of domain comparison objects sorted by rank |
domains[].domain | string | The domain name |
domains[].rank | number|null | Global ranking position (null if unranked) |
domains[].rank_tier | string | Rank tier: top100, top1k, top10k, top100k, top1m, or unranked |
domains[].wsa_score | number|null | Website Authority score (0-100) |
domains[].category | string|null | Primary site category |
compared_at | string | ISO timestamp of comparison |
Code Examples
Replace YOUR_API_KEY with your API key. This endpoint requires the pro plan or higher; see plans and usage limits.
curl --request GET 'https://api.edgedns.dev/v1/domain/compare?domains=google.com%2Cfacebook.com%2Ctwitter.com' \
--header "Authorization: Bearer YOUR_API_KEY"const response = await fetch(
"https://api.edgedns.dev/v1/domain/compare?domains=google.com%2Cfacebook.com%2Ctwitter.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/compare?domains=google.com%2Cfacebook.com%2Ctwitter.com",
headers={'Authorization': 'Bearer YOUR_API_KEY'},
timeout=60,
)
response.raise_for_status()
data = response.json()
print(data)Read the full Domain Compare guide
Learn the concepts, choose a practical workflow, and interpret the observations from Domain Compare before acting on them. Use the documented REST request for this operation.
Read the guide →Related Endpoints
External References
Learn more about the standards and protocols behind this endpoint.