Skip to main content

Competitive Analysis

pro
GET/v1/composite/competitive

Compares 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 Strategist

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.

Compliance / Legal Team

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.

Digital Agency

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

NameTypeRequiredDescription
domainsstringRequiredComma-separated list of 2-5 domains to compareExample: example.com,competitor1.com,competitor2.com

Response Fields

FieldTypeDescription
domainsarrayRanked 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)
comparisonobjectBest performer identification: bestSeo, bestAccessibility, bestPrivacy, bestOverall — each with domain name and score
metaobjectRequest metadata: domains_analyzed, response_time_ms, partial_failure flag

Code Examples

cURL
curl "https://api.edgedns.dev/v1/composite/competitive" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d "domains=example.com,competitor1.com,competitor2.com"
JavaScript
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);
Python
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

External References

Learn more about the standards and protocols behind this endpoint.

Try This Endpoint

Test the Competitive Analysis endpoint live in the playground.