Skip to main content

Domain Compare API

pro
GET/v1/domain/compare

Compare 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

Marketing Analyst

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 Investor

Domain Portfolio Valuation

Compare multiple domains in a portfolio to assess relative authority and market value.

Quick portfolio assessment using authoritative ranking data.

Brand Manager

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

NameLocationTypeRequiredDescription
domainsquerystringRequiredComma-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.

FieldTypeDescription
domainsarrayArray of domain comparison objects sorted by rank
domains[].domainstringThe domain name
domains[].ranknumber|nullGlobal ranking position (null if unranked)
domains[].rank_tierstringRank tier: top100, top1k, top10k, top100k, top1m, or unranked
domains[].wsa_scorenumber|nullWebsite Authority score (0-100)
domains[].categorystring|nullPrimary site category
compared_atstringISO 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
curl --request GET 'https://api.edgedns.dev/v1/domain/compare?domains=google.com%2Cfacebook.com%2Ctwitter.com' \
  --header "Authorization: Bearer YOUR_API_KEY"
JavaScript
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);
Python
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.

Domain Compare API Reference | EdgeDNS