# 10x402 Lint

> 10x402 Lint is a paid API for AI agents from 10x402.com, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-13).

Analyzes a published HTTP 402 endpoint for response-level blockers that prevent it from appearing in the Bazaar marketplace, returning a graded report with actionable fixes for each finding.

## Facts

- Endpoint: POST https://10x402.com/lint
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/10x402-lint-b3331ac9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DRtMx5-Y3cROnytfauFFr

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 10x402-lint-b3331ac9 -d '<json body>'
```

Example prompt: Can you lint my x402 endpoint at https://myapi.example.com/data and tell me why it's not showing up in Bazaar — I need a full grade and the list of blockers with fixes.

## When to prefer this

Use this endpoint specifically when a 402-enabled service already passes basic validation but is not appearing in or being indexed by the Bazaar marketplace. It performs deep response-level analysis (72+ checks) to surface hidden blockers, misconfigured payTo addresses, unsupported networks, or version mismatches that simpler validators miss.

## Known failure modes

- Invalid or unreachable URL returns an error or incomplete findings
- Target endpoint does not respond with a 402 status, resulting in no payment header to analyze
- Malformed JSON body (missing required 'url' field) returns a 400-level error
- Target endpoint behind authentication or IP restrictions may return inaccessible results
- Body exceeding 256 KB limit is rejected

## How this service works

Find conformance blockers to x402 indexing and payment on a live endpoint

## Output

A JSON lint report containing: a letter grade (e.g. 'A'), a summary object with detected x402 versions, payTo address, network, price, and a bazaar_ready boolean, an array of findings with details and fixes for each issue, and a count of total checks run.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "string",
     "maxLength": 262144,
     "description": "a JSON object: { \"url\": \"https://…\" } and optionally { \"method\": \"POST\" | \"GET\" }, default POST, up to 256 KB"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "const": "POST"
    },
    "bodyType": {
     "type": "string",
     "const": "text"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "format"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "text"
    },
    "format": {
     "type": "string",
     "const": "application/json",
     "description": "a JSON lint report: grade, summary, findings[] and checks_run"
    },
    "example": {
     "type": "string",
     "description": "the sample request body above, actually run through this endpoint — or, when that run is larger than a response header should carry, an object naming its size and the free URL it is published at in full"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "text",
 "format": "application/json",
 "example": "{\"grade\":\"A\",\"summary\":{\"versions_detected\":[1,2],\"payTo\":\"0x0adc7adac7bbaffffbd73505711e42378c4f9f9e\",\"network\":\"eip155:8453\",\"price\":\"$0.001 (1000 atomic)\",\"bazaar_ready\":true,\"blockers\":[]},\"findings\":[],\"checks_run\":72}"
}
```

## More

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