{"slug":"tex-x-gl-v1-lint-061da3","title":"Validate LaTeX (.tex) syntax and ChkTeX rules in sub-300ms (-draftmode) before P","host":"tex.x.gl","method":"POST","resource":"https://tex.x.gl/v1/lint","category":"code","description":"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.","price_listed":0.002,"price_asked":0.002,"state":"answering","state_label":"Answering","checks_7d":6,"answered_7d":6,"latency_ms_median":774,"reported_calls_30d":12,"reported_payers_30d":6,"networks":["eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"engine":"pdflatex","main_tex":"\\documentclass{article}\n\\begin{document}\nFast draft check.\n\\end{document}"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$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"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":1168,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":532,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":788,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":783,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":765,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":507,"error":null}],"description_full":"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.","last_updated":"2026-11-24T10:31:07.965Z","schemes":["exact"]}