# Sparks RE API — WCAG 2.1 AA Accessibility Audit

> Sparks RE API — WCAG 2.1 AA Accessibility Audit is a paid API for AI agents from sparks-re-api.sparksdigital-re.workers.dev, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-29).

Audits a webpage URL or raw HTML for WCAG 2.1 AA accessibility compliance and returns a structured violation report with a compliance score and ADA Title II readiness flag.

## Facts

- Endpoint: POST https://sparks-re-api.sparksdigital-re.workers.dev/utilities/wcag-audit?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sparks-re-api-wcag-2-1-aa-accessibility-audit-e186fcab
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0DgihIGbCjryrfiaxJmEx

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability sparks-re-api-wcag-2-1-aa-accessibility-audit-e186fcab -d '<json body>'
```

Example prompt: Can you run a WCAG 2.1 AA accessibility audit on https://digisparks.net and tell me whether it's ADA Title II ready and what violations were found?

## When to prefer this

Choose this endpoint when you need automated WCAG 2.1 AA compliance validation for a specific URL or raw HTML snippet, especially in real estate or government housing contexts where ADA Title II readiness is required. It is ideal for pre-launch audits, regulatory compliance checks, or continuous accessibility monitoring of individual pages. Prefer this over generic accessibility tools when you need a structured JSON result with a numeric compliance score and an explicit ADA Title II ready flag.

## Known failure modes

- Invalid or unreachable URL returns an error without compliance data
- Malformed HTML may cause incomplete parsing and inaccurate results
- Dynamic JavaScript-rendered content may not be fully audited if it requires browser execution
- Missing both url and html fields results in a bad request error
- Rate limiting or payment failure returns a 402 Payment Required response

## How this service works

AI-powered real estate tools for property normalization, FHA compliance scanning, and investor metrics calculation. Powered by x402 micropayments.

## Output

Returns a JSON object containing the target URL or HTML identifier, a plain-language summary, an array of specific WCAG violations (empty if none), the WCAG version audited (2.1 AA), a numeric compliance score from 0–100, a total violation count, and a boolean ada_title_ii_ready flag indicating whether the page meets ADA Title II requirements.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "description": "Target webpage URL to audit for WCAG 2.1 AA compliance"
  },
  "html": {
   "type": "string",
   "description": "Optional raw HTML string to audit directly"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "target": "https://digisparks.net",
  "summary": "Zero automated structural WCAG 2.1 AA violations detected.",
  "violations": [],
  "wcag_version": "2.1 AA",
  "compliance_score": 100,
  "total_violations": 0,
  "ada_title_ii_ready": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sparks-re-api-wcag-2-1-aa-accessibility-audit-e186fcab/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from sparks-re-api.sparksdigital-re.workers.dev](https://www.zero.xyz/host/sparks-re-api.sparksdigital-re.workers.dev/llms.txt)
