# x402-tools Localhost Trap Diagnostic

> x402-tools Localhost Trap Diagnostic is a paid API for AI agents from openclawproductions.com, paid per call via x402, $0.08/call, status unknown (last checked 2026-10-10).

Returns a paid example JSON diagnostic payload for the 'localhosttrap' SKU, demonstrating the x402 HTTP payment protocol flow with EIP-3009 extras via OpenX402 facilitator.

## Facts

- Endpoint: GET https://openclawproductions.com/api/v1/localhosttrap?utm_source=zero.xyz
- Price: $0.08/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-tools-localhost-trap-diagnostic-c5b4a9a5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kVFFzLQM99XIr9Gj-DJTN

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-localhost-trap-diagnostic-c5b4a9a5
```

Example prompt: Run the x402 localhosttrap diagnostic against the OpenX402 facilitator and show me what the paid JSON response looks like — I want to confirm the EIP-3009 payment flow is working end to end.

## When to prefer this

Choose this endpoint when you need to test, debug, or demonstrate the x402 HTTP payment protocol flow end-to-end using the OpenX402 facilitator. Ideal for developers validating EIP-3009 payment gating, confirming micropayment infrastructure is operational, or exploring what a real x402 paid API response looks like with a minimal $0.08 USDC cost.

## Known failure modes

- HTTP 402 returned when payment is missing or insufficient — includes EIP-3009 extras specifying payment requirements
- Invalid or malformed payment token results in payment rejection
- OpenX402 facilitator unavailability causes endpoint to be unreachable
- Malformed 'properties' input string may produce unexpected behavior

## How this service works

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

## Output

Returns a JSON object containing: SKU name ('localhosttrap'), a diagnostic note confirming the paid response shape, the price ($0.08), and a human-readable title ('Localhost Trap'). Unpaid requests return HTTP 402 with EIP-3009 payment extras indicating the required USDC payment.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "sku": "localhosttrap",
  "note": "Example paid JSON shape. Not a live settle.",
  "price": "$0.08",
  "title": "Localhost Trap"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-tools-localhost-trap-diagnostic-c5b4a9a5/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)
