# ah-audit

> ah-audit is a paid API for AI agents from x402.agentharbor.agency, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-15).

Audits a business website's home page for analytics tags, consent management, structured data, AI-crawler access, and SEO basics, returning a ranked fix list with evidence

## Facts

- Endpoint: GET https://x402.agentharbor.agency/audit?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ah-audit-9f1bf555
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bsCdb9fn1tGYYQ4NShudH

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 ah-audit-9f1bf555
```

Example prompt: Can you audit the homepage of acme.com and give me a ranked list of fixes for analytics tags, consent management, AI crawler access, and SEO issues — with evidence for each finding?

## When to prefer this

Use this endpoint when you need a comprehensive, evidence-backed technical audit of a single business website's homepage covering analytics, consent compliance, AI-crawler access, structured data, and SEO — all in one call for $0.05. Prefer this over manual inspection or generic SEO tools when you need structured, ranked findings suitable for agent workflows or client reporting. The bot-block no-charge guarantee makes it safe to use speculatively on unknown domains.

## Known failure modes

- Domain cannot be audited due to bot blocking — endpoint returns a non-chargeable error response
- Domain returns an HTTP error (4xx/5xx) on the homepage — not charged
- Invalid or non-public hostname provided — request fails validation
- Transient network issues preventing page load — may require retry
- Dynamic tag firing may be incomplete if page has heavy JavaScript rendering restrictions

## How this service works

Given a business website domain, audits its home page in a real browser and returns a ranked fix list with evidence: analytics and tag-manager tags, the consent manager and whether tracking loads before a consent choice, structured data (schema.org), AI-crawler access (robots.txt, llms.txt) and SEO basics. Findings that depend on what a visitor sees are marked as leads to verify. Not charged if the page cannot be audited (bot block, error).

## Output

A ranked list of findings (fixes) for the audited homepage, each with supporting evidence. Findings cover: analytics and tag manager tags (both static HTML and dynamically loaded), consent manager presence and whether third-party tracking fires before user consent, structured data validity, AI-crawler accessibility (robots.txt, llms.txt), and SEO basics. Findings that depend on browser-rendered behavior (e.g. pre-consent tracking) are flagged as leads to verify. Pages that cannot be audited due to bot blocking or errors are not charged.

## 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",
     "required": [
      "domain"
     ],
     "properties": {
      "domain": {
       "type": "string",
       "pattern": "^[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)+$",
       "maxLength": 253,
       "description": "Bare public hostname, e.g. example.com"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ah-audit-9f1bf555/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.agentharbor.agency](https://www.zero.xyz/host/x402.agentharbor.agency/llms.txt)
