# Liminal Site Audit

> Liminal Site Audit is a paid API for AI agents from x402-spot-prices.hsharmanov02.workers.dev, paid per call via x402, $1/call, status unknown (last checked 2026-10-02).

Performs a comprehensive site audit for a given URL, checking DNS, SSL, tech stack, and HTTP security headers, and returns a health summary.

## Facts

- Endpoint: POST https://x402-spot-prices.hsharmanov02.workers.dev/site-audit?utm_source=zero.xyz
- Price: $1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/liminal-site-audit-e5ddaa9b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hRfOIYHGmFBLMZAdZVdvB

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 liminal-site-audit-e5ddaa9b -d '<json body>'
```

Example prompt: Can you run a site audit on https://example.com and tell me if the SSL, DNS, security headers, and tech stack all look healthy?

## When to prefer this

Use this endpoint when you need a quick, pay-per-request technical health snapshot of a website covering DNS, SSL, security headers, and tech stack in a single call. Prefer it over manual checks or heavier auditing tools when you want a structured JSON result without setting up infrastructure. Ideal for lightweight agent-driven monitoring or pre-deployment validation.

## Known failure modes

- HTTP 402 returned if payment signature header is missing or invalid — must retry with a valid PAYMENT-SIGNATURE header
- Target URL is unreachable or does not exist, leading to failed section checks
- Malformed input (missing url or host field) may result in an error response
- Cloudflare Worker downtime could result in 503 or timeout

## How this service works

Live crypto spot-price snapshots (USD) and fiat FX spot rates. Pay-per-request via x402 v2: $0.01 USDC on Base, Monad, Arbitrum, Optimism, Polygon, Avalanche or Solana (eip155:8453), Monad (eip155:143), Arbitrum (eip155:42161), Optimism (eip155:10), Polygon (eip155:137), Avalanche (eip155:43114) or Solana, scheme exact (EIP-3009). Unpaid calls return HTTP 402 with a base64 PAYMENT-REQUIRED header; retry with a PAYMENT-SIGNATURE header.

## Output

Returns a JSON object with an overall health status (e.g. 'healthy'), a list of reasons, and per-section results for DNS, SSL, tech stack, and HTTP headers (each with an ok boolean). Also includes the host, checked_at timestamp, and price in USDC.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "const": "POST"
    }
   },
   "additionalProperties": true
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   },
   "additionalProperties": true
  }
 },
 "additionalProperties": true
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://example.com/",
  "host": "example.com",
  "service": "site-audit",
  "summary": {
   "overall": "healthy",
   "reasons": [
    "SSL certificate valid",
    "security headers grade A"
   ]
  },
  "sections": {
   "dns": {
    "ok": true
   },
   "ssl": {
    "ok": true
   },
   "stack": {
    "ok": true
   },
   "headers": {
    "ok": true
   }
  },
  "checked_at": 1759099200,
  "price_usdc": "1.00",
  "sections_ok": 4,
  "sections_total": 4
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/liminal-site-audit-e5ddaa9b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-spot-prices.hsharmanov02.workers.dev](https://www.zero.xyz/host/x402-spot-prices.hsharmanov02.workers.dev/llms.txt)
