# x402-tools AuthSpend Diagnostics

> x402-tools AuthSpend Diagnostics is a paid API for AI agents from openclawproductions.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-11-20).

Runs paid x402 protocol diagnostics on HTTP request payloads, returning diagnostic results after micropayment authorization via EIP-3009; unpaid calls return HTTP 402 with payment challenge details.

## Facts

- Endpoint: POST https://openclawproductions.com/api/v1/authspend?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-tools-authspend-diagnostics-f781352b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_R2z3fDbTdUyTO9fVq9Db0

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-tools-authspend-diagnostics-f781352b -d '<json body>'
```

Example prompt: Run an x402 diagnostic on a POST request to my API endpoint — check whether the payment challenge and EIP-3009 extras come back correctly when the call is unpaid, using OpenX402 as the facilitator.

## When to prefer this

Choose this endpoint when you need to test or diagnose x402 protocol compliance, specifically to verify that an API correctly implements HTTP 402 payment challenges with EIP-3009 extras via the OpenX402 facilitator. Prefer this over general HTTP testing tools when the focus is on Web3 micropayment gating validation.

## Known failure modes

- Unpaid request returns HTTP 402 with EIP-3009 payment challenge — expected behavior, not an error
- Invalid input schema causes request rejection
- Unsupported HTTP method (not GET, HEAD, DELETE, or POST) returns validation error
- Facilitator mismatch — only OpenX402 is supported; other facilitators will not work
- Missing required 'type' or 'method' fields in input object cause schema validation failure

## How this service works

Paid x402 diagnostics. Unpaid paid-SKU requests return HTTP 402 with eip3009 extras. Facilitator: OpenX402 only.

## Output

Returns diagnostic output describing whether the x402 payment flow is correctly implemented, including inspection of HTTP 402 responses, EIP-3009 payment challenge extras, and the output schema example. Unpaid requests to this endpoint itself return a 402 with payment challenge details as part of the diagnostic experience.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "body": {
     "type": "object"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE",
      "POST"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object"
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  },
  "inputSchema": {
   "type": "object"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-tools-authspend-diagnostics-f781352b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from openclawproductions.com](https://www.zero.xyz/host/openclawproductions.com/llms.txt)
