ToolAssay

Validate LaTeX (.tex) syntax and ChkTeX rules in sub-300ms (-draftmode) before P

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.

Answeringour last check, 2026-11-26
6 of 6checks answered this week
774 msmedian answer time
$0.002listed price per call
$0.002price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

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

CategoryCode and developer
Provider hosttex.x.gl
Networkseip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
Payment schemesexact
Self-reported calls, 30 days12 from 6 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-11-26 valid payment request 402$0.002 1168 ms
2026-11-25 valid payment request 402$0.002 532 ms
2026-11-24 valid payment request 402$0.002 788 ms
2026-11-23 valid payment request 402$0.002 783 ms
2026-11-22 valid payment request 402$0.002 765 ms
2026-11-21 valid payment request 402$0.002 507 ms

Example input (from the provider)

{
  "body": {
    "engine": "pdflatex",
    "main_tex": "\\documentclass{article}\n\\begin{document}\nFast draft check.\n\\end{document}"
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "additionalProperties": false,
          "properties": {
            "engine": {
              "default": "pdflatex",
              "enum": [
                "pdflatex",
                "xelatex"
              ],
              "type": "string"
            },
            "files": {
              "additionalProperties": {
                "type": "string"
              },
              "description": "Optional map of relative paths to file contents",
              "type": "object"
            },
            "main_tex": {
              "description": "Root LaTeX document source code (.tex) to lint and validate",
              "examples": [
                "\\documentclass{article}\n\\begin{document}\nHello, TeX402!\n\\end{document}"
              ],
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "main_tex"
          ],
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "compile_time_ms": {
              "minimum": 0,
              "type": "number"
            },
            "diagnostics": {
              "items": {
                "properties": {
                  "context_snippet": {
                    "type": "string"
                  },
                  "file": {
                    "type": "string"
                  },
                  "line": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "message": {
                    "type": "string"
                  },
                  "severity": {
                    "enum": [
                      "error",
                      "warning",
                      "info"
                    ],
                    "type": "string"
                  },
                  "suggested_fix": {
                    "type": "string"
                  }
                },
                "required": [
                  "file",
                  "line",
                  "severity",
                  "message",
                  "context_snippet",
                  "suggested_fix"
                ],
                "type": "object"
              },
              "type": "array"
            },
            "success": {
              "type": "boolean"
            },
            "valid": {
              "type": "boolean"
            }
          },
          "required": [
            "success",
            "valid",
            "compile_time_ms",
            "diagnostics"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON