ToolAssay

Compile LaTeX (.tex) documents — resumes, CVs, arXiv papers, Beamer slide decks,

Compile LaTeX (.tex) documents — resumes, CVs, arXiv papers, Beamer slide decks, technical reports, invoices, and TikZ diagrams — inside a hardened networkless TeX Live container, returning base64 PDF, 150-DPI PNG page previews, and structured diagnostics.

Answeringour last check, 2026-11-26
3 of 3checks answered this week
214 msmedian answer time
$0.008listed price per call
$0.008price 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/pdf/latex

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

Our checks, last 30 days

DayResultHTTPAskedTime
2026-11-26 valid payment request 402$0.008 182 ms
2026-11-25 valid payment request 402$0.008 214 ms
2026-11-24 valid payment request 402$0.008 519 ms

Example input (from the provider)

{
  "body": {
    "bibliography": false,
    "engine": "pdflatex",
    "files": {
      "refs.bib": "@article{knuth1984,\n  author = {Donald E. Knuth},\n  title = {Literate Programming},\n  journal = {The Computer Journal},\n  year = {1984}\n}"
    },
    "include_page_previews": true,
    "main_tex": "\\documentclass{article}\n\\begin{document}\nHello, TeX402!\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": {
            "bibliography": {
              "default": false,
              "description": "Run multi-pass biber/bibtex bibliography compilation when true",
              "type": "boolean"
            },
            "engine": {
              "default": "pdflatex",
              "description": "TeX engine used for compilation",
              "enum": [
                "pdflatex",
                "xelatex"
              ],
              "type": "string"
            },
            "files": {
              "additionalProperties": {
                "type": "string"
              },
              "description": "Optional map of safe relative file paths (e.g. refs.bib, style.sty, fig.png) to UTF-8 strings or base64:... payloads",
              "type": "object"
            },
            "include_page_previews": {
              "default": false,
              "description": "Render 150-DPI PNG page previews via pdftoppm as base64 strings",
              "type": "boolean"
            },
            "main_tex": {
              "description": "Root LaTeX document source code (.tex)",
              "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"
            },
            "download_expires_at": {
              "description": "ISO-8601 UTC expiration timestamp for download_url.",
              "type": [
                "string",
                "null"
              ]
            },
            "download_url": {
              "description": "Short-lived 15-minute capability URL to download the rendered PDF binary directly (null on failure).",
              "type": [
                "string",
                "null"
              ]
            },
            "page_count": {
              "minimum": 0,
              "type": "integer"
            },
            "page_previews_base64": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "pdf_base64": {
              "type": [
                "string",
                "null"
              ]
            },
            "success": {
              "type": "boolean"
            }
          },
          "required": [
            "success",
            "pdf_base64",
            "page_count",
            "page_previews_base64",
            "compile_time_ms",
            "diagnostics"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON