← SEO Score API

Accessibility Audit API

An accessibility audit API: send a URL, get axe-core's WCAG 2.1 A/AA results as JSON: a 0-100 score, each violation, its elements and a fix. From $5/mo.

SEO Score API's accessibility audit API is a REST endpoint, GET /audit/accessibility, that loads a page in a headless browser, runs axe-core's WCAG 2.0 and 2.1 Level A and AA rules on it, and returns the results as JSON: a 0-100 score and letter grade, every violation with the WCAG criterion, the affected elements and a plain-English fix, plus checks that need a person to verify. It is for developers, agencies and accessibility teams who want WCAG checks in a CI gate, a client dashboard, a batch job or an AI assistant, and it is included on every paid plan from $5/mo.

One call

curl -H "X-API-Key: YOUR_KEY" \
  "https://seoscoreapi.com/audit/accessibility?url=https://example.com"

Or from Python with requests:

import requests

r = requests.get(
    "https://seoscoreapi.com/audit/accessibility",
    params={"url": "https://example.com"},
    headers={"X-API-Key": "YOUR_KEY"},
)
data = r.json()
print(data["score"], data["grade"], data["lawsuit_risk"]["level"])

What it checks

What the response contains

{
  "url": "https://example.com/",
  "score": 82, "grade": "B",
  "standard": "WCAG 2.1 AA",
  "summary": {"total_rules_checked": 45, "violations": 3, "passes": 36,
              "incomplete": 2, "best_practice_issues": 1},
  "lawsuit_risk": {"level": "medium", "summary": "...",
                   "high_risk_violations": [...]},
  "categories": {"color_contrast": {"label": "Color Contrast", "score": 50.0, ...}},
  "violations": [{"rule_id": "color-contrast", "impact": "serious",
                  "type": "wcag", "wcag_tags": ["wcag2aa", "wcag143"],
                  "category": "color_contrast", "affected_elements": 4,
                  "fix": "...", "element_samples": [...]}],
  "best_practices": [...],
  "needs_review": [...],
  "priorities": [...]
}
The field names are the API's; the values are an example. needs_review lists what axe could not decide, with what to check by hand; those items are left out of the score rather than counted as failures. lawsuit_risk.level is minimal, low, medium or high: our summary of how many critical and serious failures the page has and how many are in the rules we treat as high risk (alt text, form labels, contrast, link and button names, captions and similar). It is not a legal assessment.

Which plans include it

Accessibility audits have their own monthly allowance on every paid plan, separate from the SEO audit quota: Starter ($5/mo) 5, Basic ($15/mo) 20, Pro ($39/mo) 100 and Ultra ($99/mo) 500 a month. The free plan does not include them. Each API key can run 20 a minute and 2 at a time; GET /usage shows ada_remaining, and a 429 or a failed audit is never counted. See pricing.

Use it from an AI assistant (MCP)

The same audit is the accessibility_audit tool on the SEO Score API MCP server at https://seoscoreapi.com/mcp. Add it to ChatGPT, Claude, Cursor, VS Code and others with the MCP setup guides, then ask: "Check https://example.com for WCAG 2.1 AA issues and list the critical ones with fixes." It uses the same plan allowance as the REST API. The Python and Node SDKs have it too (accessibility_audit / accessibilityAudit).

What it doesn't do

It finds the WCAG 2.1 A/AA issues that automated testing can detect. Automated testing does not catch everything: it cannot judge whether alt text is meaningful, whether a page makes sense with a screen reader, or most keyboard and focus flows, so it is not a substitute for a manual review and does not certify a site as conforming or ADA-compliant. It audits one URL per call (crawl a site and call it per page), and it does not test PDFs or WCAG 2.2. For scheduled scans of a set of pages with alerts and a monthly PDF, see ADA Monitor.

Related reading

Accessibility Audit API: WCAG 2.1 AA Checks in One Call

How to run a WCAG 2.1 AA accessibility audit from code: what the response contains, what automated checks can and can't find, and how to use it across a site.

ADA Compliance Checker & Website Accessibility Audit

Run an ADA and WCAG 2.1 AA accessibility audit on any URL via API: an accessibility score, a lawsuit-risk level (a heuristic, not legal advice), and a prioritised list of fixes to make.

Automate WCAG Accessibility Monitoring with the SEO Score API

Accessibility regressions stay invisible until a demand letter arrives. A Python script that audits on a schedule, tracks the score and alerts when it drops.

WCAG 2.1 AA Compliance Checklist for Attorney Websites

A WCAG 2.1 AA checklist specific to attorney websites, grouped by what plaintiff firms cite most, what is testable mechanically, and what needs human review.

Why Credit Union Websites Consistently Fail WCAG Audits (and How to Fix It)

The five WCAG failures on nearly every credit union website, why CUSO and core-processor templates produce them, and the realistic path to remediation.

Frequently asked

What is an accessibility audit API?

An API that loads a web page, tests it against accessibility rules and returns the failures as data. SEO Score API's version runs axe-core's WCAG 2.0 and 2.1 Level A and AA rules in a headless browser and returns a 0-100 score, each violation with the affected elements and a fix, and the checks that need a person to verify, as JSON from GET /audit/accessibility.

What does the accessibility audit API check?

Every axe-core rule tagged WCAG 2.0 or 2.1 Level A or AA: images and alt text, form labels, color contrast, keyboard and navigation, ARIA attributes, document structure, links and buttons, tables, audio and video captions, and viewport zoom, each with an impact from critical to minor. axe best-practice rules are reported separately and do not affect the score.

Does a clean result mean my site is ADA compliant?

No. It means no automatically detectable WCAG 2.1 A/AA failures were found on that page. Automated testing does not catch everything, so a manual review is still needed, and the lawsuit-risk level is our summary of the results, not a legal assessment.

Is the accessibility audit on the free tier?

No. It is on every paid plan: Starter ($5/mo) includes 5 accessibility audits a month, Basic ($15/mo) 20, Pro ($39/mo) 100 and Ultra ($99/mo) 500. A free key covers the standard SEO audit, which has a small accessibility category of its own.

How is the accessibility score calculated?

Each WCAG 2.1 A/AA violation is weighted by its impact (critical, serious, moderate or minor) and combined into a 0-100 score with an A+ to F grade. Best-practice findings never lower the score or raise the risk level, and checks that need a person are returned under needs_review instead of being counted as failures.

Can I run it from ChatGPT, Claude or Cursor?

Yes. It is the accessibility_audit tool on the hosted MCP server at https://seoscoreapi.com/mcp; the setup guides at seoscoreapi.com/mcp-server cover each assistant. It needs a paid plan's API key or sign-in.

What are the rate limits?

Each API key can run 20 accessibility audits a minute and 2 at a time. A 429 carries a Retry-After header, and neither a 429 nor a failed audit counts against the monthly allowance.

Run WCAG 2.1 A/AA checks from your code

Get a Free API Key