Public API

TEX-api

Preview, screenshot, PDF rendering and developer utility endpoints by TEXploder.

Base URL
https://tex-api.com/v1
Auth
Optional Bearer
Renderers
Chromium + TeX
request
curl https://tex-api.com/v1/render/markdown/pdf \
  -H "Content-Type: application/json" \
  -d '{
    "content": "# TEXploder report\n\nRender me.",
    "filename": "report"
  }'

Examples

Start with plain requests.

01

Create a preview

POST /v1/preview
{
  "url": "https://example.com",
  "width": 1440,
  "height": 900
}
02

Use a utility

POST /v1/utils/hash
{
  "text": "hello",
  "algorithms": [
    "sha256",
    "sha512"
  ]
}
03

Render PDF

POST /v1/render/pdf
{
  "type": "html",
  "content": "<h1>Hello TEX</h1>"
}

Endpoints

Small surface, predictable names.

POST /v1/screenshot

Render a public URL or HTML snippet to PNG or PDF.

POST /v1/preview

Shortcut for a PNG preview.

POST /v1/render/pdf

Generate PDF from Markdown, HTML, LaTeX or limited XAML.

POST /v1/utils/{tool}

Hash, encode, decode, sign, diff, format and convert data.

GET /v1/tools

Read the developer utility catalog.

GET /v1/results/{file}

Download generated previews and PDFs.

Status

API and landing page live.

/v1 ready