# PageCheck HTML Audit API

> PageCheck HTML Audit API is a paid API for AI agents from pagecheck-api-production.up.railway.app, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-19).

Audits supplied HTML for SEO metadata, accessibility, indexability, social tags, and structured data validity, returning evidence and actionable fixes

## Facts

- Endpoint: POST https://pagecheck-api-production.up.railway.app/v1/pages/audit?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pagecheck-html-audit-api-c97aa0f6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-WViv1aJsm7EZw0vA15IT

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 pagecheck-html-audit-api-c97aa0f6 -d '<json body>'
```

Example prompt: Can you audit this HTML for SEO and accessibility issues — check the metadata, heading structure, image alt text, canonical URL, indexability directives, social tags, and JSON-LD validity, and tell me what needs fixing? The target keyword is 'best running shoes'.

## When to prefer this

Choose this endpoint when you need a fast, programmatic, per-page HTML audit covering SEO fundamentals (metadata, canonicalization, indexability), basic accessibility signals (alt text, form labels, link names), and structured data validity in a single call. It is ideal for CI/CD pipelines, content management workflows, or agent-driven pre-publish checks where you have raw HTML available. It is not a substitute for a full WCAG certification tool, a live crawler, or a ranking-factor analysis platform.

## Known failure modes

- HTML too large (exceeds 250,000 character limit) — request rejected
- Malformed or empty HTML — audit may return incomplete or erroneous findings
- Invalid URI format for URL field — validation error returned
- Network or service unavailability on Railway hosting — 5xx errors possible
- Payment failure via x402 protocol — request not processed

## How this service works

Audit supplied HTML for metadata, canonical URLs, indexability directives, headings, image alternatives, form labels, link names, social metadata and JSON-LD validity. Returns evidence and practical fixes. Static checks are not a full WCAG certification or ranking guarantee.

## Output

Returns a structured audit report covering: metadata completeness (title, description), canonical URL status, indexability directives (robots meta, X-Robots-Tag), heading hierarchy analysis, image alt text gaps, form label issues, link name accessibility, Open Graph and Twitter social metadata, and JSON-LD validity — each with supporting evidence and specific remediation recommendations.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "format": "uri",
   "default": "https://example.com/article"
  },
  "html": {
   "type": "string",
   "maxLength": 250000,
   "minLength": 1
  },
  "target_keyword": {
   "type": "string",
   "maxLength": 100
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pagecheck-html-audit-api-c97aa0f6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pagecheck-api-production.up.railway.app](https://www.zero.xyz/host/pagecheck-api-production.up.railway.app/llms.txt)
