# HALOWERK x402werk – x402 Route Doctor (Listing Diagnostic)

> HALOWERK x402werk – x402 Route Doctor (Listing Diagnostic) is a paid API for AI agents from x402.halowerk.com, paid per call via x402, $0.1/call, status unknown (last checked 2026-12-02).

Performs a free diagnostic probe of a public x402 payment-gated URL and returns prioritized compliance findings with actionable fixes across 15+ checks.

## Facts

- Endpoint: POST https://x402.halowerk.com/listing/doctor?utm_source=zero.xyz
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/halowerk-x402werk-x402-route-doctor-listing-diagnostic-c6816b72
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_f0DyhLlW_Dyc1eRjfLsWD

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 halowerk-x402werk-x402-route-doctor-listing-diagnostic-c6816b72 -d '<json body>'
```

Example prompt: Can you run a full compliance check on my x402 payment route at https://api.myapp.com/premium-data using POST, and tell me what's broken and how to fix it so it doesn't get delisted from CDP?

## When to prefer this

Use this endpoint when you need a free, non-paying compliance audit of a specific x402 payment-gated URL. It is specifically tailored for the x402 protocol ecosystem and checks against CDP listing requirements, bazaar schema rules, and x402 v2 standards — making it far more targeted than a generic HTTP inspector. Prefer it over manual testing when you want prioritized, actionable fixes before publishing or when investigating delisting risk.

## Known failure modes

- URL is not reachable or returns non-402 response — findings will reflect missing payment challenge
- URL scheme is not https — rejected by input validation
- Provided URL exceeds 2048 character limit — validation error
- x402 route requires a specific request body that wasn't supplied — some checks may be incomplete
- Upstream x402 facilitators are unreachable — facilitator-related checks may be skipped

## How this service works

One unpaid probe of a public https x402 route; returns prioritized findings with fixes: 402 and PAYMENT-REQUIRED, x402 v2, accepts, payTo checksum, resource.url, description limit, bazaar example and schema, header size, /.well-known/x402, llms.txt, openapi, MCP payment form, CDP listing, delisting risk. Never pays.

## Output

A JSON object containing: a summary of counts (errors, warnings, infos, passed checks), an overall verdict (e.g. 'needs_fixes'), a prioritized array of findings each with an id, severity, message, and specific fix recommendation, the current CDP listing status, and a delisting risk assessment indicating the risk level and which findings are blocking the listing.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "pattern": "^https://",
   "maxLength": 2048,
   "minLength": 12,
   "description": "Public https URL of the paid x402 route to diagnose."
  },
  "method": {
   "enum": [
    "POST",
    "GET",
    "HEAD",
    "PUT",
    "PATCH"
   ],
   "type": "string",
   "default": "POST",
   "description": "HTTP method of the paid route."
  },
  "example_body": {
   "type": "object",
   "description": "Optional JSON body for the single unpaid call (body methods only, max 16 KB)."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "summary": {
   "infos": 2,
   "errors": 1,
   "passed": 15,
   "warnings": 1
  },
  "verdict": "needs_fixes",
  "findings": [
   {
    "id": "resource_description",
    "fix": "Cut it to at most 500 characters.",
    "message": "resource.description has 742 characters; limit 500.",
    "priority": 1,
    "severity": "error"
   },
   {
    "id": "header_size",
    "fix": "Trim PAYMENT-REQUIRED.",
    "message": "Response headers total 9120 bytes.",
    "priority": 2,
    "severity": "warning"
   }
  ],
  "cdp_listing": {
   "listed": "no"
  },
  "delisting_risk": {
   "level": "high",
   "blocking_findings": [
    "resource_description"
   ]
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/halowerk-x402werk-x402-route-doctor-listing-diagnostic-c6816b72/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.halowerk.com](https://www.zero.xyz/host/x402.halowerk.com/llms.txt)
