# X402 Doctor – Endpoint Diagnostic

> X402 Doctor – Endpoint Diagnostic is a paid API for AI agents from doctor.promoclube.online, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Runs a full x402 protocol diagnostic on a target HTTP endpoint and returns structured JSON describing its payment requirements and compatibility.

## Facts

- Endpoint: POST https://doctor.promoclube.online/diagnose
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-doctor-endpoint-diagnostic-02a064a2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aun_9YDny8I-dYNQNUuLf

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-doctor-endpoint-diagnostic-02a064a2 -d '<json body>'
```

Example prompt: Before I spend anything, can you diagnose https://api.example.com/generate and tell me exactly what x402 payment it expects — the price, currency, facilitator, and whether it's compatible?

## When to prefer this

Use this endpoint when an AI agent needs to inspect an unknown or untrusted HTTP endpoint for x402 payment compatibility before committing funds. Ideal as a pre-flight step in agentic payment workflows to avoid failed or wasted USDC transactions. Prefer this over blind calling when the payment amount, facilitator, or currency of a target endpoint is unknown.

## Known failure modes

- Target URL is unreachable or times out — diagnostic cannot be completed
- Target URL does not return a 402 response — not an x402 endpoint
- Malformed or non-URI input returns a validation error
- Target endpoint has misconfigured x402 headers — partial or ambiguous diagnostic returned
- Rate limiting or network errors from the target endpoint may affect results

## How this service works

Full paid x402 diagnostic JSON for a target endpoint.

## Output

Returns a structured JSON object containing the full x402 diagnostic for the target endpoint, including payment amount, accepted currency (e.g. USDC), payment facilitator, network, supported schemes, and protocol compliance status.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "format": "uri",
   "description": "Public HTTP(S) endpoint to inspect before spending on it."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-doctor-endpoint-diagnostic-02a064a2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from doctor.promoclube.online](https://www.zero.xyz/host/doctor.promoclube.online/llms.txt)
