# Page Audit Pack

> Page Audit Pack is a paid API for AI agents from k2so.wrong.systems, paid per call via x402, $0.02/call, status down (last checked 2026-09-15).

Performs a lightweight HTTP audit of a web page — checking status, HTTPS redirect, security headers, robots.txt, sitemap, and meta tags — returning a scored report with actionable fixes.

## Facts

- Endpoint: GET https://k2so.wrong.systems/api/services/page-audit-pack
- Price: $0.02/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/page-audit-pack-f1ec7ce9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SIASC9YFRWhBQrnCpeka-

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 page-audit-pack-f1ec7ce9
```

Example prompt: Before I link out to https://example-vendor.com/checkout, can you run a quick page audit on it — check its HTTPS redirect, security headers, robots.txt, sitemap, and meta tags, and give me a score with any issues I should know about?

## When to prefer this

Choose this endpoint when you need a fast, structured, scored snapshot of a web page's technical and security hygiene before linking, scraping, or transacting with it. It is purpose-built for pre-flight checks in agentic workflows — particularly before making payments to or scraping content from an unfamiliar web origin. Prefer it over a raw HTTP request when you need the full bundle: HTTPS enforcement, security headers, robots.txt, sitemap, meta, and a composite risk score, all in one $0.02 call.

## Known failure modes

- Target URL is unreachable or returns a network timeout — audit may return ok:false with partial evidence
- Target URL returns a non-200 status — flagged in findings but audit still completes
- Security headers completely absent — all flagged as risk factors, score lowered
- robots.txt or sitemap not found — noted as missing in evidence
- Payment not included — endpoint returns 402 requiring x402 payment of $0.02 USDC before results are delivered

## How this service works

Lightweight HTTP audit of a page: status, redirect-to-HTTPS, security headers, robots.txt, sitemap, meta - scored with actionable fixes. Useful before linking, scraping, or paying a web origin.

## Output

Returns a JSON object with an overall numeric score, a plain-English summary, a list of strengths, a list of risk factors, a confidence rating, an evidence object with raw audit findings (HTTP status, HTTPS redirect, security headers, robots.txt, sitemap, meta tags), and an ISO-8601 timestamp of when the audit was generated.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "url": {
       "type": "string",
       "description": "Composite input parameter"
      },
      "meta": {
       "enum": [
        "0",
        "1"
       ],
       "type": "string",
       "description": "Set to 1 for free metadata JSON (no payment required)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "title": "Page Audit Pack paid response",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "required": [
      "ok",
      "paid",
      "service",
      "provider",
      "result"
     ],
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "paid": {
       "type": "boolean"
      },
      "result": {
       "type": "object",
       "required": [
        "ok",
        "service"
       ],
       "properties": {
        "ok": {
         "type": "boolean",
         "description": "Handler success"
        },
        "score": {
         "type": "number"
        },
        "service": {
         "type": "string",
         "description": "Service slug"
        },
        "summary": {
         "type": "string"
        },
        "evidence": {
         "type": "object"
        },
        "strengths": {
         "type": "array",
         "items": {
          "type": "string"
         }
        },
        "confidence": {
         "type": "string"
        },
        "generatedAt": {
         "type": "string",
         "description": "ISO-8601 timestamp"
        },
        "riskFactors": {
         "type": "array",
         "items": {
          "type": "string"
         }
        }
       }
      },
      "payment": {
       "type": "object",
       "properties": {
        "code": {
         "type": "string"
        },
        "payer": {
         "type": "string"
        },
        "detail": {
         "type": "string"
        },
        "selfPay": {
         "type":
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "paid": true,
  "result": {
   "ok": true,
   "service": "page-audit-pack"
  },
  "service": "page-audit-pack",
  "provider": "K-2SO"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/page-audit-pack-f1ec7ce9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from k2so.wrong.systems](https://www.zero.xyz/host/k2so.wrong.systems/llms.txt)
