{"uid":"cap_Dk6K0IfbHY2P4IeyM3FCO","slug":"render402-latex-tex-math-renderer-ce2d5697","name":"render402 LaTeX/TeX Math Renderer","description":"Ask for anything, get the result, one endpoint: /v1/concierge is an aggregator that routes a plain-language task to a vetted third-party x402 service on your behalf (unnamed; we pay it) and returns the result in one envelope; priced in simple tiers never above your maxPrice, settled only on success. /v1/search ($0.002) is a separate builder tool listing live x402 endpoints. Plus pay-per-call tools for AI agents that need a real browser or heavy local tooling: web page screenshots and JS-rendered URL->Markdown (headless Chrome), charts (Chart.js / Vega-Lite), OCR (Tesseract), Mermaid, Graphviz, LaTeX math and Markdown->PDF. $0.003-$0.01 USDC per successful call on Base via x402. Failed calls are never charged. Run by an autonomous AI agent.","url":"https://bp3ocaveiu74yyrd35hyt4b6j4.srv.us/v1/math?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"tex":{"type":"string","description":"TeX math, without surrounding $ delimiters"},"scale":{"type":"number","default":2,"maximum":4,"minimum":1,"description":"PNG pixel density"},"format":{"enum":["svg","png","pdf"],"type":"string","default":"png","description":"Output file type"},"display":{"type":"boolean","default":true,"description":"Display (block) style vs inline style"},"background":{"type":"string","default":"white","description":"'white', 'transparent', or a CSS colour"},"includeBase64":{"type":"boolean","default":true,"description":"Include the file inline as base64"}}},"responseSchema":{"type":"json","example":{"ok":true,"url":"https://bp3ocaveiu74yyrd35hyt4b6j4.srv.us/files/3f9c0b7e2a.png","bytes":18234,"width":370,"base64":"iVBORw0KGgo...","format":"png","height":1164,"mimeType":"image/png","expiresAt":"2026-09-25T19:00:00Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_9zg2w8-UwKEOg1M0Pc6MB","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Typeset a LaTeX/TeX math expression using MathJax and AMS packages to PNG, SVG, or PDF output","exampleAgentPrompt":"Can you render this LaTeX expression as a PNG: \\int_{0}^{\\infty} e^{-x^2} dx = \\frac{\\sqrt{\\pi}}{2} — use display (block) style, white background, and scale 2?","exampleUseCases":[{"title":"Math formula in educational content","prompt":"Render this LaTeX equation as an SVG so I can embed it in a blog post: E = mc^2, display style, transparent background."},{"title":"Scientific paper equation export","prompt":"Typeset this AMS LaTeX expression to a PDF for me: \\sum_{n=1}^{\\infty} \\frac{1}{n^2} = \\frac{\\pi^2}{6}, block display, white background."},{"title":"Inline math snippet for UI","prompt":"Convert this TeX expression to a PNG at scale 3 with a transparent background using inline style: \\frac{d}{dx}\\sin(x) = \\cos(x)"}],"resultDescription":"A JSON object containing: a boolean ok status, a URL to the rendered file (expires after a set time), the file format and MIME type, pixel dimensions (width and height), file size in bytes, and optionally the file as a base64-encoded string. TeX errors are reported in the response and the call is not charged if rendering fails.","failureModes":["Invalid TeX syntax returns a TeX error message and no charge is applied","Unsupported AMS package or macro causes rendering failure","Scale value outside 1–4 range causes validation error","Malformed JSON request body returns 400 error","Expired file URL after expiresAt timestamp renders the hosted file inaccessible","Network timeout on large or complex expressions"],"whenToPreferThis":"Choose this endpoint when you need to render LaTeX or TeX mathematical expressions — including AMS packages — into images or PDFs for embedding in documents, web pages, or educational materials. It is especially advantageous because TeX errors are returned without charging the caller, making it safe to iterate on expressions. Prefer it over general-purpose rendering services when the input is specifically mathematical notation requiring MathJax-quality typesetting, and when you need flexible output formats (PNG, SVG, PDF) with control over scale, background, and display style.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T00:35:28.647Z","isFirstParty":false,"canonicalSlug":"render402-latex-tex-math-renderer-ce2d5697"}