# Quartermaster x402 Endpoint Inspector & Linter

> Quartermaster x402 Endpoint Inspector & Linter is a paid API for AI agents from quartermaster.surewhynot.app, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Fetches and decodes the 402 payment challenge from any x402-enabled endpoint, identifies the network and asset, and flags misconfigurations including missing Bazaar discovery metadata.

## Facts

- Endpoint: GET https://quartermaster.surewhynot.app/v1/x402/inspect
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/quartermaster-x402-endpoint-inspector-linter-b493f999
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__ft2wjMR56ZNsV8XSCHzt

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 quartermaster-x402-endpoint-inspector-linter-b493f999
```

Example prompt: Can you inspect and lint the x402 endpoint at https://api.example.com/v1/some-paid-endpoint — decode the 402 challenge, tell me what network and asset it uses, and flag any misconfigurations or missing Bazaar discovery metadata?

## When to prefer this

Use this endpoint when you need to debug, validate, or understand the configuration of a specific x402 paid endpoint — especially when checking for Bazaar discovery compliance or diagnosing payment integration issues. Prefer this over the full audit endpoint when you only need a quick inspect-and-lint pass without deep payment field verification.

## Known failure modes

- Target URL does not return a 402 status — error indicating endpoint is not an x402 paid endpoint
- Target URL is unreachable or times out — network error response
- Malformed 402 response from target — decoding error with details
- Invalid URL format provided — validation error on the url query parameter
- Target endpoint returns unexpected HTTP status — descriptive error message

## How this service works

Inspect and lint any x402 paid endpoint: decodes the 402 payment challenge, names the network and asset, and flags misconfigurations including missing Bazaar discovery metadata.

## Output

Returns a decoded breakdown of the 402 payment challenge from the target endpoint, including the identified network (e.g. Base) and payment asset (e.g. USDC), along with a lint report flagging any misconfigurations such as missing or malformed Bazaar discovery metadata fields.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "format": "uri",
       "description": "Any x402 paid endpoint to inspect and lint"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/quartermaster-x402-endpoint-inspector-linter-b493f999/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from quartermaster.surewhynot.app](https://www.zero.xyz/host/quartermaster.surewhynot.app/llms.txt)
