# x402 Client Self-Test (ping-402)

> x402 Client Self-Test (ping-402) is a paid API for AI agents from llmrt-companion.manhliemcn4euwlu.workers.dev, paid per call via x402, $0.000479/call, status unknown (last checked 2026-11-11).

Validates that an x402 client can correctly perform the 402 payment challenge, sign a payment, and settle — with no upstream dependency so failures indicate client-side issues.

## Facts

- Endpoint: GET https://llmrt-companion.manhliemcn4euwlu.workers.dev/ping-402?utm_source=zero.xyz
- Price: $0.000479/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-client-self-test-ping-402-62833312
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9zfk_gabNxeeaDRDLZbcD

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-client-self-test-ping-402-62833312
```

Example prompt: Run the x402 ping self-test with order ID 'test-001' to confirm my payment signing and settlement pipeline is working end-to-end.

## When to prefer this

Use this endpoint as the first call when integrating or debugging an x402 payment client. Because it has no upstream dependencies, any failure definitively points to your client rather than a remote service. It is the cheapest paid endpoint on this seller, minimising cost during testing. Prefer it over other paid endpoints for initial integration validation, CI smoke tests, or whenever you need an on-chain settlement proof without triggering a real workload.

## Known failure modes

- Payment signing failure: client key or signature format is incorrect — endpoint returns a 402 or 4xx error indicating client-side auth problem
- Settlement failure: USDC balance insufficient to cover the $0.000506 per-call fee
- Invalid order_id: missing or malformed query parameter causes request rejection
- Network/timeout issues: Cloudflare Worker unavailable (rare given no upstream dependency)
- Wrong HTTP method: only GET, HEAD, DELETE are accepted

## How this service works

Free LLM agent security review: paste your system prompt, get a ~35s report with live jailbreak/injection/extraction probes plus a static audit of which guardrails your spec is missing. No signup.

## Output

Returns a JSON object with: `ok` (boolean success flag), `sha256` (hash of the artifact delivered), `block_hash` (Nano on-chain proof of payment settlement), and `download_url` (token-authenticated URL to retrieve the artifact). A successful response proves the full x402 payment lifecycle — challenge, signing, and settlement — completed correctly.

## 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",
     "required": [],
     "properties": {
      "order_id": {
       "type": "string"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "sha256": "<artifact sha256>",
  "block_hash": "<nano block hash on-chain proof>",
  "download_url": "https://llmrt-companion.manhliemcn4euwlu.workers.dev/ping-402/dl/<token>"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-client-self-test-ping-402-62833312/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from llmrt-companion.manhliemcn4euwlu.workers.dev](https://www.zero.xyz/host/llmrt-companion.manhliemcn4euwlu.workers.dev/llms.txt)
