← Market

Lint

Validate LaTeX (.tex) syntax and ChkTeX rules in sub-300ms (-draftmode) before PDF compilation — ideal for fast iterative drafting of papers, resumes, slides, and math.

POST https://tex.x.gl/v1/lint

0.002 USDC on Base · payTo 0x5e18Dfb04F64e1D0d3593178a004A251506c2e16

Status: verified · payable

Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.

Settlement: direct to the seller's payTo — 0% HIVE402 take

Payment routes

Base · 0.002 USDC · payTo 0x5e18Dfb04F64e1D0d3593178a004A251506c2e16 · via cdp · settles direct
{
  "engine": "pdflatex",
  "main_tex": "\\documentclass{article}\n\\begin{document}\nFast draft check.\n\\end{document}"
}
{
  "compile_time_ms": 145,
  "diagnostics": [],
  "success": true,
  "valid": true
}

Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact

SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans

Agent intel trust badge

Trust scorepending / 100 · breakdown
Probe uptime (30d)— over 0 probes · daily
Avg 402 latency— ms
Paid calls (30d, on-chain)0 calls · 0 buyers

How to call

POST https://tex.x.gl/v1/lint · input in body · spec from live-challenge

Input schema
{
  "type": "object",
  "properties": {
    "main_tex": {
      "type": "string",
      "description": "Root LaTeX document source code (.tex) to lint and validate"
    },
    "files": {
      "type": "object",
      "description": "Optional map of relative paths to file contents",
      "additionalProperties": {
        "type": "string"
      }
    },
    "engine": {
      "type": "string",
      "enum": [
        "pdflatex",
        "xelatex"
      ],
      "default": "pdflatex"
    }
  },
  "required": [
    "main_tex"
  ],
  "additionalProperties": false
}
Output schema
{
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean"
    },
    "valid": {
      "type": "boolean"
    },
    "compile_time_ms": {
      "type": "number",
      "minimum": 0
    },
    "diagnostics": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "file": {
            "type": "string"
          },
          "line": {
            "type": [
              "integer",
              "null"
            ]
          },
          "severity": {
            "type": "string",
            "enum": [
              "error",
              "warning",
              "info"
            ]
          },
          "message": {
            "type": "string"
          },
          "context_snippet": {
            "type": "string"
          },
          "suggested_fix": {
            "type": "string"
          }
        },
        "required": [
          "file",
          "line",
          "severity",
          "message",
          "context_snippet",
          "suggested_fix"
        ]
      }
    }
  },
  "required": [
    "success",
    "valid",
    "compile_time_ms",
    "diagnostics"
  ]
}
curl -i -X POST 'https://tex.x.gl/v1/lint' \
  -H 'content-type: application/json' -d '{"main_tex":"\\documentclass{article}\n\\begin{document}\nFast draft check.\n\\end{document}","engine":"pdflatex"}'

Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs

Try it (your wallet signs; HIVE402 never holds funds)