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
3 of 3checks answered this week
191 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/latex/lint
| Category | Code and developer |
|---|---|
| Provider host | tex.x.gl |
| Networks | eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-26 | valid payment request | 402 | $0.002 | 191 ms |
| 2026-11-25 | valid payment request | 402 | $0.002 | 525 ms |
| 2026-11-24 | valid payment request | 402 | $0.002 | 191 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",
"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"
}