# x402 Site Audit Tool

> x402 Site Audit Tool is a paid API for AI agents from gpt55.558686.xyz, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Fetches and audits a website or API endpoint for x402/API buyer-readiness, returning a structured compliance and readiness report.

## Facts

- Endpoint: GET https://gpt55.558686.xyz/v1/tools/x402-site-audit
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-site-audit-tool-29aaae33
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8sCb8LDD4v8xD0F_xacMu

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 x402-site-audit-tool-29aaae33
```

Example prompt: Can you run an x402 buyer-readiness audit on https://example.com and tell me if it's properly set up to accept x402 USDC micropayments?

## When to prefer this

Use this endpoint when you need to quickly and cheaply ($0.001 USDC) audit a specific URL or API base for x402 payment protocol readiness without a subscription. Prefer this over manual inspection when you need a structured, machine-readable report on x402 compliance signals.

## Known failure modes

- Missing required 'url' or 'base_url' query parameter returns a validation error
- Unreachable or invalid URL results in a timeout or fetch failure
- URL exceeds max_bytes limit causing truncated or failed fetch
- Timeout set below 1000ms or above 10000ms returns a parameter validation error
- Non-HTTP URL type in input causes schema rejection

## How this service works

Fetch a public API origin and audit x402 discovery, OpenAPI, pricing, llms.txt, robots, sitemap, MCP metadata, health, endpoint counts, payment schemes, and buyer-readiness signals. This deterministic endpoint does not call an upstream model. GET variant for agents, crawlers, and wallets that prefer query parameters over a JSON body. Pay up to $0.001 per request with x402 USDC on Base.

## Output

Returns a JSON object with an 'ok' boolean, tool name ('x402SiteAudit'), and a structured summary describing the audited site's x402/API buyer-readiness, including compliance indicators and fetch metadata.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "url": "https://example.com",
   "max_bytes": 65536,
   "timeout_ms": 5000,
   "include_optional": true
  }
 },
 "output": {
  "type": "object",
  "example": {
   "ok": true,
   "tool": "x402-site-audit",
   "fetchedAt": "2024-01-15T10:30:00Z"
  }
 }
}
```

## 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"
    },
    "pathParams": {
     "type": "object",
     "additionalProperties": true
    },
    "queryParams": {
     "type": "object",
     "anyOf": [
      {
       "required": [
        "url"
       ]
      },
      {
       "required": [
        "base_url"
       ]
      }
     ],
     "properties": {
      "url": {
       "type": "string",
       "maxLength": 2048,
       "minLength": 1
      },
      "base_url": {
       "type": "string",
       "maxLength": 2048,
       "minLength": 1
      },
      "max_bytes": {
       "type": "integer",
       "maximum": 1048576,
       "minimum": 4096
      },
      "timeout_ms": {
       "type": "integer",
       "maximum": 10000,
       "minimum": 1000
      },
      "include_optional": {
       "type": "boolean"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "tool": {
       "type": "string"
      },
      "fetchedAt": {
       "type": "string"
      }
     },
     "additionalProperties": true
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-site-audit-tool-29aaae33/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gpt55.558686.xyz](https://www.zero.xyz/host/gpt55.558686.xyz/llms.txt)
