Pressa Render API

Render a stored template with JSON data.

GitHub OpenAPI

Operations 1

POST /api/v2/templates/{id}/render Render a placeholder template with JSON data #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/pressa-dev:pressa-dev-render-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

pressa-dev-render-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Pressa Render API
  version: 1.5.0
  summary: Compile LaTeX into publication-quality PDFs over HTTP.
  description: 'Pressa is document infrastructure for AI agents. Send LaTeX source, receive a PDF URL.


    POST /api/v1/compile works with NO credentials, 3 successful compilations per day per IP. Failed compilations do not consume that quota, so an agent may iterate on its LaTeX until it compiles. Every other endpoint requires an API key.


    Pressa is a LaTeX compiler, not a text-to-PDF converter. Callers are expected to convert markdown, plain text or structured data into LaTeX themselves. Compilation failures return a `diagnosis` object with a concrete suggested fix so a caller can correct the source and retry without human involvement.'
  contact:
    url: https://pressa.dev
  license:
    name: Proprietary
    url: https://pressa.dev/terms
servers:
- url: https://api.pressa.dev
  description: Production
tags:
- name: render
  description: Render a stored template with JSON data.
paths:
  /api/v2/templates/{id}/render:
    post:
      tags:
      - render
      operationId: renderTemplate
      summary: Render a placeholder template with JSON data
      description: Requires a paid plan and a V2 (placeholder-aware) template. Placeholders use Liquid syntax, for example {{ customer_name }}. The whole call is capped at 60 seconds.
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: Numeric template id or template name.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - data
              properties:
                data:
                  type: object
                  description: Values for the template's placeholders, keyed by placeholder name.
                  additionalProperties: true
            example:
              data:
                customer_name: Acme Ltd
                invoice_total: '1240.00'
      responses:
        '200':
          description: PDF rendered. Same shape as compile, plus a `template` block with id, name and version.
        '401':
          description: Missing or invalid API key.
        '403':
          description: '`plan_required` - render is a paid feature.'
        '404':
          description: No such template for this account.
        '422':
          description: '`template_engine_mismatch` (convert the template with POST /api/v2/templates/{id}/promote), missing required placeholder data, or compilation failure.'
        '429':
          description: Monthly quota or per-minute render limit exceeded.
        '504':
          description: The render exceeded the 60 second wall clock.
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Authorization: Bearer pressa_...'
    apiKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key