Compliance Score: Understand and Use the Results
Global compliance score from 12 weighted factors
The single compliance grade (and what goes into it)
A compliance grade is a single composite number (or A-to-F letter) that summarizes everything an automated audit found about a website's compliance posture across accessibility, privacy, internationalization, and (where applicable) industry-specific requirements. Instead of asking a non-technical stakeholder to read four separate technical reports — WCAG accessibility, GDPR privacy, CCPA disclosures, EAA conformance, hreflang structure — you give them a single grade and a one-paragraph executive summary. The grade rolls up the same underlying signals that any compliance consultant would look at, but in a form that lands in a board meeting.
You should care because compliance is one of those areas where the technical detail is so dense that nobody outside the compliance team actually reads the reports. A founder, a CMO, or a board member doesn't need to know the difference between WCAG 2.1 AA and WCAG 2.2 AA — they need to know whether compliance is a problem worth investing in this quarter. A single letter grade, computed transparently from a defined methodology, is the bridge between the technical detail and the strategic decision. As a bonus, the grade gives you a number to track over time, which makes the impact of remediation work visible in a way that abstract "we improved a few things" updates do not.
The four categories every compliance grade rolls up:
Accessibility. WCAG 2.2 AA conformance: color contrast, alt text, keyboard navigation, heading hierarchy, form labels, ARIA landmarks, skip links, focus indicators.
Privacy. GDPR and CCPA hygiene: cookie banner quality, third-party tracker inventory, privacy policy presence, data subject rights mechanisms, cookies before consent.
Internationalization. Multi-language support: hreflang tags, URL structure, language declarations, character encoding, currency and date formatting.
Legal page completeness. Are the standard required pages (privacy policy, terms of service, cookie policy, accessibility statement) present, linked, and current?
Each category gets weighted (accessibility usually carries the most weight because of the legal exposure; internationalization is sometimes excluded for single-market sites) and the weighted average becomes the overall grade.
Three questions a single compliance grade answers:
At a glance, is our compliance posture getting better or worse over time?
Which of the categories is the biggest risk right now, so I know where to focus engineering and legal effort?
For a board update, can I summarize all of this in one number?
The cost of not having a single grade is the slow accumulation of detailed reports that nobody on the leadership team actually reads. The fix is to roll up the existing detail into one number and one letter, computed the same way every time, and tracked on a recurring schedule. This is the difference between compliance being a black box and compliance being a measurable, accountable line item in the legal and engineering budgets. The accessibility pillar of the grade tracks against W3C WCAG 2.2, and the information-security pillar typically maps to ISO/IEC 27001.
The Compliance Score endpoint, in plain language
Global compliance score from 12 weighted factors
Prioritize qualified manual review using observed documentation and configuration signals. Obligations depend on jurisdiction, processing and business context. A score cannot establish lawful consent, honored opt-outs, WCAG (Web Content Accessibility Guidelines) conformance or legal compliance.
What is actually happening when you call it
Fetches the domain's main page and up to 5 sub-pages (privacy policy, terms, accessibility statement, contact, CCPA (California Consumer Privacy Act) opt-out) plus /.well-known/security.txt. Detects consent management platforms (OneTrust, CookieBot, Quantcast, etc.), IAB TCF v2 API (Application Programming Interface) signals, and granular consent options. Analyzes privacy policy content for GDPR (General Data Protection Regulation) terms (data rights, legal basis, DPO (Data Protection Officer), consent withdrawal, transfer mechanisms) and CCPA terms (California disclosures, right to know/delete). Parses security.txt (security.txt file) per RFC (Request for Comments) 9116 for required fields. Detects accessibility statement with WCAG (Web Content Accessibility Guidelines) level references. Checks contact pages for physical address, email, and impressum compliance. Also evaluates technical accessibility via automated audit, children's data protection (COPPA (Children's Online Privacy Protection Act), age gates), cookie security attributes, and multi-state US privacy signals (GPC (Global Privacy Control), universal opt-out, AI disclosure).
Why this specific tool matters
Choose a task: Self-Audit Before Launch. Run a compliance score check on your own domain before launching to new markets (EU, California). Identify missing privacy policy sections, absent cookie consent, or missing security.txt (security.txt file) before regulatory exposure increases.
Run the Compliance Score request below and retain the input and observed result. Before changing configuration, compare the relevant fields with the value or policy you expected. Use the Compliance Score reference to check the field definitions and supported options.
Available on the pro plan. The technical details: `GET /v1/score/compliance`.
When would I actually use this?
Self-Audit Before Launch
Run a compliance score check on your own domain before launching to new markets (EU, California). Identify missing privacy policy sections, absent cookie consent, or missing security.txt (security.txt file) before regulatory exposure increases.
Use the finding: Catch compliance gaps before regulators or users flag them — avoid fines and reputational damage.
Continuous Compliance Monitoring
Schedule periodic compliance score checks via domain monitoring subscriptions. Get alerted when score drops — for example, when a CMS (Content Management System) update removes the cookie consent banner or a deploy breaks the privacy policy page.
Use the finding: Detect compliance regressions immediately rather than during the next manual audit.
Vendor Privacy Assessment
Score vendor and partner domains for compliance signals as part of due diligence. A vendor without a privacy policy, cookie consent, or security.txt (security.txt file) may pose data handling risks to your organization.
Use the finding: Quantify vendor compliance posture with a single metric for risk assessments and procurement decisions.
The easiest way: just ask your AI assistant
Connect the MCP server. Just ask in plain English:
Use score_compliance with domain=edgedns.dev. Show the returned findings, identify unavailable evidence, and explain a useful next check.
Confirm the tool and inputs in the client before accepting its summary. For Compliance Score, use the response fields below to separate observations from recommendations.
The dedicated MCP server is available on every plan. Individual tool access and request limits depend on your plan. Management categories and endpoints disabled for the tool catalog are not exposed through MCP.
The technical way: call it from code
This Compliance Score request uses the example inputs from its API contract. Replace YOUR_API_KEY with a key on the pro plan or higher; adapt the target to your task.
curl --request GET 'https://api.edgedns.dev/v1/score/compliance?domain=edgedns.dev' \
--header "Authorization: Bearer YOUR_API_KEY"Prepare inputs for Compliance Score
Start with the inputs below. Keep the same hostname, path, and options when comparing Compliance Score observations. The API reference contains the complete parameter contract, optional settings, and access requirements.
| Field | Type | Required? | What it means | Example |
|---|---|---|---|---|
domain | string | Yes | The domain to calculate compliance score for (e.g., example.com) | edgedns.dev |
Interpret Compliance Score findings
Read these fields alongside the full response from your Compliance Score check. A missing value or failed lookup is different from a passing result. Keep returned errors and confidence or cache metadata when available; do not replace missing evidence with a successful default. See the complete response reference for additional fields.
| Field | Type | What you'll see in it |
|---|---|---|
assessment | object | Source-evidence status, observed/applicable weights and coverage; missing observations remain unavailable, not legally inapplicable. |
legalAssessment | string | Always unverified. Static documentation and header signals do not establish legal compliance or runtime enforcement. |
applicability | string | Unknown: jurisdiction, processing purpose and covered-business duties require separate review. |
Words you might be wondering about
API (Application Programming Interface) — A way for one program to ask another program for something — like a waiter taking your order to the kitchen.
WCAG (Web Content Accessibility Guidelines) — The international standard for making websites usable by people with disabilities. Required by law in many countries.
GDPR (General Data Protection Regulation) — Europe's privacy law. Requires websites to be transparent about what personal data they collect and how they use it.
CCPA (California Consumer Privacy Act) — California's privacy law. Gives California residents the right to know what personal data a company has collected about them.
CMS (Content Management System) — Software that lets non-technical people publish web pages without writing code. WordPress, Webflow, and Ghost are popular examples.
security.txt (security.txt file) — A small text file at /.well-known/security.txt on your website that tells security researchers how to report vulnerabilities to you. Standardized by RFC 9116.
CPRA (California Privacy Rights Act) — An update to California's CCPA privacy law that adds new rights for residents and creates a dedicated privacy regulator. Took effect in 2023.
COPPA (Children's Online Privacy Protection Act) — A US law requiring websites to get verified parental consent before collecting personal information from children under 13.
DPO (Data Protection Officer) — A person designated inside a company to oversee its compliance with privacy laws like GDPR. Required for many organizations that handle large amounts of personal data.
GPC (Global Privacy Control) — A browser signal that tells websites 'do not sell or share my personal information.' Recognized as a valid opt-out by California and several other states.
ePrivacy Directive (EU ePrivacy Directive) — An EU privacy law specifically about electronic communications and tracking technologies like cookies. The reason every European website asks you to accept cookies.
RFC (Request for Comments) — The official internet standards documents. When someone says 'RFC 8484' they mean a specific numbered standards document — in that case, the one defining DNS over HTTPS.
Related Guides
Privacy Audit: Understand and Use the Results
Cookies, trackers, and compliance analysis
Accessibility Audit: Understand and Use the Results
Static HTML accessibility checks with coverage limits
Security Score: Understand and Use the Results
Evidence-weighted security score from 12 components
Trust Score: Understand and Use the Results
Evaluate domain trustworthiness from 7 signals
Need Programmatic Access?
Automate domain intelligence with 100+ API endpoints and a free MCP server for AI integration.