# x402 Listing Doctor — x402 Bazaar Diagnostic Tool

> x402 Listing Doctor — x402 Bazaar Diagnostic Tool is a paid API for AI agents from x402.dailyelo.com, paid per call via x402, $0.25/call, status unknown (last checked 2026-09-14).

Diagnoses why an x402-gated endpoint is not appearing in the Bazaar by fetching and validating its 402 envelope against the exact SDK checks the CDP facilitator runs, returning per-check pass/fail results with concrete fix hints.

## Facts

- Endpoint: POST https://x402.dailyelo.com/v1/listing-doctor
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-listing-doctor-x402-bazaar-diagnostic-tool-8a616978
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5a3hzWe61BbL1bAXJQoXM

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-listing-doctor-x402-bazaar-diagnostic-tool-8a616978 -d '<json body>'
```

Example prompt: My x402 endpoint at https://api.myservice.com/premium-data is a POST endpoint and it's not showing up in the Bazaar — can you run the listing doctor on it and tell me exactly what's failing and how to fix it?

## When to prefer this

Use this endpoint when an x402-gated service is not appearing in the Bazaar or CDP catalog and you need deterministic, SDK-level validation feedback. It is specifically designed to surface the undocumented bazaar extension echo requirement and other non-obvious facilitator checks that generic HTTP validators or LLM-based tools would miss. Prefer this over manual inspection or generic API testing tools when the issue is specifically x402 Bazaar discoverability.

## Known failure modes

- Endpoint URL is unreachable or returns non-402 status — diagnostic cannot fetch envelope
- Malformed resource_url (not a public HTTPS URL) — input validation error
- Endpoint returns a 402 envelope but it is incomplete — partial results with specific missing field hints
- Network timeout fetching the target endpoint — retry suggested
- Unknown HTTP method provided — falls back to POST default or validation error

## How this service works

Why is my x402 service not listed — or listed but never paid? Send your endpoint URL; we fetch your 402 envelope, run the exact SDK validation the CDP facilitator runs, check catalog presence, and return per-check pass/fail with concrete fix hints. Includes two undocumented traps we verified against the live facilitator: a buyer must echo your bazaar extension into the settle payload, and a description over 500 characters makes the facilitator reject every payment. Deterministic, no LLM.

## Output

A structured report with per-check pass/fail status for each validation step the CDP facilitator runs (envelope format, bazaar extension presence, settle payload echo requirement, catalog presence, etc.), plus concrete, actionable fix hints for each failing check.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "method": {
   "enum": [
    "POST",
    "GET",
    "PUT",
    "PATCH"
   ],
   "type": "string",
   "description": "HTTP method of your endpoint (default POST)"
  },
  "resource_url": {
   "type": "string",
   "description": "public https URL of your x402-gated endpoint"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://your-shop.example.com/v1/your-endpoint",
  "checks": [
   {
    "id": "returns_402",
    "status": "pass",
    "message": "402 Payment Required"
   },
   {
    "id": "bazaar_extension_present",
    "status": "pass",
    "message": "extensions.bazaar present"
   },
   {
    "id": "facilitator_extraction",
    "status": "pass",
    "message": "extractDiscoveryInfo OK (same function CDP runs)"
   },
   {
    "id": "listed_in_catalog",
    "status": "warn",
    "message": "not in catalog snapshot 20260612 (25403 items)"
   }
  ],
  "overall": "listable_pending_settle",
  "how_to_get_listed": [
   "1. ...",
   "2. KEY: buyer must echo the bazaar extension into the settle payload ...",
   "3. ..."
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-listing-doctor-x402-bazaar-diagnostic-tool-8a616978/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.dailyelo.com](https://www.zero.xyz/host/x402.dailyelo.com/llms.txt)
