# BRAINIAC Link Accessibility Audit API

> BRAINIAC Link Accessibility Audit API is a paid API for AI agents from www.brainiac.software, paid per call via x402, $0.03/call, status unknown (last checked 2026-11-17).

Audits HTML links for accessibility issues including missing or generic link text, returning WCAG-related findings with severity, element selectors, and remediation advice.

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/accessibility/link-audit?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-link-accessibility-audit-api-befe519c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1HnWjRHY-8jtZE3aT0qWU

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 brainiac-link-accessibility-audit-api-befe519c -d '<json body>'
```

Example prompt: Can you audit the links on this HTML page for accessibility issues and tell me which ones have missing or generic link text that would fail WCAG guidelines? Here's the HTML: <html>...<a href='/next'>click here</a>...</html>

## When to prefer this

Use this endpoint when you need a fast, pay-per-call, accountless static HTML audit specifically focused on link accessibility issues. It is ideal for CI/CD pipelines, pre-publication checks, or agent workflows that need WCAG-related link feedback without setting up a full browser-based accessibility scanner. Prefer it over full WCAG suites when you only need link-level issues and want minimal overhead. Not suitable when JavaScript-rendered links or full WCAG conformance reports are required.

## Known failure modes

- Missing both url and html inputs — endpoint likely returns a validation error
- HTML input exceeding 200,000 characters — rejected due to maxLength constraint
- Malformed or non-HTTP URL pattern — fails schema pattern validation
- Page with no links returns empty issues array — not a failure but yields no actionable output
- JavaScript-rendered links not visible in static HTML are not detected — by design limitation

## How this service works

Pay-per-call APIs for AI agents: OFAC sanctions screening, compliance checks, token security, and Base chain data via x402. No account. Fixed USDC price. MCP-ready.

## Output

A JSON object containing: a list of issues each with a code (e.g. link_unnamed, link_generic), kind (confirmed/potential/manual), the CSS selector of the offending element, a human-readable explanation, and a remediation suggestion. Also includes a wcagCompliance boolean, the source type (html), status, checkedAt timestamp, warnings, and a list of audit limitations such as no JavaScript execution.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "pattern": "^https?:\\/\\/\\S+$",
   "maxLength": 2000,
   "minLength": 8
  },
  "html": {
   "type": "string",
   "maxLength": 200000,
   "minLength": 1
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "",
  "issues": [
   {
    "code": "link_generic",
    "kind": "potential",
    "element": "a[href=\"/next\"]",
    "explanation": "The link text \"click here\" does not name its destination.",
    "remediation": "Use text that says where the link goes."
   },
   {
    "code": "link_unnamed",
    "kind": "confirmed",
    "element": "a[href=\"/empty\"]",
    "explanation": "This link has no accessible name.",
    "remediation": "Add link text, an image alt, or an aria-label."
   },
   {
    "code": "link_context_not_checked",
    "kind": "manual",
    "element": "document",
    "explanation": "Link purpose was judged from the link text only, not from the surrounding sentence.",
    "remediation": "Review a generic link in its sentence when the text is repeated."
   }
  ],
  "source": "html",
  "status": "checked",
  "warnings": [],
  "checkedAt": "2026-11-02T19:00:00.000Z",
  "limitations": [
   "This is a static HTML check. It is not a WCAG conformance claim.",
   "JavaScript is not run, so states that appear only after interaction are not seen.",
   "Contrast is calculated only when both colours are written on the same element.",
   "Checks marked manual need a browser or a person. They are not failures."
  ],
  "wcagCompliance": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-link-accessibility-audit-api-befe519c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.brainiac.software](https://www.zero.xyz/host/www.brainiac.software/llms.txt)
