{
  "x402Version": 2,
  "id": 8246,
  "slug": "8246",
  "resource": "https://x402-api-catalog.onrender.com/api/x402-doctor",
  "description": "Audits another x402 service for the exact failure modes that cause aggregators (agent-tools.cloud, x402scan, Bazaar) to mark it 'down' or make its 402 challenge unreadable: missing/invalid /.well-known/x402 descriptor, an unpaid request returning 500/404 instead of a clean 402, a malformed or missing payment-required challenge, and drift between the descriptor's advertised terms and the live challenge. Returns a concrete diagnosis and fix for each failing check, not just pass/fail.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x9041f8a43D0B43209B9227DE2c7fb25c9FE3847E",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "path": "/api/some-paid-endpoint",
            "url": "https://example-service.onrender.com"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "checks": [],
            "fixes": [],
            "score": 40,
            "url": "https://example-service.onrender.com",
            "verdict": "broken: aggregators will show this as down"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET",
                  "HEAD",
                  "DELETE"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "path": {
                    "description": "a specific paid endpoint path to probe; omit to auto-discover from the service's /.well-known/x402",
                    "type": "string"
                  },
                  "url": {
                    "description": "base URL of the x402 service to audit",
                    "type": "string"
                  }
                },
                "required": [
                  "url"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "score": {
                    "type": "number"
                  },
                  "url": {
                    "type": "string"
                  },
                  "verdict": {
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "x402-api-catalog.onrender.com",
  "lastUpdated": "2026-09-07T18:04:47Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-07T18:04:46.765Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402-api-catalog.onrender.com",
    "manifest_name": "x402-api-catalog.onrender.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}