{
  "name": "x402lint",
  "description": "x402lint scans an x402 seller origin end-to-end: 402 challenge validity, accepts[] schema, price integrity, OpenAPI x402 conventions, agent docs surface, robots policy, favicon, and live standing on x402scan and Bazaar. Returns an A-F grade with per-check evidence and one-line fixes. 25 versioned checks, read-only GET/HEAD probes, results cached 24h. Built by the Hexanon fleet, which runs seven live x402 products.",
  "url": "https://api.x402lint.dev",
  "provider": {
    "organization": "x402lint",
    "url": "https://api.x402lint.dev"
  },
  "version": "0.1.0",
  "capabilities": {
    "streaming": false,
    "pushNotifications": false,
    "stateTransitionHistory": false
  },
  "defaultInputModes": [
    "application/json"
  ],
  "defaultOutputModes": [
    "application/json"
  ],
  "endpoints": [
    {
      "method": "GET",
      "path": "/v1/status",
      "params": [
        "url"
      ],
      "priceUsd": 0,
      "description": "Free. Returns whether an origin has been scanned, scan freshness, and the grade summary (grade, score, pass/warn/fail counts) — no per-check findings. Real data from prior scans; full findings require POST /v1/scan."
    },
    {
      "method": "GET",
      "path": "/v1/checks",
      "params": [],
      "priceUsd": 0,
      "description": "Free. High-level summary of the conformance checks x402lint runs, grouped into categories with counts and descriptions. Full per-check findings, evidence, and one-line fixes are delivered in the paid scan result (POST /v1/scan)."
    },
    {
      "method": "POST",
      "path": "/v1/scan",
      "params": [
        "url"
      ],
      "priceUsd": 0.15,
      "description": "Paid ($0.15). Runs all 25 checks against the origin (read-only GET/HEAD probes) or serves a <24h cached result. Returns grade, score, per-check status + evidence + fix instructions, and a shareable report URL. Unreachable/broken origins are a valid graded result (F). 504 processing responses and errors are never charged."
    },
    {
      "method": "GET",
      "path": "/v1/report",
      "params": [
        "url"
      ],
      "priceUsd": 0.02,
      "description": "Paid ($0.02). Returns the full cached scan report (same shape as POST /v1/scan) if a fresh (<24h) result exists; otherwise 404 uncharged with a pointer to POST /v1/scan. Cheap path for agents polling a known origin."
    },
    {
      "method": "GET",
      "path": "/v1/directory",
      "params": [
        "sort",
        "category",
        "verified",
        "q",
        "page",
        "pageSize"
      ],
      "priceUsd": 0,
      "description": "Free. Paginated list of origins x402lint has scanned and graded, with conformance grade, auto-collected UNVERIFIED third-party branding, and ecosystem legitimacy signals. Sort by recency (default) or grade; filter by category, verification, or host substring. A grade measures protocol conformance only and is NOT an endorsement or a safety/legitimacy assessment."
    },
    {
      "method": "GET",
      "path": "/v1/featured",
      "params": [],
      "priceUsd": 0,
      "description": "Free. Origins that scored an A on their most recent scan within the last 30 days, recency-ranked. Featured placement is a free consequence of a recent A-grade scan; it expires 30 days after the scan (re-scan to refresh). Conformance only — NOT an endorsement."
    },
    {
      "method": "GET",
      "path": "/v1/project",
      "params": [
        "host"
      ],
      "priceUsd": 0,
      "description": "Free. The public directory record for one origin (grade, branding, legitimacy signals, verification + featured status). 404 uncharged if the origin is unknown or has opted out."
    },
    {
      "method": "POST",
      "path": "/v1/verify/start",
      "params": [
        "url"
      ],
      "priceUsd": 0,
      "description": "Free. Begin domain-control verification of an origin you operate. Returns a one-time token to place at /.well-known/x402lint-challenge on that origin, then call POST /v1/verify/confirm."
    },
    {
      "method": "POST",
      "path": "/v1/verify/confirm",
      "params": [
        "url"
      ],
      "priceUsd": 0,
      "description": "Free. x402lint fetches /.well-known/x402lint-challenge over HTTPS and, if it matches the unexpired token from /v1/verify/start, marks the origin owner-verified."
    },
    {
      "method": "POST",
      "path": "/v1/listing",
      "params": [
        "url",
        "listed",
        "suppressEnrichment"
      ],
      "priceUsd": 0,
      "description": "Free. For owner-verified origins only (else 403). Opt the origin out of the public directory (listed=false) and/or suppress auto-collected branding (suppressEnrichment=true)."
    }
  ],
  "x402": {
    "version": 2,
    "networks": [
      "eip155:8453"
    ],
    "assets": [
      "USDC"
    ]
  },
  "skills": [
    {
      "id": "scan",
      "name": "Full conformance scan",
      "description": "Paid ($0.15). Runs all 25 checks against the origin (read-only GET/HEAD probes) or serves a <24h cached result. Returns grade, score, per-check status + evidence + fix instructions, and a shareable report URL. Unreachable/broken origins are a valid graded result (F). 504 processing responses and errors are never charged.",
      "priceUsd": 0.15,
      "tags": [
        "x402lint",
        "scan"
      ]
    },
    {
      "id": "report",
      "name": "Cached full report",
      "description": "Paid ($0.02). Returns the full cached scan report (same shape as POST /v1/scan) if a fresh (<24h) result exists; otherwise 404 uncharged with a pointer to POST /v1/scan. Cheap path for agents polling a known origin.",
      "priceUsd": 0.02,
      "tags": [
        "x402lint",
        "report"
      ]
    }
  ],
  "authentication": {
    "schemes": [
      "none",
      "x402"
    ],
    "description": "Free endpoints need no auth. Paid endpoints use the x402 V2 HTTP-402 flow: on an unpaid request the server returns a 402 whose accepts[] lists an exact USDC rail per network. Sign one rail and retry with the PAYMENT-SIGNATURE header (x402 V2) or legacy X-PAYMENT header. Per-call pricing."
  },
  "documentationUrl": "https://api.x402lint.dev/llms.txt",
  "openApiUrl": "https://api.x402lint.dev/openapi.json",
  "termsOfService": "https://api.x402lint.dev/terms.txt"
}
