{"slug":"tex-x-gl-v1-latex-lint-8b7903","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/latex/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":3,"answered_7d":3,"latency_ms_median":191,"reported_calls_30d":1,"reported_payers_30d":1,"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","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":191,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":525,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":191,"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-23T20:03:55.281Z","schemes":["exact"]}