Skip to main content
SaaS|CTO / VP Engineering

Holistic Website Health Assessment

Review SEO, accessibility, privacy, and HTTP security together

Review SEO, accessibility, privacy, and HTTP security together. Use the API workflow below to collect dated findings, review their scope, and decide which follow-up checks your team needs.

Implementation example by the EdgeDNS team · Updated

The Challenge

Separate scans can make cross-domain review cumbersome and obscure which pillar needs attention.

The Solution

Use website-health for a combined public-domain report, then use competitive comparison for a supported domain set. Inspect component coverage and partial results before comparing grades. The report summarizes bounded observations; it does not certify compliance or inspect every page.

Endpoints Used

Combine these EdgeDNS endpoints to build this solution.

GET
/v1/composite/website-healthAPI reference

Website Health: Combined SEO, accessibility, and privacy audit

GET
/v1/composite/competitiveAPI reference

Competitive Analysis: Benchmark SEO, accessibility, privacy, and HTTP-security headers across domains

GET
/v1/domain/compareAPI reference

Domain Compare: Compare rankings and authority for multiple domains

What this workflow helps you do

Review a combined report

Keep pillar scores and findings together for stakeholder review.

Compare a defined domain set

Use consistent scope and inspect missing components.

Plan follow-up checks

Open the relevant endpoint reference for detailed investigation.

Code Example

Review SEO, accessibility, privacy, and HTTP security together

javascript
const headers = { Authorization: 'Bearer YOUR_API_KEY' };
const checks = [
  {
    "path": "/v1/composite/website-health",
    "params": {
      "domain": "https://example.com"
    }
  },
  {
    "path": "/v1/composite/competitive",
    "params": {
      "domains": "example.com,competitor1.com,competitor2.com"
    }
  },
  {
    "path": "/v1/domain/compare",
    "params": {
      "domains": "google.com,facebook.com,twitter.com"
    }
  }
];

// Run sequentially to keep concurrency bounded. API tier restrictions apply.
for (const { path, params } of checks) {
  const url = new URL(path, 'https://api.edgedns.dev');
  url.search = new URLSearchParams(params).toString();
  const response = await fetch(url, { headers });
  const result = await response.json();
  if (!response.ok) {
    throw new Error(`${path}: ${response.status} ${result.error?.message ?? 'Request failed'}`);
  }
  // Keep the response metadata and any partial/unknown findings for review.
  console.log(path, result);
}

Learn More

Explore industry standards and best practices related to this use case.

Ready to build Holistic Website Health Assessment?

Get started with 200 free API requests per month. No credit card required.

Other Use Cases

Holistic Website Health Audit (SEO + a11y + security) | EdgeDNS