Competitive Analysis
pro/v1/composite/competitiveCompares SEO, accessibility, and privacy scores across 2-5 domains with ranked results and gap analysis. Identifies the best-performing domain in each category, calculates the score gap between each domain and the leader, and provides an overall competitive ranking. Enables data-driven competitive benchmarking aligned with WCAG 2.2 and modern SEO standards in a single API call.
What It Does
Accepts a comma-separated list of 2-5 domains, runs SEO scoring, accessibility audits, and privacy audits for each domain in parallel, and returns a side-by-side comparison. Each domain receives individual scores and grades for all three dimensions plus an overall composite score. Results include ranked positions, gap analysis showing point differences from the leader in each category, and identification of the top performer per dimension. Handles partial failures — if one domain's audit fails, others still return with scores.
Why It's Useful
Competitive benchmarking typically requires multiple tools and manual data aggregation. This endpoint automates the entire workflow — run one request and get a complete competitive landscape across SEO, accessibility, and privacy. Essential for SEO strategists identifying optimization gaps, agencies building pitch decks with data-driven comparisons, and compliance teams benchmarking accessibility against industry peers.
Use Cases
SEO Gap Analysis
Compare your domain's SEO, accessibility, and privacy scores against top 3-4 competitors. Identify specific score gaps and which dimensions offer the highest improvement potential.
Quantified competitive gaps with ranked results showing exactly where you lead and lag.
Accessibility Compliance Benchmarking
Benchmark your WCAG compliance scores against industry peers to assess regulatory risk and prioritize remediation efforts under EAA or ADA requirements.
Evidence-based compliance positioning relative to competitors for regulatory discussions.
Agency Pitch & Reporting
Generate competitive analysis reports for prospects showing their scores against competitors, highlighting improvement potential across SEO, accessibility, and privacy.
Data-driven pitch decks with quantified improvement potential and ranked competitive positions.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
domains | string | Required | Comma-separated list of 2-5 domains to compareExample: example.com,competitor1.com,competitor2.com |
Response Fields
| Field | Type | Description |
|---|---|---|
domains | array | Ranked array of domain comparison objects: domain name, SEO score/grade, accessibility score/grade, privacy score/grade, overall composite score/grade with overallGradeDescription, rank position, and gap from leader in each category (null gap indicates the score could not be computed, not zero difference) |
comparison | object | Best performer identification: bestSeo, bestAccessibility, bestPrivacy, bestOverall — each with domain name and score |
meta | object | Request metadata: domains_analyzed, response_time_ms, partial_failure flag |
Code Examples
curl "https://api.edgedns.dev/v1/composite/competitive" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d "domains=example.com,competitor1.com,competitor2.com"const response = await fetch(
'https://api.edgedns.dev/v1/composite/competitive?domains=example.com%2Ccompetitor1.com%2Ccompetitor2.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/composite/competitive',
headers={'Authorization': 'Bearer YOUR_API_KEY'},
params={
'domains': 'example.com,competitor1.com,competitor2.com'
}
)
data = response.json()
print(data)Read the full Competitive Analysis 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
SEO Score
Composite SEO score from multiple audits
Accessibility Audit
WCAG 2.1/2.2 accessibility analysis across 24 checks
Privacy Audit
Cookies, trackers, and compliance analysis
Website Health
Combined SEO, accessibility, and privacy audit
Domain Compare
Compare rankings and authority for multiple domains
External References
Learn more about the standards and protocols behind this endpoint.
Try This Endpoint
Test the Competitive Analysis endpoint live in the playground.