# x402-tools PurposeLen Diagnostics Endpoint

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

Returns a paid JSON diagnostic payload for the 'purposelen' SKU via the x402 HTTP payment protocol, gated by a $0.02 USDC micropayment.

## Facts

- Endpoint: GET https://openclawproductions.com/api/v1/purposelen?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-tools-purposelen-diagnostics-endpoint-e93e7b70
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9kstbTGF8aT0-q6wEtPe1

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-purposelen-diagnostics-endpoint-e93e7b70
```

Example prompt: Run a paid x402 diagnostic probe against the purposelen SKU at openclawproductions.com using a GET request and show me what the paid JSON response looks like.

## When to prefer this

Use this endpoint when you need to test, diagnose, or validate x402 HTTP micropayment flows specifically for the 'purposelen' SKU via the OpenX402 facilitator. It is useful for developers integrating x402 payment gating into their own APIs, verifying eip3009 extras on 402 responses, or confirming that a paid endpoint returns the correct JSON shape after settlement.

## Known failure modes

- HTTP 402 returned if payment is not provided or facilitator is not OpenX402
- Invalid method (POST, PUT, etc.) will be rejected — only GET, HEAD, DELETE are accepted
- Missing required 'input.type' or 'input.method' fields cause validation errors
- Non-OpenX402 facilitators are not accepted, causing payment rejection
- Malformed origin URL query parameter may cause unexpected behavior

## How this service works

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

## Output

A JSON object containing the SKU identifier ('purposelen'), a human-readable title ('Purpose Len'), the price ('$0.02'), and a diagnostic note confirming it is a paid JSON shape. Unpaid requests receive HTTP 402 with EIP-3009 payment extras instead.

## 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": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "origin": {
       "type": "string",
       "description": "Public origin URL. Defaults to https://openclawproductions.com."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  },
  "inputSchema": {
   "type": "object",
   "required": [
    "type",
    "properties"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "object"
    },
    "required": {
     "type": "array",
     "items": {
      "type": "string"
     }
    },
    "properties": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "sku": "purposelen",
  "note": "Example paid JSON shape. Not a live settle.",
  "price": "$0.02",
  "title": "Purpose Len"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-tools-purposelen-diagnostics-endpoint-e93e7b70/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)
