# x402 Doctor — CDP Bazaar v2 Compliance Grader

> x402 Doctor — CDP Bazaar v2 Compliance Grader is a paid API for AI agents from secondeyesai.com, paid per call via x402, $0.250000/call, status unknown (last checked 2026-09-14).

Grades an x402 402-response payload for CDP Bazaar v2 indexing compliance and returns the exact corrected payload.

## Facts

- Endpoint: GET https://secondeyesai.com/api/bar/x402/doctor
- Price: $0.250000/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/secondeyesai-com-db3b9931
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_x6c11J6XDsdH7LhuFNT9j

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 secondeyesai-com-db3b9931
```

Example prompt: Can you grade my x402 402 response and tell me if it's compliant with CDP Bazaar v2 indexing — and give me the exact corrected payload if something is wrong?

## When to prefer this

Use this endpoint when you have an x402 endpoint that is not being indexed on CDP Bazaar v2 and need to understand exactly what is wrong with the 402 response and get a drop-in corrected payload. Prefer this over the bazaar-index-check sibling endpoint when you already suspect a format problem and need actionable corrections rather than just a yes/no index status.

## Known failure modes

- Missing or malformed input object returns validation error
- Non-GET method specified returns rejection
- Payload too malformed to parse results in grading failure
- Service unavailable if x402 payment not completed
- Invalid x402 response structure may return partial grade with limited correction

## How this service works

x402-doctor: grade any x402 402 response for CDP Bazaar v2 indexing compliance and return the exact corrected payload.

## Output

Returns a compliance grade for the submitted x402 402-response, identifies any formatting or structural issues preventing CDP Bazaar v2 indexing, and provides the exact corrected payload that would pass indexing requirements.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "tool": "x402-doctor",
  "grade": "F",
  "score": 42,
  "summary": "This is x402 v1 ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â it will not index on the Bazaar. Apply the corrected payload, redeploy, then settle one payment.",
  "version": 1,
  "corrected": {
   "accepts": [
    {
     "scheme": "exact",
     "network": "eip155:8453"
    }
   ],
   "x402Version": 2
  },
  "indexable": false,
  "criticalCount": 3
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/secondeyesai-com-db3b9931/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from secondeyesai.com](https://www.zero.xyz/host/secondeyesai.com/llms.txt)
